Using the latest built dmd/phobos/druntime code from git I get a compiler core dump:
Core was generated by `dmd -I../.. -g -debug -od../.obj -of../.obj/variant common.d variant.d ../teg/s'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004f7a2f in TemplateMixin::hasPointers() ()
(gdb) bt
#0 0x00000000004f7a2f in TemplateMixin::hasPointers() ()
#1 0x000000000050cc0e in ClassDeclaration::toObjFile(int) ()
#2 0x00000000004a024f in Module::genobjfile(int) ()
#3 0x0000000000403c4f in main ()
I'm trying to build a minimal test case. dmd 2.047 has other compilation segfaults affecting my code, I'm a little worried I'll never be able to build my code with any D compiler above 2.046 again ;)
Comment #1 by dlang — 2012-01-28T10:41:17Z
Sorry meant 2.056.
I fixed it... have a patch.
Comment #2 by dlang — 2012-01-28T10:42:42Z
Created attachment 1070
Fixes this bug entirely... dereference of null.
Comment #3 by github-bugzilla — 2012-01-28T12:49:33Z