develooper Front page | perl.perl5.porters | Postings from February 2008

Re: "Unbalanced string table refcount" with non-threaded blead

Thread Previous
From:
Rafael Garcia-Suarez
Date:
February 15, 2008 23:07
Subject:
Re: "Unbalanced string table refcount" with non-threaded blead
Message ID:
b77c1dce0802152307v1d93fd8dnfdddb3e4a1961b21@mail.gmail.com
I fixed that with change #33322.

On 15/02/2008, Vincent Pit <perl@profvince.com> wrote:
> Latests blead (don't know exactly since when) built without -Dusethreads
> but with -DDEBUGGING generate quite a number of "Unbalanced string table
> refcount" warnings in the test suite. A reduced testcase is :
>
> [vince@fuuka /tmp/perl-current]$ PERL_DESTRUCT_LEVEL=1 ./perl -Ilib -e
> 'use feature "say"; no warnings'
> Unbalanced string table refcount: (1) for "feature_say" during global
> destruction.
>
> Here's the little I (think I) understood : %^H refcounted shared keys
> don't seem to be correctly decremented. mg.c:magic_clearhint calls
> hv.c:refcounted_he_new with a placeholder as its last argument to
> signify that the key has to be deleted, but refcounted_he_new does
> nothing with it. I'm totally unsure about were to go from there though.
>
> Vincent.
>
>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About