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

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

Thread Previous | Thread Next
Rafael Garcia-Suarez
March 25, 2003 00:56
Re: [perl #21614] 5.8.0 Unbalanced string table refcount
Message ID:
Nicholas Clark <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About