[tpm] my perl program seg faults

Mark Fowle mfowle at navicominc.com
Thu May 3 13:17:14 PDT 2007

The only times I run across semi periodic sec faults, other than bad
hardware, have been when I run out of handles, I had an inner loop where I
was creating but not closing objects. 
-----Original Message-----
From: toronto-pm-bounces+mfowle=navicominc.com at pm.org
[mailto:toronto-pm-bounces+mfowle=navicominc.com at pm.org] On Behalf Of Fulko
Sent: Thursday, May 03, 2007 3:57 PM
To: tpm at to.pm.org
Subject: [tpm] my perl program seg faults

I've posted this to PerlMonks, but I thought I'd throw it out to TPM as

My latest app, is a forking TCP server/client. It runs fine and does
its thing. So I put it into a shell loop, and every once in a while I
see it die (near or at the end of processing where its exiting) and

"Segmentation fault"

My guess is its happening after my app says exit, and Perl is doing
its clean up. But I'd rather never see the error message. ISTR that
this isn't the first app of mine that randomly emits this message on
shutdown, but this time around its anoying me. How can I find out
where/why its dying?

B.T.W. perl -v says: "This is perl, v5.8.8 built for
toronto-pm mailing list
toronto-pm at pm.org

More information about the toronto-pm mailing list