On Mon, Feb 27, 2006 at 09:17:57PM +0000, Nicholas Clark wrote: > > And the immediate why: > > (gdb) call Perl_sv_dump(my_perl, sstr) > SV = UNKNOWN(0xff) (0x82781dc) at 0x8278f5c > REFCNT = 0 > FLAGS = () > > That's the source SV. And a type of 0xFF isn't in any of the excluded types > in the switch statement earlier:
Of course, if I were paying attention I would have realised that that switch statement is on the source SV's type, whereas this failure is because the destination is already freed. But I've made the change, as it means that attempting to copy a freed scalar or any other muck is now an error. Nicholas Clark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]