Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98109 - net-p2p/bittorrent-3.4.2-r2 - reattaching screen may cause btlaunchmanycurses.py to crash
Summary: net-p2p/bittorrent-3.4.2-r2 - reattaching screen may cause btlaunchmanycurses...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-06 05:50 UTC by michael@smith-li.com
Modified: 2005-10-03 17:38 UTC (History)
0 users

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


Attachments
Original Poster's emerge info (emerge_info.txt,2.86 KB, text/plain)
2005-07-06 05:51 UTC, michael@smith-li.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michael@smith-li.com 2005-07-06 05:50:44 UTC
Trying to detach and reattach a screen instance in a different (larger?) window
causes btlaunchmanycurses.py to crash.

Reproducible: Sometimes
Steps to Reproduce:
In the console:
  1. cd to a folder with .torrent files
  2. screen btlaunchmanycurses.py ./ --max_upload_rate 1 # is the command I
     usually use
  3. ctrl-a d to detach

In a terminal, such as konsole (preferably with a much larger area):
  1. screen -r to reattach
Actual Results:  
btlaunchmanycurses.py quits, sometimes with the error message above.
Sometimes, but rarely, it will reattach successfully, or, even more rarely,
reattach, but with the bt display very messed up (sorry I can't be more precise
about what "very messed up" means.)

Expected Results:  
btlaunchmanycurses.py should reappear in the reattached screen, align itself
happily to the new dimensions, and continue torrenting.

btlaunchmanycurses.py returns this error message:
  *** glibc detected *** double free or corruption (!prev): 0x081446d8 ***

Current Software (but I've seen it with earlier versions)
  net-p2p/bittorrent-3.4.2-r2
  app-misc/screen-4.0.2-r1

Emerge info to be attached separately.
Comment 1 michael@smith-li.com 2005-07-06 05:51:47 UTC
Created attachment 62746 [details]
Original Poster's emerge info
Comment 2 michael@smith-li.com 2005-07-06 20:21:40 UTC
I just experienced the crash again reattaching screen to Mac OS X's Terminal
over ssh. It gave me a bit more error message. Sorry, it's very jumbled, but I
didn't format it for fear that some information might be lost.

Here it is:

 window resize: 80 x 24    self.run()                                         |
 -------------------------------------  File "/usr/lib/python2.3/threading.py",
line 422, in run                    self.__target(*self.__args, **self.__kwargs)
                                                                 File
"/usr/bin/btlaunchmanycurses.py", line 156, in display_thread                  
                                     mainwin.addnstr(winpos, mainwinw - 30,
filesize, 8)                           error: addnstr() returned ERR
Comment 3 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-27 14:57:39 UTC
maybe python guys'd be more helpfull here? i'm sugesting reattach
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-16 16:48:14 UTC
you havn't attach your emerge info. are you using x86? if so, the newest version 
is 4.0.2 - is the problem still present in that version?
Comment 5 michael@smith-li.com 2005-09-21 07:10:55 UTC
I will test out the latest version of screen and report back.

Emerge Info
===========================================
Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirrors.pair.com"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 arts avi bash-completion berkdb
bootsplash bzlib cdda cddb cdio cdparanoia cdr cjk cpudetection crypt cups curl
custom-cflags dga divx4linux doc dpms dts dvd dvdr dvdread dxr3 edl eds encode
esd fam fb fbcon flac flood foomaticdb fortran gd gdbm gif gimpprint gnome
gstreamer gtk gtk2 guile httpd icq imagemagick imap imlib ipv6 java javascript
jpeg junit kde ldap libclamav libg++ libwww logitech-mouse mad mikmod ming mjpeg
mmx mmxext mng mono motif mozdevelop mozilla moznoirc moznomail mozp3p mozsvg
mp3 mpeg mpeg4 mplayer msn ncurses nls nowebdav nptl nptlonly ogg opengl oscar
pam pdflib perl php png ppds python qt quicktime readline samba sdl slp spell
sse sse2 ssl stream subversion svg svga tcltk tcpd tetex tidy tiff truetype
truetype-fonts type1 type1-fonts unicode usb vcd vcdimager vlm vorbis
win32codecs xine xml2 xpm xv yahoo zeroconf zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


Comment 6 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-03 17:38:19 UTC
no feedback from reporter. closing