Bug#721988: perl: sig ALARM kill the father of a forked process on mips

2013-09-06 Thread Gonéri Le Bouder
Package: perl
Version: 5.18.1-3
Severity: normal

Hi Perl maintainers,


The following test fails only on MIPS (perl 5.18.1-2 mips):

~~
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
use English qw(-no_match_vars);

plan tests = 1;

if (my $pid = fork()) {
waitpid($pid, 0);
ok(
$CHILD_ERROR  8,
'process still running after ALARM signal in child');
} else {
alarm 1;
sleep 10;
}
~~


I got this unexpected behavior during fusioninventory-agent build on MIPS.
https://buildd.debian.org/status/package.php?p=fusioninventory-agent

Best regards,
-- 
 Gonéri Le Bouder


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#721988: perl: sig ALARM kill the father of a forked process on mips

2013-09-06 Thread Dominic Hargreaves
On Fri, Sep 06, 2013 at 05:19:41PM +0200, Gonéri Le Bouder wrote:
 Package: perl
 Version: 5.18.1-3
 Severity: normal
 
 Hi Perl maintainers,
 
 
 The following test fails only on MIPS (perl 5.18.1-2 mips):
 
 ~~
 #!/usr/bin/perl
 
 use strict;
 use warnings;
 
 use Test::More;
 use English qw(-no_match_vars);
 
 plan tests = 1;
 
 if (my $pid = fork()) {
 waitpid($pid, 0);
 ok(
 $CHILD_ERROR  8,
 'process still running after ALARM signal in child');
 } else {
 alarm 1;
 sleep 10;
 }
 ~~
 
 
 I got this unexpected behavior during fusioninventory-agent build on MIPS.
 https://buildd.debian.org/status/package.php?p=fusioninventory-agent

Is this the right test case? This fails for me on i386 and amd64 too,
both with wheezy (5.14) and sid (5.18).


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org