Bug#595403: POSIX::sigaction breakage on armel
Niko Tyni
ntyni at debian.org
Fri Sep 10 11:35:54 UTC 2010
On Fri, Sep 03, 2010 at 09:01:27PM +0300, Niko Tyni wrote:
> > As Sys::SigAction is a pure perl module, I agree the bug is most probably
> > in POSIX::sigaction in the perl package.
Testcase:
#!perl
use POSIX q/sigaction/;
my $a1 = POSIX::SigAction->new( sub {} );
my $a2 = POSIX::SigAction->new();
sigaction(ALRM, $a1, $a2);
sigaction(ALRM, $a1, $a2);
sigaction(ALRM, $a2);
kill ALRM => $$;
__END__
This results in stack corruption on agricola (haven't tried on abel):
Program terminated with signal 11, Segmentation fault.
#0 0x41676952 in ?? ()
(gdb) bt
#0 0x41676952 in ?? ()
#1 0x41676952 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list