Any pointers on how to resolve this?  Use libefence (or other tools) to try
to find the offending malloc/free line for corruption of heap?  (Using linux
RH7.1)

-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Rob Mayoff
Sent: Wednesday, October 24, 2001 9:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE:
[AOLSERVER] Trying to debug a C module?


+---------- On Oct 24, Sanjivendra Nath said:
> Why would a malloc(10 bytes) cause a segmentation violation?

Because the heap has been corrupted.  Perhaps something called free
twice on the same block, or wrote past the end of a block.

Reply via email to