[Bug 1100359] Re: Reading from <STDIN> results in "Interrupted system call" error when SIGCHLD handler is active

Michael Alzheimer 1100359 at bugs.launchpad.net
Mon Jul 1 15:18:11 UTC 2013


Hi all,

the same here. with DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
perl package: 5.14.2-6ubuntu2.3
amd64.

Rebuilding perl with the above patch:
http://perl5.git.perl.org/perl.git/commitdiff/be48bbe8d671b6841c3ec7cb734b98071afe3cd9
worked.

I think it should be fixed in any service release for 12.04 lts.

the failed perl code was:

my $out=`pdf2swf $file 2>&1`;

After the external program pdf2swf wrote some stuff to STDOUT - and
should be read by calling perl programm STDIN to $out variable it broke
after some output lines with "SIGPIPE broken pipe".

After the recompile with the patch it runs fine now - as before (don't
know which version of perl stopped working, did a release-upgrade)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1100359

Title:
  Reading from <STDIN> results in "Interrupted system call" error when
  SIGCHLD handler is active

Status in “perl” package in Ubuntu:
  Confirmed

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
  ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
  Uname: Linux 3.2.0-35-generic x86_64
  NonfreeKernelModules: wl
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1100359/+subscriptions




More information about the foundations-bugs mailing list