On Sat, 25 Sep 1999 06:07:38 BST, Hugo wrote:
>crypt% perl -MData::Dumper -we '$self = bless {}; $self->{a} = []; $self->{a}[1] = 0; $s
>elf->{b} = $self; Dumper($self)'
>Attempt to free unreferenced scalar during global destruction.
>crypt%
>
>Cannot reproduce with _61 but I'm not sure whether the bug has been fixed
>in perl or in Data::Dumper, so I thought it was worth a mention.
It was fixed by this:
[ 3270] By: gsar on 1999/04/25 22:58:27
Log: fix buggy reference count on refs to SVs with autoviv magic
(resulted in C<my @a; $a[1] = 1; print \$_ for @a> and Data::Dumper
accessing free()d memory)
Branch: perl
! pp.c t/op/ref.t
Sarathy
gsar@activestate.com
Thread Previous