Document ‘Attempt to clear deleted array’ in perldiag
authorFather Chrysostomos <sprout@cpan.org>
Sun, 25 Dec 2011 08:44:49 +0000 (00:44 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 25 Dec 2011 08:44:49 +0000 (00:44 -0800)
pod/perldiag.pod
t/porting/diag.t

index 8699847..d5b1ff4 100644 (file)
@@ -283,6 +283,13 @@ example by:
 
     bless $self, "$proto";
 
+=item Attempt to clear deleted array
+
+(S debugging) An array was assigned to when it was being freed.
+Freed values are not supposed to be visible to Perl code.  This
+can also happen if XS code calls C<av_clear> from a custom magic
+callback on the array.
+
 =item Attempt to delete disallowed key '%s' from a restricted hash
 
 (F) The failing code attempted to delete from a restricted hash a key
index 4753406..7f45c2b 100644 (file)
@@ -353,7 +353,6 @@ Malformed UTF-8 character (unexpected non-continuation byte 0x%x, immediately af
 
 %s (%d) does not match %s (%d),
 %s (%d) smaller than %s (%d),
-Attempt to clear deleted array
 Attempt to free non-existent shared string '%s'%s
 Attempt to free temp prematurely: SV 0x%x
 Attempt to free unreferenced scalar: SV 0x%x