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

Re: Confused by eval behavior

Thread Previous | Thread Next
From:
Andreas Koenig
Date:
July 2, 2016 09:37
Subject:
Re: Confused by eval behavior
Message ID:
87h9c8peif.fsf@k85.linux.bogus
>>>>> On Fri, 1 Jul 2016 22:53:00 +0100, Dave Mitchell <davem@iabyn.com> said:

  > 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.

Dependent on Variable::Magic: 976 [0]

I'd vote for reverting the change and putting it in a branch until
Variable::Magic has got the right medicine.

-- 
andreas

[0] http://deps.cpantesters.org/depended-on-by.pl?xml=1;dist=Variable-Magic-0.59

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