Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 14439
Status: resolved
Priority: 0/
Queue: version

People
Owner: jpeacock [...] cpan.org
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.47
Fixed in: (no value)



Subject: Looking at a version object crashes the debugger
This is perl, v5.8.4 built for i386-linux-thread-multi When looking at a version object, or anything containing them, in the debugger, the version object triggers a critical error in dumpvar.pl, resulting in a crash of the debugger. DB<3> x version::qv(5.005) 0 version=HASH(0x8926e9c) 'qv' => 1 Bizarre copy of ARRAY in sassign at /usr/share/perl/5.8/dumpvar.pl line 206. END failed--call queue aborted. This should not effect normal running code, but makes it practically impossible to debug anything that uses version.pm
This will be fixed in 0.48 (soon to be uploaded to CPAN). It was a stupid mistake; I forgot that the top level hash object should contain a reference to an AV, not the AV itself. My code worked fine, but any ordinary Perl code (like dumpvar.pl) would blow up. Sorry. John