Reading from <STDIN> results in "Interrupted system call" error when SIGCHLD handler is active
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi all,
I've stumbled upon quite a strange behaviour on a server which has recently been upgraded from Debian squeeze to Ubuntu 12.04. I've narrowed it down to a simple test case which is attached.
To reproduce the problem run "./f.pl | ./2.pl". Within a second (sometimes it takes a bit longer) it gives me the following:
error: Interrupted system call at ./2.pl line 8, <STDIN> line 11.
I've also tried it on 12.10 and got exactly the same behaviour.
Best regards,
--
Dmitry
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: perl 5.14.2-6ubuntu2.2
ProcVersionSign
Uname: Linux 3.2.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Wed Jan 16 16:20:32 2013
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: perl
UpgradeStatus: No upgrade log present (probably fresh install)
Apologies, you only need to run ./f.pl, not ./f.pl | ./2.pl as I suggested earlier.