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

Re: Segmentation faults and Core Dump




Did you use -g option to build

Pankaj

Senthil Devan wrote:

hi  Friends,

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
corrupted. I also tried where in gdb (I haven't used where much), but it was
not of much help. I need some suggestions as how segmentation faults can be
tracked down. I also want to know about core dump file and how it can be
used to find the cause of segmentation fault.

Thanks in advance.

Regards,
Devan




---------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr