Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Debugging core files created by a perl script

by cvg2mco (Novice)
on Nov 06, 2006 at 16:15 UTC ( #582465=perlquestion: print w/ replies, xml ) Need Help??
cvg2mco has asked for the wisdom of the Perl Monks concerning the following question:

How do we debug core files created from a perl script?

Comment on Debugging core files created by a perl script
Re: Debugging core files created by a perl script
by derby (Abbot) on Nov 06, 2006 at 16:21 UTC

    What platform? (Linux, Sun, Win32?). At a minimum, you're going to have to have a perl that was built with debugging enabled (most are not by default).

    -derby
      Platform - SunOs - 5.8 Generic_117350-39 sun4u sparc SUNW,Sun-Fire-880 The same script is run on linux too - but it did not core. Was curious if there were any tools that i could use to step through the core file
Re: Debugging core files created by a perl script
by Tanktalus (Canon) on Nov 06, 2006 at 16:57 UTC

    This looks vaguely familiar ... Ah yes, here it is... Debugging tips for segmentation faults?. I asked a similar question a while back - perhaps those responses will help you here? I can't recall which one in particular helped me past my problem at the time, but there are a lot of good suggestions there. Good luck!

Re: Debugging core files created by a perl script
by Steve_p (Priest) on Nov 07, 2006 at 02:49 UTC

    Core dumps should never occur with Perl. If you are getting a coredump that is caused solely by Perl code, please use perlbug to file a bug report. Before sending, however, please try to isolate the problem to the simplest test case possible.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://582465]
Approved by Corion
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-09-17 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (94 votes), past polls