Compiler bug? (alias sth this; and std.signals)
Maxim Fomin
maxim at maxim-fomin.ru
Tue Nov 13 08:24:21 PST 2012
The third version using dmd 2.060 linux crashes. Valgrind shows
lots of errors (other two are clean) relating to corrupted heap
caused likely here
(https://github.com/D-Programming-Language/phobos/blob/master/std/signals.d#L248)
which is not surprising judging by semi-manual memory management
in __dtor. I guess either you are abusing library feature or
found a bug. Consider posting this to Bugzilla.
More information about the Digitalmars-d
mailing list