Bug 1124043 - abort (core dumped) perl -MTerm::ReadLine -E 'Term::ReadLine->new("test")->readline("test: ")'
abort (core dumped) perl -MTerm::ReadLine -E 'Term::ReadLine->new("test")->r...
Status: RESOLVED DUPLICATE of bug 1120759
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Marcus Schaefer
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2019-02-01 21:50 UTC by Vasco Gervasi
Modified: 2019-02-08 10:30 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Gervasi 2019-02-01 21:50:21 UTC
if I try to run:

perl -MTerm::ReadLine -E 'Term::ReadLine->new("test")->readline("test: ")'

I get:
*** buffer overflow detected ***: perl terminated
[1]    9087 abort (core dumped)  perl -MTerm::ReadLine -E 'Term::ReadLine->new("test")->readline("test: ")'

Maybe the package perl-TermReadLine-Gnu needs to be rebuild.
I am using OpenSuse Tumbeweed: perl-TermReadLine-Gnu-1.20-8.19.x86_64.

Comment 1 Marcus Schaefer 2019-02-08 10:30:47 UTC
I have addressed this in an update to Factory:

Sat Jan 26 17:52:27 UTC 2019 - ms@suse.com

- Update to version 1.36 fixed among others the SIGSEGV on readline()

  r481 ("make handling of iostreams simple (make _rl_store_iostream()
  return void and remove _rl_fetch_iostream()) [rt.cpan.org #101078]")

  This Fixes bsc#1120759

Not sure why this was not taken by the factory people

*** This bug has been marked as a duplicate of bug 1120759 ***