[tpm] my perl program seg faults

Fulko Hew fulko.hew at gmail.com
Fri May 4 07:37:12 PDT 2007


On 5/4/07, Indy Singh <indy at indigostar.com> wrote:
> You could try running perl under the debugger.  Then when the process crashes, run the backtrace command to see where it crashed.

OK, so I took this approach:

ulimit -c unlimited      # so that core files are produced
while ( true ) do ./myprog; done

Then when it died and core dumped, I did:

gdb perl corefile
bt

then it complains about not having symbols for a lot of things, but
it did tells me it was in a signalhandler.  (I didn't copy the exact text).

So now I'm trying to figure out what (from a Perl point of view), what
process is receiving what trap.


More information about the toronto-pm mailing list