Skip Menu |

This queue is for tickets about the Devel-Size CPAN distribution.

Report information
The Basics
Id: 99573
Status: resolved
Priority: 0/
Queue: Devel-Size

People
Owner: Nobody in particular
Requestors: richard.jelinek [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.80



Subject: Crash if structure contains anonymous sub
Date: Sat, 18 Oct 2014 18:13:46 +0200
To: bug-Devel-Size [...] rt.cpan.org
From: Richard Jelinek <richard.jelinek [...] gmail.com>
total_size({ a => sub { }}); works in 5.18.2 (and before), gives a segv in 5.20.0 and 5.20.1 clearly room for improvement here. Richard
On Sat Oct 18 12:13:55 2014, richard.jelinek@gmail.com wrote: Show quoted text
> total_size({ a => sub { }}); > > works in 5.18.2 (and before), gives a segv in 5.20.0 and 5.20.1 > > clearly room for improvement here.
Yes, not going SEGV would be an improvement :-) Giving the right answer would be a big improvement. I've just uploaded 0.79_52, and I believe that I've fixed the cause of the SEGV. (I could replicate it on earlier versions, but not on this one) Nicholas Clark