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 [email protected]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]