|P is for Practical|
How to find perl line after segfault.by Steve_BZ (Chaplain)
|on Feb 10, 2015 at 08:40 UTC||Need Help??|
Steve_BZ has asked for the wisdom of the Perl Monks concerning the following question:
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,