Who here actually uses D?
Adam D. Ruppe
destructionator at gmail.com
Sat Jan 1 16:29:03 PST 2011
Son of a bitch!
$ dmd html.d dom.d
/usr/bin32/dmd: line 3: 32183 Segmentation fault /lib/ld-linux.so.2
/home/me/d/dmd2/linux/bin/dmd $*
Ironically that I'd hit my first dmd segfault for quite a while
shortly after making a post saying these things are quite rare.
The line at fault:
vars[name] = source;
context:
Variant[string] vars;
string name, source;
Workaround:
Variant v = source;
vars[name] = v;
A trivially easy workaround, but the timing is deliciously ironic.
More information about the Digitalmars-d
mailing list