Re: Realloc is blocking execution
On Wed, 14 Oct 2009, Mats Erik Andersson wrote:
I inserted two printouts, immediately surrounding realloc():
fprintf(stderr, "Will enter realloc().\n");
ptr = realloc(ptrold, 1024)
fprintf(stderr, "Has exited realloc().\n");
Only the first statement gets printed.
Please try to attach to the hung gcc process with gdb and get a backtrace.
top should show you the kernel function, in which the process is sleeping
The "Alt-SysRq-l" Magic SysRq combination should dump a kernel backtrace
of all currently executing tasks into the syslog (see  and ).
These could help at least in filing a bug report.