rlwrap --filter crashes when pressing tab

Bug #1731508 reported by Juergen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rlwrap (Ubuntu)
Undecided
Unassigned

Bug Description

In any shell, call
rlwrap --filter pipeto cat
and then press the TAB key.

This causes:
*** Error in `rlwrap': free(): invalid pointer: 0x00000000008eb290 ***
======= Backtrace: =========
...
/lib/x86_64-linux-gnu/libreadline.so.6(rl_completion_matches+0x96)[0x7fe0b4f82436]
/lib/x86_64-linux-gnu/libreadline.so.6(+0x1c576)[0x7fe0b4f82576]
/lib/x86_64-linux-gnu/libreadline.so.6(rl_complete_internal+0x132)[0x7fe0b4f82702]
/lib/x86_64-linux-gnu/libreadline.so.6(_rl_dispatch_subseq+0x260)[0x7fe0b4f79990]
/lib/x86_64-linux-gnu/libreadline.so.6(readline_internal_char+0x92)[0x7fe0b4f79e12]
/lib/x86_64-linux-gnu/libreadline.so.6(rl_callback_read_char+0x31d)[0x7fe0b4f908cd]
rlwrap[0x4045ec]
rlwrap[0x403a0c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fe0b4993830]
...

Original author website seems down:
rlwrap (without arguments) prints:
bug reports, suggestions, updates:
http://utopia.knoware.nl/~hlub/uck/rlwrap/
DNS returns 213.197.59.194, but that IP does not respond to ping or http.

Reproducible anytime and anywhere (not architecture or release specific).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: rlwrap 0.41-1build1
ProcVersionSignature: Ubuntu 4.4.0-98.121-generic 4.4.90
Uname: Linux 4.4.0-98-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Fri Nov 10 16:52:20 2017
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: rlwrap
UpgradeStatus: Upgraded to xenial on 2017-11-02 (7 days ago)

Revision history for this message
Juergen (juergen-schwarz) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rlwrap - 0.43-1

---------------
rlwrap (0.43-1) unstable; urgency=medium

  * New upstream version 0.43 (Closes: #869564)
    - Fix segmentation fault with readline keyboard macros (Closes: #799943)
    - Fix internal memory error on Tab key with --filter (LP: #1731508)
    - Make build system amenable to cross-compilation (Closes: #874217)
  * d/p/update-project-urls.patch: Drop patch, applied upstream
  * d/p/man-typos.patch: Replace patch, fix man page typos in new release
  * Bump debhelper compatibility level to 11
  * d/control, d/rules: Drop explicit dependency on dh-autoreconf, now used
    automatically
  * d/clean: Clean files remaining after a successful build
  * d/copyright: Bump copyright for release and for debian/*
  * d/rules:
    - Include dh_python3 in the build sequence
    - Rewrite perl shebang to comply with Policy 4.1.2
    - Don't backup and restore build files no longer distributed
  * d/control:
    - Build-Depend on dh-python and python3:any and Depend on ${python3:depends}
    - Update Vcs-* fields for migration to salsa.d.o
    - Bump Standards-Version to 4.1.3

 -- Mike Miller <email address hidden> Sun, 25 Feb 2018 12:46:03 -0800

Changed in rlwrap (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers