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.

Reply via email to