A
afarah
Under what condition will we see a segmentation fault in the malloc
library routine? Specifically, a failure in call to "chunk_alloc()"
from within malloc.
I have a multi-threaded c++ program that occasionally core-dumps in
"malloc" when running on Linux 2.4 (it always works fine on Solaris
5). The stack trace shows the final call to "chunk_alloc".
I would like to re-create this bug within a debugger. However, the
segmentation fault happens so infrequently that I think I need to have
a better idea of how a problem like this can arise before I can
re-create it.
Many thanks in advance for any ideas.
library routine? Specifically, a failure in call to "chunk_alloc()"
from within malloc.
I have a multi-threaded c++ program that occasionally core-dumps in
"malloc" when running on Linux 2.4 (it always works fine on Solaris
5). The stack trace shows the final call to "chunk_alloc".
I would like to re-create this bug within a debugger. However, the
segmentation fault happens so infrequently that I think I need to have
a better idea of how a problem like this can arise before I can
re-create it.
Many thanks in advance for any ideas.