Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Debugging core files created by a perl script

by cvg2mco (Novice)
on Nov 06, 2006 at 16:15 UTC ( [id://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

Replies are listed 'Best First'.
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 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 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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-25 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found