in reply to Understanding the segmentation fault output generated using gdb

The first question is what version of Perl are you using? If you didn't build it yourself then you have found a bug

(gdb) backtrace full (gdb) info registers (gdb) thread apply all backtrace
This will give you the values of all the variables at the time of the crash.

Update: You should ideally run gdb on the same machine that the core was generated on, in frame 8 you have a library call which is not available on the machine the backtrace was generated on.

  • Comment on Re: Understanding the segmentation fault output generated using gdb
  • Download Code

Replies are listed 'Best First'.
Re^2: Understanding the segmentation fault output generated using gdb
by Anonymous Monk on Aug 18, 2009 at 12:52 UTC
    I am using perl 5.8.6 , but it has been build :(. Any other tutorials for gdb to get more information out of the core file