Skip Menu |
 

This queue is for tickets about the Data-Dump-Streamer CPAN distribution.

Report information
The Basics
Id: 21460
Status: resolved
Priority: 0/
Queue: Data-Dump-Streamer

People
Owner: Nobody in particular
Requestors: bart.lateur [...] pandora.be
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.14
  • 2.03-30
Fixed in: (no value)



Subject: Fatal error on dumping a stash with a constant
Download (untitled) / with headers
text/plain 725b
This bug is most likely related to <http://rt.cpan.org/Public/Bug/Display.html?id=15660>. In the attached test script, Dump dies in a relatively benign way in 1.14 when trying to Dump a stash with a constant. Output via STDERR: Can't locate object method "ARRAY" via package "B::SPECIAL" at C:/Perl/site/lib/Data/Dump/Streamer.pm line 3157. Data::Dump::Streamer version: 1.14 Perl version: 5.008008 After upgrading to 2.03_30, the error gets more serious as there is no output at all, even the END block is no longer executed. I guess this means there's a coredump. Tested on, ActivePerl 5.8.8 build 817 on Windows XPSP2, using MinGW (gcc) 3.2.3 to compile the module. Needless to say, all tests are succesful for both.
Subject: test.pl
Download test.pl
text/x-perl 261b
#! perl -w use Data::Dump::Streamer; { package Foo; use constant bar => "abc"; } Dump(\%Foo::); END { printf STDERR "Data::Dump::Streamer version: %s\n", $Data::Dump::Streamer::VERSION; printf STDERR "Perl version: %s\n", $]; }
Works fine now.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.