[Issue 1512] GC infinite loop when invalid user code runs.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 19 00:54:16 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1512
------- Comment #7 from davidl at 126.com 2007-09-19 02:54 -------
I don't know if the following is the sane check. But this prevent the GC from
looping in this case.
add to phobos\internal\gc\gcx.d
line 1570:
if(list is list.next)
{
throw new Exception("looping while we try to free the
list!");
}
--
More information about the Digitalmars-d-bugs
mailing list