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

[perl #67490] tie-ing hintelem causes problems (2)

Thread Next
From:
Father Chrysostomos via RT
Date:
January 7, 2012 17:32
Subject:
[perl #67490] tie-ing hintelem causes problems (2)
Message ID:
rt-3.6.HEAD-14510-1325986333-1436.67490-15-0@perl.org
On Mon Jul 13 02:21:07 2009, nicholas wrote:
> On Mon, Jul 13, 2009 at 02:12:52AM -0700, Yitzchak Scott-Thoennes
> wrote:
> > On Sun, July 12, 2009 9:56 pm, Goro Fuji wrote:
> > > tie-ing hintelem ($^H{foo}) causes problems. This problem happens
> in 5.10.0
> > > and bleadperl, but not in 5.8.
> > >
> > > See hintelem_badrelease.t for testing.
> 
> Thanks for the clear test script
> >
> > Please provide not only a test script but a description of what
> results you
> > get...someone going through the bug database years from now may not
> even have
> > a 5.10.0 or 5.8 to try it on.
> 
> But perfect is the enemy of the good. :-)
> 
> However, for me, I see this, which isn't the same as what you describe
> (5.10 and later calling DELETE):
> 
> $ perl5.8.8 67490
> 1..1
> ok 1
> 
> 
> versus
> 
> $ perl5.10.0 67488
> 1..1
> Can't call method "FETCH" on an undefined value at 67488 line 26.
> panic: leave_scope inconsistency at 67488 line 26.
> # Looks like your test died before it could output anything.
> 
> 
> and blead is even more impressive:
> 
> $ ./perl -Ilib 67488
> 1..1
> Can't call method "FETCH" on an undefined value at 67488 line 26.
> Attempt to free unreferenced scalar: SV 0x9e2db8, Perl interpreter:
> 0x9df010 at 67488 line 26.
> # Looks like your test exited with 255 before it could output
> anything.
> 
> Nicholas Clark
> 

b3ca2e834c3607fd8aa8736a51aa3a2b8bba1044 is the first bad commit
commit b3ca2e834c3607fd8aa8736a51aa3a2b8bba1044
Author: Nicholas Clark <nick@ccl4.org>
Date:   Fri Mar 31 13:45:57 2006 +0000

    Serialise changes to %^H onto the current COP. Return the compile time
    state of %^H as an eleventh value from caller. This allows users to
    write pragmas.
    
    p4raw-id: //depot/perl@27643

:100644 100644 81712fac59ce6ff2c8a92d812cb2eac34a222de6
8ce6b3ebae44537a419c609a3e789154084e7dd8 M	cop.h
:100644 100644 c86d3e5dec8a22d76957717aeb483ab91aea193c
c8406a1debcca7a78cc2997e251b88d890e05911 M	dump.c
:100644 100644 0fdbf20ba4cc5b26474cc2178af9cb076aa411ae
dfd3d5ababb23a5b94a3d6a08246d864916490fc M	embed.fnc
:100644 100644 53d6043d5e4de7cddb039dbe1d4ae5ebde941394
b8c279ffc28251568c05988effa0aa19fdebf85f M	embed.h
:100644 100644 090d667fbea405edd5784a8a73aa44b7155db585
83f3ed885bfdecdadd02d7aaf1ea9aa73b1f202d M	gv.c
:100644 100644 fab0e6a299ca6ecc7018eec54b3e03f2efda5cde
8227eca203a128e9fdb046c823179d82add5b47f M	hv.c
:100644 100644 efba2b98bdf67eaac8113c8266a6d452a467f63e
dfb0d2516257ff9dede0ad89949dd57201f1287a M	hv.h
:100644 100644 3745e19143068edb6ae5bf23f564be5695e0a2a0
f2036011ea7a856664bffe78497d4d35d922a3f8 M	makedef.pl
:100644 100644 210d681dd785ba9faecd89b0b731749319e59b6e
b7e2e56c08818800d901db3597f2a6569e0be790 M	mg.c
:100644 100644 5187f3b1a3b3c70ecaf0a393d0fda45c3092d90e
bc49fb52c38c4eb40603318b94a5ffe1d4bf6fb0 M	op.c
:100644 100644 2b4d1b22e93a47288e7a5a868f76406dbf466178
15fc64b0ac2f4765d4fcf63977233fb76d611272 M	perl.c
:100644 100644 27d01ede0d798092a71d65f7a30d406aa54c8281
1e83f50328b15e5ae4ea5ac1c25ac62de17fbe93 M	perl.h
:040000 040000 a9481d372fa14a9bed4e0350d4dd44bcbebf7805
57e2fb306efd148e92a1f5e6f871a285c909cf12 M	pod
:100644 100644 3844331e036bb6fbe723e9cbca4c91e5cd1ad4c9
72caef3d678d7aa864d45de6c4966a368636cd95 M	pp_ctl.c
:100644 100644 3f3d5267151a9a6d09ccfcace1e8a914df14d15b
5bbd521a2edbd169938b6d35d82665016661f0b0 M	proto.h
:100644 100644 7b7682388aecbd8c6096081a35ed1acf271409a2
5e4193ac17cbbaa0c5e90a057559f5d25aebf1bc M	scope.c
:100644 100644 cace24689de3919a004dfd9420450e6f273c2acf
debae280db299ba060117a315237e5d286f98405 M	scope.h
:100644 100644 ded27c951dd86e4a7d79a47eea155ea2863977a4
d5cc44d190f562b2897526ecc5b7194cee89fcbd M	sv.c
:040000 040000 ba159b1ff1a4878cf8fdb16b25dabffede13337d
dfb4855cf7264d3d0486e48f8aba7cc18274221b M	t
bisect run success
That took 203 seconds


-- 

Father Chrysostomos


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

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