Skip Menu |

This queue is for tickets about the Method-Signatures CPAN distribution.

Report information
The Basics
Id: 70452
Status: resolved
Priority: 0/
Queue: Method-Signatures

People
Owner: Nobody in particular
Requestors: chip [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 20110216.1153_01
Fixed in: (no value)



Subject: DEBUGGING + split $sep = KABLAM
This is one of the weirdest bugs I've seen. Consider: package T; use Method::Signatures; method foo { my @a = split $;, 'hi'; } 1 If Perl 5.12 (at least .1 and .4) is compiled with -DDEBUGGING, the above code triggers an assert() that's related to format processing: $ perl -Ilib -MT -e0 $ debugperl -Ilib -MT -e0 debugperl: pad.c:1525: Perl_cv_clone: Assertion `depth || ((svtype) ((proto)->sv_flags & 0xff)) == SVt_PVFM' failed. Without -DDEBUGGING everything seems fine. Perhaps it's a bad assert. I'm also reporting this to p5p, but in case anyone else is getting this assert, doing the split some other way can avoid the assert; for example, split '~',$var is fine. No idea why.
This still happen with the new version + newest Devel::Declare?
Chip, does this bug still exist in the newest version? If not, let's resolve this ticket.
From: chip [...] pobox.com
On Fri Apr 20 00:38:11 2012, BAREFOOT wrote: Show quoted text
> Chip, does this bug still exist in the newest version? If not, let's > resolve this ticket.
It's good now in Perl 5.14.
Excellent, resolving.