Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: reading tied scalar shrinks it
Date: Tue, 27 Aug 2013 16:19:34 +0100
To: bug-Devel-Size [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
One of Devel-Size's tests, for a tied scalar visibly growing when the underlying tie object grows, is failing on Perl 5.19.3 because an earlier read of the scalar clears its PV buffer, causing the scalar to shrink. Attached patch makes the test allow for such shrinkage. -zefram

Message body is not shown because sender requested not to inline it.

On Tue Aug 27 11:19:54 2013, zefram@fysh.org wrote: Show quoted text
> One of Devel-Size's tests, for a tied scalar visibly growing when the > underlying tie object grows, is failing on Perl 5.19.3 because an earlier > read of the scalar clears its PV buffer, causing the scalar to shrink. > Attached patch makes the test allow for such shrinkage.
Is this perl #119295? If so, thank you. (If not, thank you anyway. :-)
Subject: Re: [rt.cpan.org #88182] reading tied scalar shrinks it
Date: Tue, 27 Aug 2013 20:53:31 +0100
To: Father Chrysostomos via RT <bug-Devel-Size [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Father Chrysostomos via RT wrote: Show quoted text
>Is this perl #119295? If so, thank you. (If not, thank you anyway. :-)
Looks like the same failure mode, but reported for a different module. Is Devel::SizeMe a fork of Devel::Size? The kind of fix that I produced for Devel::Size would probably also work for Devel::SizeMe. -zefram
Ping. Still broken all the way through 5.19.11. Can we please get this fixed before 5.20 ships? http://matrix.cpantesters.org/?dist=Devel-Size+0.79
On 2014-04-02 21:02:54, DAGOLDEN wrote: Show quoted text
> Ping. Still broken all the way through 5.19.11. Can we please get > this fixed before 5.20 ships? > > http://matrix.cpantesters.org/?dist=Devel-Size+0.79
Still failing with 5.20.0 and 5.20.1-RC1.
On Tue Aug 27 11:19:54 2013, zefram@fysh.org wrote: Show quoted text
> One of Devel-Size's tests, for a tied scalar visibly growing when the > underlying tie object grows, is failing on Perl 5.19.3 because an earlier > read of the scalar clears its PV buffer, causing the scalar to shrink. > Attached patch makes the test allow for such shrinkage.
Thanks applied. Along with your other patch, uploaded to CPAN as 0.79_50. I'm aware that the uploaded version still fails some other tests on some versions.