Your skill will accomplish what the force of many cannot |
|
PerlMonks |
How to find perl line after segfault.by Steve_BZ (Chaplain) |
on Feb 10, 2015 at 08:40 UTC ( [id://1116160]=perlquestion: print w/replies, xml ) | Need Help?? |
Steve_BZ has asked for the wisdom of the Perl Monks concerning the following question: Hi Guys, I'm using using the wonderful open3 calling routine promoted by ikegami, Re: Catching errors (II). We are regression testing at the moment and I'm still getting sporadic segfaults which are not always easily repeatable. Is it possible to find the perl line number, with backtrace, if possible, of where the error occurred? Perl must have had this up to the pont of the crash, so I wondered if I could to retrieve it in my error reporting. Otherwise, maybe I should run Devel::Trace, or something similiar, while testing. What do you think? Thanks in advance, Regards Steve.
Back to
Seekers of Perl Wisdom
|
|