Bug#700171: Reading from STDIN fails if SIGCHLD handler is set

Niko Tyni ntyni at debian.org
Sat Feb 9 13:07:12 UTC 2013


Package: perl
Version: 5.14.2-17
Severity: important
Forwarded: https://rt.perl.org/rt3/Public/Bug/Display.html?id=116621
Tags: patch fixed-upstream

On Tue, Feb 05, 2013 at 05:42:02PM +0000, Dmitry Panov wrote:

> I also found the same bug (by googling the commit id) reported and
> fixed in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=767931
> It's a shame it's still present in Ubuntu and Debian...

Reporting it in Debian would help a long way towards fixing it.
Doing that now as I happened to notice the thread.

A couple of weeks ago it would have had a better chance for making it
into the upcoming wheezy release; it may well be too late now. OTOH as
a regression from squeeze it may still be eligible.

I'm attaching a slightly more compact version of the test script at
[perl #116621]. It consistently fails for me on sid/amd64 (perl 5.14.2)
but succeeds on squeeze (perl 5.10.1).

This is fixed in 5.15.4 by 
 http://perl5.git.perl.org/perl.git/commit/be48bbe8d671b6841c3ec7cb734b98071afe3cd9
which is also attached for convenience. 

I've verified that the patch applies to our 5.14.2 package and fixes
the issue.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r.pl
Type: text/x-perl
Size: 459 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20130209/40785dfa/attachment.pl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-a-couple-missing-LEAVEs-in-perlio_async_run.patch
Type: text/x-diff
Size: 1013 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20130209/40785dfa/attachment.patch>


More information about the Perl-maintainers mailing list