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

Re: Confused by eval behavior

Thread Previous | Thread Next
Dave Mitchell
July 1, 2016 21:53
Re: Confused by eval behavior
Message ID:
On Fri, Jul 01, 2016 at 10:04:41PM +0200, Aristotle Pagaltzis wrote:
> * Dave Mitchell <> [2016-07-01 12:36]:
> > And now merged into blead with
> >
> > commit e5c5b1c9e1022d343db093f5d2af6fb39e6d1e30
> This broke Variable::Magic:
> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About