You normally get this sort of error if you're printing a stack backtrack including function args, and one one of the args has been freed and since re-allocated (this can happen because the perl stack isn't reference counted, which is a long-standing bug).

So something like the following (which doesn't reproduce the error in this case, but gives you an idea of what can happen):

use Carp; @a = (1,2); foo(@a); sub foo { @a = (); Carp::cluck(); }
Dave.

In reply to Re: Bizarre copy of ARRAY in sassign at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache/perl5db.pl line 3731 by dave_the_m
in thread Bizarre copy of ARRAY in sassign at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache/perl5db.pl line 3731 by PerlOnTheWay

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.