[Issue 7031] Stack overflow with immutable recursive struct
https://issues.dlang.org/show_bug.cgi?id=7031 Andrei Alexandrescu changed: What|Removed |Added Version|D1 & D2 |D2 --
[Issue 7031] Stack overflow with immutable recursive struct
http://d.puremagic.com/issues/show_bug.cgi?id=7031 klickverbot changed: What|Removed |Added Status|NEW |RESOLVED CC||c...@klickverbot.at Resolution||DUPLICATE --- Comment #3 from klickverbot 2011-12-19 10:08:35 PST --- *** This issue has been marked as a duplicate of issue 7127 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7031] Stack overflow with immutable recursive struct
http://d.puremagic.com/issues/show_bug.cgi?id=7031 --- Comment #2 from Trass3r 2011-11-29 13:06:43 PST --- Maybe related to http://d.puremagic.com/issues/show_bug.cgi?id=5533 Recursion is in dwarf_typidx: Program received signal SIGSEGV, Segmentation fault. 0x00493788 in dwarf_typidx (t=Cannot access memory at address 0x7f7feed8 ) at backend/dwarf.c:1465 1465{ unsigned idx = 0; (gdb) bt #0 0x00493788 in dwarf_typidx (t=Cannot access memory at address 0x7f7feed8 ) at backend/dwarf.c:1465 #1 0x00493817 in dwarf_typidx (t=0x8c4950) at backend/dwarf.c:1574 #2 0x00493ae2 in dwarf_typidx (t=0x8c4978) at backend/dwarf.c:1628 #3 0x00494950 in dwarf_typidx (t=0x91f2c8) at backend/dwarf.c:1944 #4 0x00493817 in dwarf_typidx (t=0x8c4950) at backend/dwarf.c:1574 #5 0x00493ae2 in dwarf_typidx (t=0x8c4978) at backend/dwarf.c:1628 #6 0x00494950 in dwarf_typidx (t=0x91f2a0) at backend/dwarf.c:1944 #7 0x00493817 in dwarf_typidx (t=0x8c4950) at backend/dwarf.c:1574 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7031] Stack overflow with immutable recursive struct
http://d.puremagic.com/issues/show_bug.cgi?id=7031 --- Comment #1 from Trass3r 2011-11-29 13:03:59 PST --- Another interesting testcase: class ApiProvider { void _getCsrfInfo() {} // comment this out and it suddenly works immutable(ReflectionInfo)* reflection; } struct ReflectionInfo { const(ReflectionInfo)[] objects; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---