develooper Front page | perl.perl5.porters | Postings from July 2016

Re: Confused by eval behavior

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
July 1, 2016 21:53
Subject:
Re: Confused by eval behavior
Message ID:
20160701215300.GK17054@iabyn.com
On Fri, Jul 01, 2016 at 10:04:41PM +0200, Aristotle Pagaltzis wrote:
> * Dave Mitchell <davem@iabyn.com> [2016-07-01 12:36]:
> > And now merged into blead with
> >
> > commit e5c5b1c9e1022d343db093f5d2af6fb39e6d1e30
> 
> This broke Variable::Magic:
> https://rt.cpan.org/Public/Bug/Display.html?id=115792
> 
> Any idea why?

A quick look shows that the failng test is doing infinite C-level
recursion, triggering a SEGV.

die_unwind is calling FREETMPS (as it now does), which is freeing
something that has V::M' magic attached to it, and freeing that magic
is causing V::M to croak, which calls die_unwind.

I haven't looked any closer - I'd prefer that Vincent or whoever does that
in the first instance.

-- 
Never work with children, animals, or actors.

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