Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 12128
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: andreas.koenig.gmwojprw [...] franz.ak.mind.de
Cc:
AdminCc:

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



Subject: Test 20load.t runs Out Of Memory
YAML-0.38.tar.gz: test hangs until either interrupted or running Out Of Memory here: t/20load......ok 2/17make: *** [test_dynamic] Interrupt Tested with Debian's perl which is 5.8.4. Also tested with bleedperl, where the test succeeds. All the perls I have lying around up to perl-5.8.0@23450 fail, all perls from 23606 and up succeed. Thanks,
From: Andreas J Koenig <andreas.koenig.gmwojprw [...] franz.ak.mind.de>
To: bug-YAML [...] rt.cpan.org
CC: andreas.koenig.gmwojprw [...] franz.ak.mind.de, Brian Ingerson <INGY [...] cpan.org>, Michael G Schwern <schwern [...] pobox.com>
Subject: Re: [cpan #12128] AutoReply: Test 20load.t runs Out Of Memory
Date: Sun, 03 Apr 2005 20:01:31 +0200
RT-Send-Cc:
Show quoted text
>>>>> On Sun, 3 Apr 2005 10:33:51 -0400 (EDT), "YAML" <bug-YAML@rt.cpan.org> said:
Show quoted text
> YAML-0.38.tar.gz: test hangs until either interrupted or running Out Of Memory here:
Show quoted text
> t/20load......ok 2/17make: *** [test_dynamic] Interrupt
Show quoted text
> Tested with Debian's perl which is 5.8.4.
Show quoted text
> Also tested with bleedperl, where the test succeeds.
Show quoted text
> All the perls I have lying around up to perl-5.8.0@23450 fail, all perls from > 23606 and up succeed.
It seems to me that this was due to a bug in Test::More::is_deeply. 23450 had Test::More v 0.47 and 23606 had v 0.53. Running the test in the debugger stops at % ../installed-perls/perl/pyFEFtu/perl-5.8.0@23450/bin/perl -Mblib -d t/20load.t Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(t/20load.t:3): plan tests => number_of_tests; DB<1> c 1..17 ok 1 - No test description (t/20load.t:8) ok 2 - No test description (t/20load.t:33) Test::More::_deep_check(/home/src/perl/repoperls/installed-perls/perl/pyFEFtu/perl-5.8.0@23450/lib/5.9.2/Test/More.pm:1044): 1044: $ok = eq_array($e1, $e2); 99 levels deep in subroutine calls! If Schwern can confirm that this bug did exist, then I'd suggest you refrain from using is_deeply for the years to come. Ingy, Thanks for the new version of YAML, it's highly appreciated and welcomed with great enthusiasm, -- andreas
Date: Sun, 3 Apr 2005 19:26:46 -0700
From: Michael G Schwern <schwern [...] pobox.com>
To: Andreas J Koenig <andreas.koenig.gmwojprw [...] franz.ak.mind.de>
CC: bug-YAML [...] rt.cpan.org, Brian Ingerson <INGY [...] cpan.org>
Subject: Re: [cpan #12128] AutoReply: Test 20load.t runs Out Of Memory
RT-Send-Cc:
On Sun, Apr 03, 2005 at 08:01:31PM +0200, Andreas J Koenig wrote: Show quoted text
> If Schwern can confirm that this bug did exist
Yes, is_deeply() was not safe with circular references until 0.52. Show quoted text
> then I'd suggest you refrain from using is_deeply for the years to come.
Or YAML could just declare a dependency on Test::More 0.52. Or even include it in the distribution seeing as how its using Module::Install. Ya know, which ever is LESS EXTREME. :P