develooper Front page | perl.perl5.porters | Postings from March 2003

Re: [perl #21614] 5.8.0 Unbalanced string table refcount

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
March 25, 2003 00:56
Subject:
Re: [perl #21614] 5.8.0 Unbalanced string table refcount
Message ID:
20030325095603.577f1971.rgarciasuarez@free.fr
Nicholas Clark <nick@unfortu.net> wrote:
> 
> It's fixed in blead for the normal case (not copy on write), but not for
> copy on write. The code paths in Perl_sv_force_normal_flags are completely
> different depending on whether perl is built with copy on write

It produces a segfault here, not a warning.

#0  0x80df23b in S_sv_release_COW (sv=0x8189604, 
    pvx=0x8197bf0 "k\r\024@ð\r\024@", cur=1, len=80, hash=2150891594, 
    after=0x8034004a) at sv.c:4353
4353            SV *current = SV_COW_NEXT_SV(after);

> How does one write a regression test to check for lack of warnings?
> Make a new perl and check that STDERR is empty?

Adding it to t/lib/warnings/perl should be sufficient ?
the "Unbalanced string table refcount" is marked TODO here.

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