Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56003 - bittornado problem with screen + nptl
Summary: bittornado problem with screen + nptl
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-03 16:57 UTC by Marcin Kryczek (RETIRED)
Modified: 2006-06-04 09:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kryczek (RETIRED) gentoo-dev 2004-07-03 16:57:29 UTC
i've noticed some problems with btlaunchmanycurses.py running on screen, while using glibc with nptl.
lets assume that i have few torrent's files in directory ~/torrent. if i start btlaunchmanycurses.py like this:
screen -dmS torrent btlaunchmanycurses.py ~/torrent/
it works for a while, but after one or two completed diskchecks, screen is terminating. it's like screen get signal from one task, that it has finished and close all others thinking that's the end of this job.
everything works just fine if i run screen first and then manually lauch btlaunchmanycurses. everything works ofkors fine without nptl in glibc.

currently i've managed to run it like this:
screen -dmS torrent bash --rcfile ~/.torrent-rcfile
and in ~/.torrent-rcfile: btlaunchmanycurses.py ~/torrent/ 
(screen -dmS bash -c 'btlaunchmanycurses.py ~/torrent/' didn't work), but as you see it's really ugly workaround;/
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-07-04 11:53:33 UTC
rizzo, do you want to handle this one?
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-07-06 16:20:09 UTC
we may put bittorrent-theshadow uner the net-p2p herd soon
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-07-13 08:21:24 UTC
could you please test the lattest bittornado version and let me know if it is having the same problems?
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2004-07-14 14:40:56 UTC
hmm. bittornado doesn't work at all;>
<aye@CogES>/mnt/kieszen/INCOMPLETED/torrent: btlaunchmanycurses.py .

EXCEPTION:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/BitTornado/launchmanycore.py", line 190, in __init__
    config['upload_unit_size'])
TypeError: __init__() takes exactly 4 arguments (3 given)

please report this to T-0.3.6@degreez.net

Comment 5 hollywoodb 2004-07-15 23:02:33 UTC
bittorrent-theshadow works fine here, nptl and all.... i think this has something to do with screen/nptl

Portage 2.0.51_pre13 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.4.20040619-r0, 2.6.7-hb3 i686 AMD Athlon(tm))
Comment 6 Jon Hood (RETIRED) gentoo-dev 2004-07-17 08:23:46 UTC
I do agree that this seems like a problem with screen + nptl; bug-wranglers, could you please check into that?

As for the bittornado problem, could you please try 0.3.7? I think it may have some fixes in it, though I'm not entirely sure it will fix your problem. It seems to be working fine for me.
Comment 7 Marcin Kryczek (RETIRED) gentoo-dev 2004-07-21 11:44:11 UTC
still the same problem with bittornado-0.3.7 (sorry i didn't answer earlier, but i was really busy last days)
Comment 8 Jon Hood (RETIRED) gentoo-dev 2004-08-08 20:22:47 UTC
bug wranglers, could you please assign this to whoever works on screen/nptl related material? The issue seems to reside in that combination.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-09 14:18:11 UTC
solar, I think you're probably the best equipped for this bug
Comment 10 solar (RETIRED) gentoo-dev 2004-08-13 06:38:20 UTC
I don't use nptl, 2.6.x or bittornado. 
Comment 11 Jon Hood (RETIRED) gentoo-dev 2004-09-04 08:27:29 UTC
plasmaroo, I'm hoping I can shank this bug off to you, since I am lost when it comes to nptl... if not, is there anyone who knows why nptl+ncurses would be causing this?
Comment 12 Martin Wienold 2004-10-23 08:50:31 UTC
don't want to disturb the discussion, but i have the same problem too.
manual starting works, but not with screen -dmS btlaunchmanycurses.py ~/torrents

running bittornado 0.3.8, screen 4.0.2 and ncurses 5.4-r5

Portage 2.0.51-r2 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Unknow CPU Type
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox sfperms userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa avi berkdb bitmap-fonts cdr chroot crypt cups divx4linux dvd dvdr encode fam flac foomatic foomaticdb freetype gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java javascript joystick jpeg libg++ libwww mad matroska mikmod mmx mmx2 motif mpeg ncurses nls nptl offensive oggvorbis opengl pam pdflib pic png ppds python quicktime readline samba sdl slang spell sqlite sse ssl tcpd theora tiff truetype usb x86 xface xml2 xmms xprint xv xvid zlib"
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 09:51:33 UTC
Reopen if you can reproduce the problem with bittornado-0.3.15.