[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Segmentation faults and Core Dump

On Tue, 27 Mar 2001, Senthil Devan wrote:

> My program (comprising nearly 10 Source files) crashes with segmentation
> fault. I am not able to back track (bt) in gdb as the stack is getting

you can try linking with ElectricFence ie -lefence. It will dump at the
first instance of memory corruption. But this applies to corruption
through malloc, not to sure about how it handles errors on stack, which I
guess is what you are facing.

-- sreangsu