Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by ehdonhon (Curate)
on Nov 05, 2003 at 00:56 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304591]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-19 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found