develooper Front page | perl.perl5.porters | Postings from June 2004

Re: [perl #30032] Bizarre copy of ARRAY in aassign with 5.8.4 freebsd port

Thread Previous | Thread Next
From:
Mike Guy
Date:
June 3, 2004 11:49
Subject:
Re: [perl #30032] Bizarre copy of ARRAY in aassign with 5.8.4 freebsd port
Message ID:
E1BVwLF-0007UK-QD@draco.cus.cam.ac.uk
Alan Burlison <Alan.Burlison@sun.com> wrote
> It's a bug in Awstats, fixed in version 1.6:
>
> http://sourceforge.net/forum/forum.php?forum_id=375774
>
> Fixes:
> - Removed warning "Bizarre copy of ARRAY" with new Perl 5.8.4.

Umm... that's not a fix  -  that's papering over the cracks.

"Bizarre copy" always denotes an internal inconsistency in Perl, namely
that a pointer that should be to an AV actually points to some other
type of SV.   Usually that means a stale pointer is being used, and it's
pure luck that you don't get a SEGV instead.

So the original report is certainly a bug in perl-5.8.4.

Unless XS code is involved of course.


Mike Guy

Thread Previous | 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