Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: why does ignoring sigCHLD corrupt return value from system()?

by ehdonhon (Curate)
on Nov 05, 2003 at 00:56 UTC ( #304591=note: print w/ replies, xml ) Need Help??


in reply to why does ignoring sigCHLD corrupt return value from system()?

There was some revisions on $SIG{CHLD} = 'IGNORE' that went into Perl 5.8.1, I believe. The short of it was that on some operating systems prior to 5.8.1, doing a SIG{CHLD} = 'IGNORE' could cause Perl to wait() for the forked child process twice and cause an infinite hang.

If you are using something prior to 5.8.1, you might be seeing another symptom of the same problem. If you are using post-5.8.1, it could be that the patch broke something else.

If you are the most recent version of Perl, it sounds like something you might want to submit a perlbug for. When you do, you might want to refer to bug # 18849


Comment on Re: why does ignoring sigCHLD corrupt return value from system()?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://304591]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2014-08-01 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (26 votes), past polls