yet another segfault - array out of bound is not caught by try catch

russhy russhy at gmail.com
Sat Sep 18 14:52:31 UTC 2021


Double check in your dub.json file and see if you haven't changed 
your buildoptions


DEBUG:

it's caught: https://run.dlang.io/is/F8HkD8


RELEASE:

segfault as expected: https://run.dlang.io/is/oLU2M3


And make sure to use latest version of ldc


More information about the Digitalmars-d-learn mailing list