develooper Front page | perl.perl5.porters | Postings from August 2010

Re: [perl #77432] assertion failure with POSIX::SigAction

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
August 30, 2010 08:01
Subject:
Re: [perl #77432] assertion failure with POSIX::SigAction
Message ID:
20100830150128.GJ48531@plum.flirble.org
On Tue, Aug 31, 2010 at 12:41:29AM +1000, Tony Cook wrote:
> On Tue, Aug 24, 2010 at 10:32:18PM -0700, Niko Tyni wrote:
> > Originally triggered by the CPAN forks module:
> > 
> > ./perl -Ilib -MPOSIX -e '*SIG={}; sigaction(1, POSIX::SigAction->new)'
> > perl: mg.c:98: S_save_magic: Assertion `((sv)->sv_flags & (0x00200000|0x00400000|0x00800000))' failed.
> > zsh: abort (core dumped)  ./perl -Ilib -MPOSIX -e '*SIG={}; sigaction(1, POSIX::SigAction->new)'
> > 
> > Seen at least on 5.10.1 and blead.
> 
> Fixed in 17cffb3718693d45499c002f0f50df9196858f28.

I believe that this bug is a duplicate of 75150

Whilst this fixes the immediate symptoms of an assertion failure, I'm not
convinced that it actually fixes the underlying bugginess, which is caused
by the core not handling this sanely:

   *SIG={}

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About