On Tue Jun 25 23:14:28 2002, RT_System wrote:
> At 01:14 AM 6/26/02 +0200, Pixel wrote:
> >The following code segfaults:
> >
> >sub A::DESTROY {
> > my $f = delete $A::list{$_[0]};
> > goto $f;
> >}
> >
> >{
> > my $w;
> > my $b = bless {}, 'A';
> > $A::list{$b} = sub { $w };
> > 0;
> >}
>
> Doesn't happen on 5.6.0.
SEGV was caused as a side effect of
commit 840a7b70755d06740715e982aa756f9d77203c4e
Author: Ilya Zakharevich <ilya@math.berkeley.edu>
Date: Mon Dec 4 19:40:25 2000 -0500
Re: [PATCH] The largest hoax of all times?
Date: Tue, 5 Dec 2000 00:40:25 -0500
Message-ID: <20001205004025.A4050@monk.mps.ohio-state.edu>
Subject: Re: [PATCH] The largest hoax of all times?
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Date: Mon, 4 Dec 2000 23:55:53 -0500
Message-ID: <20001204235553.A1140@monk.mps.ohio-state.edu>
Subject: Re: [PATCH] The largest hoax of all times?
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Date: Tue, 5 Dec 2000 01:28:45 -0500
Message-ID: <20001205012844.A4227@monk.mps.ohio-state.edu>
Fix the unpredictable order of DESTROYs.
p4raw-id: //depot/perl@7991
[this bug was fixed in 2003, but it's related to #99850]
Nicholas Clark
Thread Previous
|
Thread Next