PR 5818: Not actually a bug

Jack Lloyd lloyd@acm.jhu.edu
Mon Mar 3 20:33:00 GMT 2003


A while back I reported 5818 (3.0.4's cc1plus would occasionally crash if
it ran out of memory, ie a ulimit was set too low). I tried to repeat this
with 3.2, and succeded. In the process, I did a backtrace and found the
problem was actually in glibc. alloc_page (in ggc-page.c, IIRC) will call
perror()  if the allocation fails. The actual crash happens in vfprintf
inside glibc, and is not a bug in gcc at all.

So this can be closed at any time.

-Jack



More information about the Gcc-bugs mailing list