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

Gonéri Le Bouder goneri at debian.org
Fri Sep 6 15:19:41 UTC 2013


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




More information about the Perl-maintainers mailing list