Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 1793
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: ANDK [...] cpan.org
Requestors: sam [...] tregar.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.63
Fixed in: 1.63



Subject: Closing xterm causes CPAN.pm to spin out of control
To reproduce: 1) Open an xterm and start a CPAN shell session. 2) Close the xterm without leaving the CPAN shell. On my system (Redhat Linux 7.2, Perl 5.6.1, CPAN 1.63, CPAN::Bundle installed) this causes the Perl process to spin out of control using 100% of the CPU and growing in memory size. At that point only a "kill -9" seems effective. A workaround is to change the $SIG{TERM} handler to just exit() instead of calling &cleanup. I doubt this is the real solution, but it's working for me.