Bug#787092: Perl IPC::Open3 produce Zombies when it failed

Dominic Hargreaves dom at earth.li
Thu May 28 13:29:14 UTC 2015


Control: forwarded -1 https://rt.perl.org/rt3/Public/Bug/Display.html?id=114722
Control: tags -1 +fixed-upstream
Control: fixed -1 5.20.0-1

On Thu, May 28, 2015 at 03:06:54PM +0200, Wolfgang Link wrote:
> IPC::Open3::open3() does not collect child states after failed.
> 
> to reproduce
> 
> $ perl -MIPC::Open3 -le 'for (1..10) { my ($in,
> $out); eval { my $pid = open3($in, $out, "", "unknownprogram");
> waitpid($pid, 0) }; } sleep 100'
> 
> Now you have 10 zombies.
> 
> Reported to upstream <https://rt.perl.org/rt3/Public/Bug/Display.html?id=114722> with a fix.
> 
> Please could you patch it!

Hi,

Thanks for the report. I'm not sure whether there will be further point
releases of oldstable or if this fix would qualify; you might be better
off upgrading to the new stable release which has the fix.

In any case, I'm setting the bug metadata so that we can track this.

Cheers,
Dominic.




More information about the Perl-maintainers mailing list