Skip Menu |

This queue is for tickets about the Bundle-CPAN CPAN distribution.

Report information
The Basics
Id: 18001
Status: resolved
Priority: 0/
Queue: Bundle-CPAN

People
Owner: Nobody in particular
Requestors: theaney [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.85
Fixed in: (no value)



Subject: reload cpan locked up
Hello. I started up cpan and it informed me there was a new version of Bundle::CPAN and recommended I do install Bundle::CPAN reload cpan so I did. The install Bundle::CPAN seemed to work fine, but the reload cpan locked up hard. Evenutally, I was able to kill it. After removing the lock file, all seems to be well. I just thought you might like to know. Tim Show quoted text
cpan> reload cpan
.................................................................Deep recursion on subroutine "CPAN::Shell::AUTOLOAD" at /usr/lib/perl5/5.8.6/CPAN.pm line 1933, <GEN256> chunk 1. Deep recursion on subroutine "CPAN::Shell::mywarn" at (eval 256) line 419, <GEN256> chunk 1. $ perl -v This is perl, v5.8.6 built for x86_64-linux-thread-multi Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ uname -a Linux calvin.watterson 2.6.15-1.1831_FC4 #1 SMP Tue Feb 7 13:37:59 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
I encoutered the same case recently. Should be a bug of new version. Thanks for inform, although I am not the maintainer of cpan ;-) On Sun Mar 05 19:39:43 2006, guest wrote: Show quoted text
> Hello. > > I started up cpan and it informed me there was a new version of > Bundle::CPAN and recommended I do > > install Bundle::CPAN > reload cpan > > so I did. The install Bundle::CPAN seemed to work fine, but the reload > cpan locked up hard. Evenutally, I was able to kill it. After removing > the lock file, all seems to be well. I just thought you might like to
know. Show quoted text
> > Tim > >
> cpan> reload cpan
> .................................................................Deep > recursion on subroutine "CPAN::Shell::AUTOLOAD" at > /usr/lib/perl5/5.8.6/CPAN.pm line 1933, <GEN256> chunk 1. > Deep recursion on subroutine "CPAN::Shell::mywarn" at (eval 256) line > 419, <GEN256> chunk 1. > > $ perl -v > > This is perl, v5.8.6 built for x86_64-linux-thread-multi > > Copyright 1987-2004, Larry Wall > > Perl may be copied only under the terms of either the Artistic License > or the > GNU General Public License, which may be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using `man perl' or `perldoc perl'. If you have access to the > Internet, point your browser at http://www.perl.org/, the Perl Home Page. > > $ uname -a > Linux calvin.watterson 2.6.15-1.1831_FC4 #1 SMP Tue Feb 7 13:37:59 EST > 2006 x86_64 x86_64 x86_64 GNU/Linux
Oh my, I finally got around to visiting this ugly, ugly bug. It was SO trivial: IFF during 'reload cpan' some temporary inconsistency of otherwise sane and working code arises, THEN it may happen that AUTOLOAD is called. And IFF AUTOLOAD calls an inconsistent function or method, then we have an endless loop. It is reproducable by using 'reload cpan' to load illegal perl code. CPAN 1.88_51 now fixed this problem by watching the recursion level within AUTOLOAD and refusing to AUTOLOAD recursively. Enjoy and Thanks for your patience,