Skip Menu |

This queue is for tickets about the Term-ReadLine-Gnu CPAN distribution.

Maintainer(s)' notes

When you report a bug, please provide the following information;

- output of
	perl -V
	perl Makefile.PL verbose
	make test TEST_VERBOSE=1
	perl -Mblib t/00checkver.t
	echo $TERM
- terminal emulator which you are using
- compiler which is used to compile the GNU Readline Library (libreadline.a) if you can know.
Read INSTALL in the distribution for more details.

Report information
The Basics
Id: 44702
Status: rejected
Priority: 0/
Queue: Term-ReadLine-Gnu

People
Owner: HAYASHI [...] cpan.org
Requestors: toddr [...] cpanel.net
Cc:
AdminCc:

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



Subject: Readline out of memory starting CPAN in solaris
Hi, I just installed Term::ReadLine::Gnu on Solaris 10 and on restart of CPAN, I get an out of memory message after pressing enter on my first prompt. Removing this module allows CPAN to function normally. I'm not quite sure how to proceed on debugging this. Can you provide any hints how I might debug this more easily? Thanks, I am using readline library: readline-5.2.tar.gz
Subject: Re: [rt.cpan.org #44702] Readline out of memory starting CPAN in solaris
Date: Wed, 1 Apr 2009 01:00:09 +0900
To: bug-Term-ReadLine-Gnu [...] rt.cpan.org
From: 林宏雄 <hiroo.hayashi [...] computer.org>
Hi, Information described in the following sections in INSTALL file may help you and me. 1.3 Known Issue - Segmentation Fault during exiting Perl. 1.4 Trouble Shooting Thanks. 2009/4/1 Todd E. Rinaldo via RT <bug-Term-ReadLine-Gnu@rt.cpan.org>: Show quoted text
> Tue Mar 31 11:28:31 2009: Request 44702 was acted upon. > Transaction: Ticket created by todd_rinaldo >       Queue: Term-ReadLine-Gnu >     Subject: Readline out of memory starting CPAN in solaris >   Broken in: 1.19 >    Severity: Important >       Owner: Nobody >  Requestors: todd.e.rinaldo@jpmorgan.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=44702 > > > > Hi, I just installed Term::ReadLine::Gnu on Solaris 10 and on restart > of CPAN, I get an out of memory message after pressing enter on my > first prompt. Removing this module allows CPAN to function normally. > > I'm not quite sure how to proceed on debugging this. Can you provide > any hints how I might debug this more easily? > > Thanks, > > I am using readline library: readline-5.2.tar.gz > > > >
-- Hiroo Hayashi
perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi uname='sunos cmtmcc110 5.8 generic_117350-38 sun4u sparc sunw,sun- fire-15000 ' config_args='-d -s -e' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-D_REENTRANT -I/usr/local/include' ccversion='Sun C 5.8 Patch 121015-02 2006/03/29', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/lib -L/usr/ccs/lib - L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib - L/usr/local/lib ' libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/prod/lib/v8plus /opt/SUNWspro /prod/lib /lib /usr/local/lib libs=-lsocket -lnsl -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib - L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib - L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under solaris Compiled at Dec 12 2006 20:51:03 %ENV: @INC: /opt/perl588/lib/5.8.8/sun4-solaris-thread-multi /opt/perl588/lib/5.8.8 /opt/perl588/site/lib/sun4-solaris-thread-multi /opt/perl588/site/lib /opt/perl588/site/lib
compiler is above. also tried readline6 with similar results. export TERM=dtterm using putty via SSH for connection
Hi, Do you still have the problem? If so, send me the output of 'perl Makefile.PL; make test; perl -Mblib t/00checkver.t'. Sorry for my late response. Thanks.
Subject: Re: [rt.cpan.org #44702] Readline out of memory starting CPAN in solaris
Date: Mon, 1 Apr 2013 15:33:12 -0700
To: bug-Term-ReadLine-Gnu [...] rt.cpan.org
From: "P Fudd" <pfudd [...] binkmail.com>
I just wanted to report that this bug is still alive. If you use http://www.opencsw.org to install perl and perl modules, the command: pkgutil -i CSWpmtermreadlineg causes the problem, and the command pkgutil -r CSWpmtermreadlineg fixes the problem. You can also temporarily fix it with env PERL_RL=Perl cpan And if you try echo install Some::Module::Here | cpan it won't load Term::ReadLine::Gnu and bypass the problem. Version: 1.19 OS: Solaris 10 Perl: 5.10.1 (again from OpenCSW)
Hi, I don't have access to Solaris machine. I cannot reproduce your problem on my Linux. $ uname -a Linux localhost.localdomain 3.11.10-100.fc18.x86_64 #1 SMP Mon Dec 2 20:28:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ echo i Term::ReadLine::Gnu | PERL_RL=Gnu cpan cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. cpan[1]> Reading '/home/hiroo/.cpan/Metadata' Database was generated on Sat, 15 Mar 2014 07:05:11 GMT Module id = Term::ReadLine::Gnu DESCRIPTION GNU Readline XS library wrapper CPAN_USERID HAYASHI (Hiroo HAYASHI <hiroo.hayashi@computer.org>) CPAN_VERSION 1.22 CPAN_FILE H/HA/HAYASHI/Term-ReadLine-Gnu-1.22.tar.gz DSLIP_STATUS MdcOp (mature,developer,C,object-oriented,Standard-Perl) MANPAGE Term::ReadLine::Gnu - Perl extension for the GNU Readline/History Library INST_FILE /usr/lib64/perl5/vendor_perl/Term/ReadLine/Gnu.pm INST_VERSION 1.20 cpan[2]> Lockfile removed. $
I suspend this ticket. Please reopen this with information to reproduce the problem.
Set the status to 'rejected'. Show quoted text
> Please reopen this with information to reproduce the problem.