You can inspect the c data that was in memory at the time of the segv and probably figure out what caused the core dump. See the gdb man page for more details.# start gdb gdb /usr/bin/perl # inside gdb run the script run script.pl # after it segv's get the stack trace bt
In reply to Re: How to debug a segfault?
by perlmonkey
in thread How to debug a segfault?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |