Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #82580] Signals not cleared by fork

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

May 22, 2012, 8:07 AM

Post #1 of 1 (65 views)
Permalink
[perl #82580] Signals not cleared by fork

On Tue Apr 17 04:09:16 2012, LeonT wrote:
> On Tue Jan 25 12:06:00 2011, Leolo wrote:
> > On Sun Jan 23 04:44:57 2011, blgl [at] stacken wrote:
> > > You misunderstand. It's ignored signals that are lost, not blocked
> ones.
> >
> > A short test shows that while CHLD makes it through, waitpid() will
> > always return -1. Tested on 5.8.8, 5.10.1, 5.12.2.
>
> Perl reaps processes when closing filehandles created through �open
> "-|"�, there's nothing weird or worrisome about your observation.
>
> Leon

There's a patch that fixes this in the smoke-me/leont/signals-fork
branch. Given it's a non-deterministic issue, I don't have a test though.

Leon

---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=82580

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.