Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135250 - aMule: Segmentation fault
Summary: aMule: Segmentation fault
Status: RESOLVED DUPLICATE of bug 135101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 03:45 UTC by Sawk
Modified: 2006-06-14 22:02 UTC (History)
6 users (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 Sawk 2006-06-02 03:45:08 UTC
(gdb) run
Starting program: /usr/bin/amule 
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226447184 (LWP 20348)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226447184 (LWP 20348)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb71b0650 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#2  0xb7418b12 in gdk_keymap_get_entries_for_keyval () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x00000061 in ?? ()
#4  0xb7736dc8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xbf8a9d40 in ?? ()
#6  0xb7572f9f in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb76998a7 in gtk_combo_string_key () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xbf8a9d28 in ?? ()
#9  0xb72cd05f in g_free () from /usr/lib/libglib-2.0.so.0
#10 0x085c7e60 in ?? ()
#11 0xb7572f87 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb72d1f90 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
Previous frame inner to this frame (corrupt stack?)

-------------------------------------------------------------------------------

gdb $(which /usr/bin/amule) --core core --batch --quiet -ex "thread apply all bt full" -ex "quit":

localhost sawk # gdb $(which /usr/bin/amule) --core core --batch --quiet -ex "thread apply all bt full" -ex "quit"
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
Core was generated by `amule'.
Program terminated with signal 11, Segmentation fault.

warning: Can't read pathname for load map: Input/output error.
#0  0x00000000 in ?? ()

Thread 1 (process 8183):
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xb71b4650 in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#2  0xb741cb12 in gdk_keymap_get_entries_for_keyval () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#3  0x00000061 in ?? ()
No symbol table info available.
#4  0xb773adc8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#5  0xbffad5c0 in ?? ()
No symbol table info available.
#6  0xb7576f9f in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0xb769d8a7 in gtk_combo_string_key () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0xbffad5a8 in ?? ()
No symbol table info available.
#9  0xb72d105f in g_free () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x085c7e60 in ?? ()
No symbol table info available.
#11 0xb7576f87 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0xb72d5f90 in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)

------------------------------------------------------------------------------------------

Portage 2.1_rc3-r5 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT@euro.ISO-8859-1"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-z,now"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS=""
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/wmii"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm asf avi bash-completion berkdb bitmap-fonts cairo cdparanoia cli crypt cups curl custom-cflags dga directfb dri dvb dvd dvdr eds emboss encode fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gpm gstreamer gtk gtk2 i8x0 imlib infopipe isdnlog java javascript jce jpeg libg++ libsamplerate libwww live logitech-mouse lzo mad matroska mikmod mmx motif moznocompose moznoirc moznomail moznoxft mp3 mpeg musepack musicbrainz mythtv ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openssh oss pam pcre pdflib perl png pop pppd python quicktime readline real reflection rtc sdl session sndfile speex spell spl sse sse2 ssl stats tcpd tga theora timidity truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs xinerama xml2 xmms xorg xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_it userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 03:52:34 UTC
Which version exactly? Please, always include exact ebuild name and version in bug summary.
Comment 2 Sawk 2006-06-02 04:29:25 UTC
(In reply to comment #1)
> Which version exactly? Please, always include exact ebuild name and version in
> bug summary.
> 

I'm sorry :P

net-p2p/amule-2.1.1
Comment 3 Thomas Fischer 2006-06-04 01:57:05 UTC
Same Problem here.
net-p2p/amule-2.1.1  USE="gtk nls unicode -amuled -debug -remote -stats"


emerge --info
Portage 2.1_rc4-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/opt/distfiles"
FEATURES="autoconfig collision-protect distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/"
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="/opt"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups dbus eds emboss encode esd flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Josef Grunig 2006-06-04 11:46:45 UTC
Same here:

net-p2p/amule-2.1.1  USE="amuled gtk nls -debug -remote -stats -unicode"

emerge --info
Portage 2.1_rc4-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
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="x86 7zip X X509 a52 aac aalib acpi aim aimextras alsa amarok amr amuled apache2 apm arts artswrappersuid asf async atm audiofile automount bash-completion bdf bitmap-fonts bzip2 ccache cdb cdda cddb cdio cdparanoia cdr cdrom chroot clamav clamd crypt css cups dhcp dri dv dvb dvd dvdr dvdread dvi encode fame fbcon ffmpeg firefox foomaticdb ftp gif gimp gkrellm glx gmail gmailtimestamps gphoto2 gs gtk gtk2 h323 hal icq imagemagick imap ipv6 jabber java javascript jbig joystick jpeg jpeg2k kde lame lm_sensors logitech-mouse mjpeg mmx mmxext mp3 mpeg mplayer musicbrainz mysql nls nodoc nptl nptlonly nsplugin nvidia ogg oggvorbis openal openexr opengl openssl oss pam pcre pdf perl php png python qt quicktime rdesktop readline real samba scanner sdl session slp smime spell sql sse sse-filters sse2 ssl stream subversion svg syslog tetex tga theora thesaurus threads tiff transcode truetype truetype-fonts unzip usb v4l v4l2 vcd vnc vorbis wifi win32codecs wma wma123 wmf wxgtk1 xine xml xml2 xosd xscreensaver xv xvid yahoo zip zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Thomas Fischer 2006-06-07 04:16:46 UTC
I have the same "Segmentation fault" error in media-video/vlc-0.8.5-r1 now.
Comment 6 Pedro Ferreira 2006-06-11 16:44:30 UTC
Well... what can I say? Same here...
Comment 7 Pedro Ferreira 2006-06-11 19:26:02 UTC
Oh, and here's a stack trace:

mahound@magrathea ~ $ gdb amule
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

gdb> r
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226171920 (LWP 18027)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226171920 (LWP 18027)]
Error while running hook_stop:
Invalid type combination in ordering comparison.
0x00000000 in ?? ()
gdb> bt
#0  0x00000000 in ?? ()
#1  0xb71a49ce in XSetErrorHandler () from /usr/lib/libSDL-1.2.so.0
#2  0xb73e6ac5 in gdk_keymap_get_entries_for_keyval () from /usr/lib/libgdk-x11-2.0.so.0
#3  0xb73af709 in gdk_pre_parse_libgtk_only () from /usr/lib/libgdk-x11-2.0.so.0#4  0xb7544281 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb729c17e in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#6  0xb7544732 in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb75447a4 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb7be692a in wxApp::Initialize () from /usr/lib/libwx_gtk2_core-2.6.so.0
#9  0xb79eab16 in wxEntryStart () from /usr/lib/libwx_base-2.6.so.0
#10 0xb79eaefc in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#11 0x081222ce in std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
#12 0xb772a892 in __libc_start_main () from /lib/libc.so.6
#13 0x08067e61 in ?? ()
gdb>
Comment 8 Pedro Ferreira 2006-06-12 05:20:52 UTC
Well, i compile wxGTK without SDL support, and aMule started working.

USE="-sdl" emerge wxGTK

It will fix it, for now...
Comment 9 Peter Wendrich 2006-06-12 14:44:20 UTC
Confirmed, compiling wxGtk without sdl support allows start of amule (tested with amule-2.1.3). I had seg fault with amule 2.1.1, 2.1.2 and 2.1.3 before reemerging wxGtk.
Comment 10 Jon Hood (RETIRED) gentoo-dev 2006-06-12 14:48:33 UTC
wx team, could you please consult on why the "sdl" flag will cause this fault?
Comment 11 Anton Romanov 2006-06-12 22:19:02 UTC
actually, it seems not wx stuff but seems like a duplicate of #135101
Comment 12 SpanKY gentoo-dev 2006-06-14 22:02:37 UTC

*** This bug has been marked as a duplicate of 135101 ***