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

[perl #111462] refcount warnings from C<use strict> C<our %FIELDS>

Thread Next
From:
Father Chrysostomos via RT
Date:
March 30, 2012 22:31
Subject:
[perl #111462] refcount warnings from C<use strict> C<our %FIELDS>
Message ID:
rt-3.6.HEAD-13734-1333171881-1201.111462-15-0@perl.org
On Fri Mar 30 07:42:51 2012, rmbarker.cpan@btinternet.com wrote:
> > env PERL_DESTRUCT_LEVEL=1 ./perl -Ilib -MSafe \
> 	-we 'Safe->new->reval(q(use strict))'
> Unbalanced string table refcount: (2) for "strict/vars" during global
> destruction.
> Unbalanced string table refcount: (2) for "strict/subs" during global
> destruction.
> Unbalanced string table refcount: (2) for "strict/refs" during global
> destruction.

It’s coming from this croak in op.c:

#define CHECKOP(type,o) \
    ((PL_op_mask && PL_op_mask[type])				\
     ? ( op_free((OP*)o),					\
	 Perl_croak(aTHX_ "'%s' trapped by operation mask", PL_op_desc[type]),	\
	 (OP*)0 )						\
     : PL_check[type](aTHX_ (OP*)o))

I haven’t thought of a way to fix it yet.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=111462

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