Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115326 - readline-5.1 crashes python shell
Summary: readline-5.1 crashes python shell
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
: 115432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-12 10:39 UTC by Seemant Kulleen (RETIRED)
Modified: 2005-12-19 17:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
readline-5.1-callback-segv.patch (readline-5.1-callback-segv.patch,3.23 KB, patch)
2005-12-13 16:34 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2005-12-12 10:39:08 UTC
funnily enough vim and bash didn't seem to be affected all that much, only
python-2.4.2 interactive shell.  Going back down to 5.0-r2 of readline solved
the issue.

Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r4 x86_64 AMD Athlon(tm) 64 FX-55 Processor
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache digest distlocks fixpackages parallel-fetch
sandbox sfperms test userpriv verify-rdepend"
GENTOO_MIRRORS="http://mirror http://distfiles.gentoo.org"
LC_ALL="en_US.utf8"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror/gentoo-portage"
USE="amd64 X a52 acl alsa apache2 apm artwork-extra audiofile avi
bash-completion bitmap-fonts bonobo bzip2 cairo cdr crypt cscope cups curl dbus
dts dvdr dvi dynagraph eds emboss encode esd exif expat fam ffmpeg firefox
foomaticdb fortran gd ggi gif glitz glut gnome gnutls graphviz gtk gtk2 gtkhtml
guile hal idn imagemagick imlib jpeg justify kerberos lcms ldap libcaca
libclamav libwww live lzo lzw lzw-tiff matroska mng mozilla mp3 mpeg ncurses
nptl nptlonly nvidia oav ogg openal opengl openntpd pam pam_chroot pam_timestamp
pcre pdflib plotutils png postgres pwdb python quicktime quotas readline recode
rtc samba sdl skey spell sqlite ssl svg t1lib tcpd tetex theora tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vim-pager vorbis winbind
wmf xinerama xml xml2 xpm xscreensaver xv xvid zlib linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2005-12-12 11:02:38 UTC
seemant@seemant ~ $ python
Python 2.4.2 (#1, Dec 12 2005, 11:20:24) 
[GCC 3.4.4 (Gentoo 3.4.4-r1, HTB-3.4.4-1.00, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> asd^[[3~Segmentation fault


that's me pressing "asd<DEL><DEL><DEL>"
Comment 2 SpanKY gentoo-dev 2005-12-12 11:16:11 UTC
even pressing just delete twice and nothing else seems to make it bomb
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-13 12:56:40 UTC
*** Bug 115432 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2005-12-13 16:34:59 UTC
Created attachment 74676 [details, diff]
readline-5.1-callback-segv.patch

patch from SuSE
Comment 5 SpanKY gentoo-dev 2005-12-19 17:25:55 UTC
fixed in 5.1-r1