Skip Menu |
 

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

Report information
The Basics
Id: 88182
Status: patched
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: (no value)



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>
Download (untitled) / with headers
text/plain 280b
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.

Download (untitled) / with headers
text/plain 407b
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>
Download (untitled) / with headers
text/plain 322b
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
Download (untitled) / with headers
text/plain 150b
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
Download (untitled) / with headers
text/plain 242b
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.
Download (untitled) / with headers
text/plain 491b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.