Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269453 - app-misc/byobu crashes when selecting anything on its ncurses screen
Summary: app-misc/byobu crashes when selecting anything on its ncurses screen
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 19:57 UTC by Pablo Barros
Modified: 2013-05-26 09:49 UTC (History)
4 users (show)

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


Attachments
byobu-config_strace.log (bc.log,137.03 KB, text/plain)
2009-06-14 03:15 UTC, Andrey Kislyuk (RETIRED)
Details
byobu-config strace (strace,91.79 KB, text/plain)
2009-07-13 22:58 UTC, Ax3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Barros 2009-05-11 19:57:24 UTC
After installing app-misc/screen-profiles-1.42, the screen-profiles menu is broken. Selecting any option on it leads to a crash, breaking the terminal (must be reset to be useful again) and with the following errors:


                             *** glibc detected *** python: double free or corruption (out): 0x000000000263c030 ***
                                                                                                                   ======= Backtrace: =========
           /lib/libc.so.6[0x7f811526db88]
                                         /lib/libc.so.6(cfree+0x76)[0x7f811526f746]
                                                                                   /usr/lib/libpython2.6.so.1.0[0x7f8115e70fa3]
                                                                                                                               /usr/lib/libpython2.6.so.1.0[0x7f8115e4b7ab]
                                       /usr/lib/libpython2.6.so.1.0[0x7f8115e8797f]
                                                                                   /usr/lib/libpython2.6.so.1.0[0x7f8115e67408]
                                                                                                                               /usr/lib/libpython2.6.so.1.0[0x7f8115e70fa3]
                                       /usr/lib/libpython2.6.so.1.0[0x7f8115e4b7ab]
                                                                                   /usr/lib/libpython2.6.so.1.0[0x7f8115e67408]
                                                                                                                               /usr/lib/libpython2.6.so.1.0[0x7f8115e70fa3]urn> Validates
                                       /usr/lib/libpython2.6.so.1.0[0x7f8115e4b7ab]
                                                                                   /usr/lib/libpython2.6.so.1.0[0x7f8115e60102]
                                                                                                                               /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x5ea5)[0x7f8115ecdff5]
                                                                  /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x5e86)[0x7f8115ecdfd6]
     /usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x8b1)[0x7f8115ece941]
                                                                          /usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x32)[0x7f8115ecea52]
        /usr/lib/libpython2.6.so.1.0[0x7f8115ee92e1]
                                                    /usr/lib/libpython2.6.so.1.0(PyRun_FileExFlags+0x96)[0x7f8115ee93b6]
                                                                                                                        /usr/lib/libpython2.6.so.1.0(PyRun_SimpleFileExFlags+0x213)[0x7f8115eea8c3]
                                                               /usr/lib/libpython2.6.so.1.0(Py_Main+0xb86)[0x7f8115ef6c56]
                                                                                                                          /lib/libc.so.6(__libc_start_main+0xe6)[0x7f8115217486]
                                            python[0x400789]
                                                            ======= Memory map: ========
                                                                                        00400000-00401000 r-xp 00000000 08:03 349020                             /usr/bin/python2.6
                                               00600000-00601000 r--p 00000000 08:03 349020                             /usr/bin/python2.6
      00601000-00602000 rw-p 00001000 08:03 349020                             /usr/bin/python2.6
                                                                                                 024e4000-02756000 rw-p 024e4000 00:00 0                                  [heap]
                                            7f8108000000-7f8108021000 rw-p 7f8108000000 00:00 0
                                                                                                7f8108021000-7f810c000000 ---p 7f8108021000 00:00 0
                7f810ea9e000-7f810eab4000 r-xp 00000000 08:03 345333                     /lib64/libgcc_s.so.1
                                                                                                             7f810eab4000-7f810ecb3000 ---p 00016000 08:03 345333                     /lib64/libgcc_s.so.1
                                                                      7f810ecb3000-7f810ecb4000 r--p 00015000 08:03 345333                     /lib64/libgcc_s.so.1
                               7f810ecb4000-7f810ecb5000 rw-p 00016000 08:03 345333                     /lib64/libgcc_s.so.1
                                                                                                                            7f810ecb5000-7f810ecb7000 r-xp 00000000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
                                                                                              7f810ecb7000-7f810eeb6000 ---p 00002000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
                                                                7f810eeb6000-7f810eeb7000 r--p 00001000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
                                  7f810eeb7000-7f810eeb8000 rw-p 00002000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
    7f810eeb8000-7Abortado


Reproducible: Always

Steps to Reproduce:
1. run screen-profiles
2. select anythingon the menu

Actual Results:  
It crashes

Expected Results:  
It shouldn't crash
Comment 1 Sebastian Luther (few) 2009-05-11 20:06:41 UTC
Please provide emerge --info.
Comment 2 Pablo Barros 2009-05-11 20:14:36 UTC
# emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 11 May 2009 18:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -fweb -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -pipe -O2 -fweb -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pt_BR.utf8"
LC_ALL="pt_BR"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.las.ic.unicamp.br/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d aac aalib accessibility acl acpi alsa amd64 arts artswrappersuid audiofile bash-completion berkdb blas bluetooth bonobo branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cscope css cups curl dbus directfb doc dri dvd dvdr dvdread eds emacs emboss encode esd evo examples exif expat fam fbcon ffmpeg firefox flac font-server fortran gd gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal iconv idn imagemagick ipv6 isdnlog java jbig jikes jpeg jpeg2k junit kde kdeenablefinal kdeprefix latex lcms ldap leim lesstif libcaca libnotify lm_sensors lzo mad matroska midi mikmod mmx mng motif mozcalendar mozilla mp3 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql nas ncurses network nls nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl seamonkey semantic-desktop session sms sndfile speex spell spl sse sse2 ssl startup-notification svg sysfs tcl tcltk tcpd tetex theora threads tiff truetype unicode usb vcd vorbis webkit x264 xchatdccserver xcomposite xemacs xine xml xml2 xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Andrey Kislyuk (RETIRED) gentoo-dev 2009-06-03 18:29:22 UTC
Package was moved to app-misc/byobu and version bumped. Reporter, please try to reproduce with the new version.
Comment 4 Pablo Barros 2009-06-03 18:48:56 UTC
Same problem with byobu-config:

                       *** glibc detected *** python: double free or corruption (out): 0x0000000000e8b230 ***
                                                                                                             ======= Backtrace: =========
                 /lib/libc.so.6[0x7f18c7832b88]
                                               /lib/libc.so.6(cfree+0x76)[0x7f18c7834746]
                                                                                         /usr/lib/libpython2.6.so.1.0[0x7f18c8435fa3]
             /usr/lib/libpython2.6.so.1.0[0x7f18c84107ab]
                                                         /usr/lib/libpython2.6.so.1.0[0x7f18c844c97f]
                                                                                                     /usr/lib/libpython2.6.so.1.0[0x7f18c842c408]
                         /usr/lib/libpython2.6.so.1.0[0x7f18c8435fa3]
                                                                     /usr/lib/libpython2.6.so.1.0[0x7f18c84107ab]
<Tab>/<Alt-Tab> between elements | <Return> Validates                                                            /usr/lib/libpython2.6.so.1.0[0x7f18c842c408]
                                     /usr/lib/libpython2.6.so.1.0[0x7f18c8435fa3]
                                                                                 /usr/lib/libpython2.6.so.1.0[0x7f18c84107ab]
     /usr/lib/libpython2.6.so.1.0[0x7f18c8425102]
                                                 /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x5ea5)[0x7f18c8492ff5]
                                                                                                                        /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x5e86)[0x7f18c8492fd6]
                                                                       /usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x8b1)[0x7f18c8493941]
                    /usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x32)[0x7f18c8493a52]
                                                                                      /usr/lib/libpython2.6.so.1.0[0x7f18c84ae2e1]
          /usr/lib/libpython2.6.so.1.0(PyRun_FileExFlags+0x96)[0x7f18c84ae3b6]
                                                                              /usr/lib/libpython2.6.so.1.0(PyRun_SimpleFileExFlags+0x213)[0x7f18c84af8c3]
                                 /usr/lib/libpython2.6.so.1.0(Py_Main+0xb86)[0x7f18c84bbc56]
                                                                                            /lib/libc.so.6(__libc_start_main+0xe6)[0x7f18c77dc486]
                          python[0x400789]
                                          ======= Memory map: ========
                                                                      00400000-00401000 r-xp 00000000 08:03 349020                             /usr/bin/python2.6
                                         00600000-00601000 r--p 00000000 08:03 349020                             /usr/bin/python2.6
            00601000-00602000 rw-p 00001000 08:03 349020                             /usr/bin/python2.6
                                                                                                       00d32000-00fa4000 rw-p 00d32000 00:00 0                                  [heap]
                                                              7f18bc000000-7f18bc021000 rw-p 7f18bc000000 00:00 0
                                                                                                                  7f18bc021000-7f18c0000000 ---p 7f18bc021000 00:00 0
                                              7f18c1063000-7f18c1079000 r-xp 00000000 08:03 63739                      /lib64/libgcc_s.so.1
                   7f18c1079000-7f18c1278000 ---p 00016000 08:03 63739                      /lib64/libgcc_s.so.1
                                                                                                                7f18c1278000-7f18c1279000 r--p 00015000 08:03 63739                      /lib64/libgcc_s.so.1
                                                                                     7f18c1279000-7f18c127a000 rw-p 00016000 08:03 63739                      /lib64/libgcc_s.so.1
                                                          7f18c127a000-7f18c127c000 r-xp 00000000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
                                        7f18c127c000-7f18c147b000 ---p 00002000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
                      7f18c147b000-7f18c147c000 r--p 00001000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
    7f18c147c000-7f18c147d000 rw-p 00002000 08:03 157634                     /usr/lib64/gconv/ISO8859-1.so
                                                                                                          7f18c147d000-7Abortado
Comment 5 Andrey Kislyuk (RETIRED) gentoo-dev 2009-06-14 03:15:45 UTC
Created attachment 194607 [details]
byobu-config_strace.log

I need help with this bug from someone knowledgeable about Python interpreter crashes.

Here is the strace log of the crash. I have been able to reproduce this and in fact I have two systems, one on which it crashes, one on which it doesn't. But I've removed all the relevant package differences between the two and I'm not sure what else to try.
Comment 6 Ax3 2009-07-13 22:58:26 UTC
Created attachment 197848 [details]
byobu-config strace
Comment 7 Ax3 2009-07-13 23:00:19 UTC
Same problem with byobu-config.  I've attached an strace above.

Here is emerge --info:

# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_7850_Dual-Core_Processor-with-glibc2.2.5
Timestamp of tree: Mon, 13 Jul 2009 18:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cdr cli cracklib crypt ctype cups dri fortran gd gdbm gpm hal howl iconv imap ipv6 isdnlog jpeg maildirpng midi mmx mudflap multilib mysql mysqli ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I've also registered this bug at the Launchpad page:
https://bugs.launchpad.net/byobu/+bug/399049

Thank you for your assistance!
Comment 8 Gustavo Delfino 2010-09-20 03:14:18 UTC
The ticket at the Launchpad page was closed as invalid. The developer there need info about "python-newt"
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2013-01-15 13:59:02 UTC
(In reply to comment #8)
> The ticket at the Launchpad page was closed as invalid. The developer there
> need info about "python-newt"

our package is dev-libs/newt
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2013-01-15 13:59:24 UTC
still exists with latest version?