Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191027 - net-p2p/deluge segfault when UPnP is enabled
Summary: net-p2p/deluge segfault when UPnP is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-02 03:59 UTC by indarios
Modified: 2008-10-20 19:11 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 indarios 2007-09-02 03:59:20 UTC
When running Deluge, any version It wont matter I turn on UPnP in the options and after a restart of Deluge It will fail, I have to clear out the .config/deluge folder before being able to use deluge again.. There is no real useful information coming from deluge when it crashes but I'm posting it anyway.



Reproducible: Always

Steps to Reproduce:
1.Enable UPnP in Deluge options
2.Quit out of Deluge
3.Start Deluge in a terminal



~> deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Capping download to -1 bytes per second
Capping upload to -1 bytes per second
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin TorrentPieces
Initialising plugin TorrentSearch
Initialising plugin Locations
Initialising plugin ExtraStats
Initialising plugin BlocklistImport
Initialising plugin SimpleRSS
Initialising plugin DesiredRatio
Initialising plugin TorrentCreator
Initialising plugin TorrentFiles
Initialising plugin TorrentNotification
Initialising plugin TorrentPeers
Initialising plugin SpeedLimiter
Initialising plugin NetworkHealth
Initialising plugin EventLogging
Initialising plugin NetworkGraph
Applying preferences
Starting DHT...
Capping download to -1 bytes per second
Capping upload to -1 bytes per second
Segmentation fault
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-02 07:34:40 UTC
Please, post emerge --info and attach a backtrace, thanks.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 indarios 2007-09-04 03:44:52 UTC
(In reply to comment #1)
> Please, post emerge --info and attach a backtrace, thanks.
> 
> http://www.gentoo.org/proj/en/qa/backtraces.xml
> 

Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 02 Sep 2007 17:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -msse3 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -msse3 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi aiglx alsa amd64 artworkextra async avahi bash-completion berkdb binary-drivers bitmap-fonts bonjour branding bzip2 cairo cdaudio cddb cdparanoia cdr cdrom cjk cli cpudetection cracklib crypt css cups daap dbus debug directfb disk-partition divx dri dv dvd dvdr dvdread eds emboss enca encode esd evo exif fam fat fbcon fbsplash ffmpeg firefox flac fortran ftp fuse gdbm gedit gif gimp glew glitz gmedia gnome gnome-print gnutls gpm gstreamer gtk gtkhtml guitarhero hal hddtemp howl howl-compat iconv ieee1394 imagemagick imlib inkjar ipod ipv6 isdnlog java javascript jfs joystick jpeg jpeg2k kerberos keyring ladspa lame libnotify libsamplerate lm_sensors lzo mad md5sum midi mikmod mjpeg mmap mmx mmxext mng mono mozsha1 mp2 mp3 mp4 mpeg mplayer mudflap musepack music musicbrainz nautilus ncurses net network nfs njb nls nptl nptlonly nsplugin ntfs nvidia ofx ogg oggvorbis openal opengl openmp openssh openssl pam pcre pdf perl png pppd python quicktime rar readline realmedia reflection reiserfs samba sdl session speex spell spl sse sse2 ssl ssse3 startup-notification subtitles svg sysfs tagwriting tcpd theora threads tiff tordns totem truetype truetype-fonts type1-fonts unicode unzip upnp usb vcd vim vnc vorbis wma wmf wmp x264 xfs xml xorg xpm xprint xv xvid" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


and here is the backtrace to deluge, thanks.

(gdb) r
Starting program: /usr/bin/python /usr/bin/deluge
[Thread debugging using libthread_db enabled]
[New Thread 46978848084192 (LWP 27305)]
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
[New Thread 1082140992 (LWP 27308)]
[New Thread 1090533696 (LWP 27309)]
[New Thread 1098926400 (LWP 27310)]
Applying preferences
Capping download to -1 bytes per second
Capping upload to -1 bytes per second
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin TorrentPieces
Initialising plugin TorrentSearch
Initialising plugin Locations
Initialising plugin ExtraStats
Initialising plugin BlocklistImport
Initialising plugin SimpleRSS
Initialising plugin DesiredRatio
Initialising plugin TorrentCreator
Initialising plugin TorrentFiles
Initialising plugin TorrentNotification
Initialising plugin TorrentPeers
Initialising plugin SpeedLimiter
Initialising plugin NetworkHealth
Initialising plugin EventLogging
Initialising plugin NetworkGraph
Applying preferences
Starting DHT...
[New Thread 1107319104 (LWP 27311)]
Capping download to -1 bytes per second
Capping upload to -1 bytes per second

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090533696 (LWP 27309)]
__pthread_mutex_lock (mutex=0x0) at pthread_mutex_lock.c:46
46      pthread_mutex_lock.c: No such file or directory.
        in pthread_mutex_lock.c
Comment 3 indarios 2007-09-19 06:48:36 UTC
Any Ideas? This is still happening with the new version 0.5.5
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2007-09-26 16:39:00 UTC
Can't reproduce on x86. Could you try with 9999?
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-09-26 19:10:14 UTC
Can't reproduce either on amd64
Comment 6 indarios 2007-09-27 20:28:40 UTC
Have tried 9999 no luck. trying to re-emerge entire system to see if something broke in my system.

Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-10-05 14:23:08 UTC
News?
Comment 8 indarios 2007-10-05 19:24:32 UTC
Well It looks like I'm getting the same problems with Deluge still.. after emerging my system. 

Here is my package.keywords file if this helps any.

net-www/nspluginwrapper 
app-portage/udept
net-www/netscape-flash
games-fps/nexuiz
media-sound/rubyripper
media-sound/amarok

app-pda/gtkpod 
media-libs/libgpod

#Picard
media-sound/picard
dev-python/PyQt4
media-libs/mutagen
media-libs/libdiscid

##Printer Driver
net-print/m2300w

##Gnome Apps
x11-themes/gtk-engines-rezlooks
mail-client/mail-notification
app-crypt/seahorse
x11-misc/revelation
app-misc/tomboy
media-sound/cowbell
media-gfx/f-spot

#Deluge
net-p2p/deluge
dev-python/notify-python

##Sound Converter
media-sound/soundconverter
dev-python/gst-python

#Banshee
media-sound/banshee 
#media-plugins/gst-plugins-taglib
media-plugins/gst-plugins-faad
media-libs/gst-plugins-base
media-libs/gstreamer

##Pidgin
net-im/pidgin
Comment 9 cucu ionut 2007-10-26 10:11:31 UTC
segfaults here to. I have an ~amd64 arch
This is my info:
Portage 2.1.3.15 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.21-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Fri, 26 Oct 2007 08:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r2
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe "
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/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe "
DISTDIR="/var/tmp/dist"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/"
LINGUAS="en_GB ro"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde /usr/portage/local/layman/mpd"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox fluxbox fortran gdbm gif glitz gtk gtk2 hal iconv ipv6 isdnlog jpeg kerberos ldap libsamplerate lm_sensors mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline reflection session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis wxwindows xcb xcomposite xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB ro" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2008-01-16 15:50:12 UTC
Still the same with 0.5.8?
Comment 11 indarios 2008-01-16 21:04:27 UTC
(In reply to comment #10)
> Still the same with 0.5.8?
> 

Its working here now, I'm thinking it had to do some thing with the PnP package in portage at the time i filed this bug.
Comment 12 indarios 2008-06-20 17:57:16 UTC
Seems to work here as well now.