Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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
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).

      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?

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
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2015-11-29 16:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls