surely it should have AvREAL turned off?
p4raw-id: //depot/perl@26517
av = (AV*)mg->mg_obj;
else {
av = newAV();
+ AvREAL_off(av);
sv_magic(tsv, (SV*)av, PERL_MAGIC_backref, NULL, 0);
/* av now has a refcnt of 2, which avoids it getting freed
* before us during global cleanup. The extra ref is removed
SV **svp;
I32 i;
(void)SvREFCNT_inc(nmg->mg_obj = (SV*)newAV());
+ AvREAL_off((AV*)nmg->mg_obj);
svp = AvARRAY(av);
for (i = AvFILLp(av); i >= 0; i--) {
if (!svp[i]) continue;