[Israel.pm] catching segmentation faults and other crashes

Levenglick Dov-RM07994 dov at freescale.com
Sun Nov 11 23:57:45 PST 2007

Perhaps a handler for $SIG{SEGV}?

Best Regards,
Dov Levenglick
SmartDSP OS Development Leader,
DevTech, Technology and System Organization
Freescale Semiconductor Israel
Tel. +972-9-952-2804
The information contained in this email is classified as:
[ ] Freescale General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Proprietary
[x] Personal Memorandum
-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
Behalf Of Yona Shlomo
Sent: Monday, November 12, 2007 09:51
To: perl at perl.org.il
Subject: [Israel.pm] catching segmentation faults and other crashes

I'm executing a tool using backticks qx// and then parse its

Sometimes the tool is crashing, e.g., with a segmentation
fault. In these cases the tool crashes after giving some

Can you recommend a way to catch the crash of the tool,
despite the fact that it still emits some (possibly good)

I'd like to avoid using a temporaty file in the process, if


Shlomo Yona
yona at cs.technion.ac.il
Perl mailing list
Perl at perl.org.il

More information about the Perl mailing list