Hi everybody,
something strange is going on:
trying compiling and running my code after an update to 2.072, I get a not very instructive segmentation fault (code -11).

Setted up a debugger in Visual Studio Code, I managed to find out the last accessible code point before the error. And this is inside
.../dmd/2.072.0/include/dlang/dmd/core/atomic.d
line 657,
at the declaration of
private HeadUnshared!(T) atomicFetchAdd(T, V1)

Indeed, this file was changed, compared to the last version (2.071.2)

1. I'm not sure, how the changes can affect the problem at all... However, as I can see, most of the changes were due to removing @trusted and @safe tags.

2. I'm aware, that the info I provided, is insufficient. But I have some difficulties to set a debugger properly on a mac... so just give me a hint how to get more information about the problem...

3. Compiling with LDC
    ldc2 --version
    LDC - the LLVM D compiler (3461e0):
    based on DMD v2.070.2 and LLVM 3.9.0
    built with LDC - the LLVM D compiler (3461e0)
    Default target: x86_64-apple-darwin16.1.0
    Host CPU: haswell
does not give the same behavior, as my code runs without any problem

Thanks for help :)
Alex

Reply via email to