Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137987 - net-p2p/bittornado-0.3.15 segmentation fault/Illegal Instruction
Summary: net-p2p/bittornado-0.3.15 segmentation fault/Illegal Instruction
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: Low minor (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on: 170914
Blocks: 137382 166431
  Show dependency tree
 
Reported: 2006-06-25 16:11 UTC by Mike Hlavac
Modified: 2007-07-02 20:34 UTC (History)
0 users

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 Mike Hlavac 2006-06-25 16:11:31 UTC
Bittornado segfaults (or issues an illegal instruction) when choosing the cancel button when selecting a torrent.

Steps to reproduce:

1.  Execute /usr/bin/btdownloadgui.py
2.  Click cancel button when asked to select a .torrent file
3.  Click OK on usage dialog
4.  Application closes, but Illegal instruction or Segmentation Fault printed to the screen.

Emerge --info is below:

Portage 2.1_pre7-r5 (default-linux/alpha/2006.0, gcc-3.4.6, glibc-2.3.5-r3, 2.6.17.1 alpha)
=================================================================
System uname: 2.6.17.1 alpha EV56
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r4
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X alsa berkdb bitmap-fonts bzip2 cli crypt dri dvd eds encode fortran gdbm gif gnome gstreamer gtk2 imlib input_devices_mouse isdnlog jpeg libg++ libwww mad motif moznoirc mp3 mpeg ncurses nptl nptlonly ogg opengl pam pcre pdflib perl png pppd python readline reflection sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales video_cards_radeon vorbis xml xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard kernel_linux userland_GNU video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thomas Cort (RETIRED) gentoo-dev 2006-07-03 11:17:41 UTC
Does 0.3.12 segfault? It is the current stable version on alpha. Also, kloeri marked python-2.4.3-r1 stable on alpha 2 days after you made this bug report. After upgrading python are you still experiencing problems? Does btdownloadcurses.py work without segfaulting?

Maybe this could be related to wxGTK? There are a few programs that use wxGTK that don't work very well amule (Bug #134792) and audacity (Bug #113119). With audacity I compiled wxGTK with FEATURES="debug" USE="debug" and it stopped segfaulting. Maybe you could try that.
Comment 2 Mike Hlavac 2006-07-08 21:11:04 UTC
Upgrading python to 2.4.3-r1 does not fix this problem, nor does recompiling wxGTK with debug (although it does fix the audacity problem)

Using btdownloadcurses.py does not seem to produce any errors.

Reverting to bittornado-0.3.12, I still encounter this error.
Comment 3 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-03-14 17:54:17 UTC
Problem:
-------
Problem seems to be in wxwindows (wxDirDialog) which is buggy and make bittornado gui segfaults (see #170914). 
btdownloadgui.py (line 2006) and btcompletedirgui.py are afected.

Workaround:
-----------
Use the curses based tools from the package, They work just fine.
btdownloadcurses.py  
Comment 4 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-05-03 10:59:45 UTC
The bug is gone using the wxGTK-2.6.0.4 that will be in portage very soon. 

I'll mark this as FIXED and keyword the latest version of bittornado when it happend.

Thanks.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-07-02 20:34:38 UTC
This is fixed with glibc-2.5-r3 and actual wxGTK