amule crashes at startup Reproducible: Always Steps to Reproduce: 1. start amule 2. 3. Actual Results: crash
Created attachment 208552 [details] emerge --info
Created attachment 208555 [details] gdb amule
Please add "emerge -pvq amule".
(In reply to comment #3) pashgan@wing$ emerge -pvq amule [ebuild R ] net-p2p/amule-2.2.6 USE="gtk nls stats unicode -daemon -debug -geoip -remote -upnp"
Having a very similar problem the last couple of days. Upon startup, screen flashes and amule sort of messes up my desktop. Reemerging didn't help.
amule Initialising aMule 2.2.6 using wxGTK2 v2.8.10 Checking if there is an instance already running... No other instances are running. -------------------------------------------------------------------------------- A fatal error has occurred and aMule has crashed. Please assist us in fixing this problem by posting the backtrace below in our 'aMule Crashes' forum and include as much information as possible regarding the circumstances of this crash. The forum is located here: http://forum.amule.org/index.php?board=67.0 If possible, please try to generate a real backtrace of this crash: http://wiki.amule.org/index.php/Backtraces ----------------------------=| BACKTRACE FOLLOWS: |=---------------------------- Current version is: aMule 2.2.6 using wxGTK2 v2.8.10 Running on: Linux 2.6.31.5 x86_64 [2] ?? in amule[0x42dfe4] [3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0x7f185a7f230c] [4] ?? in /lib/libpthread.so.0[0x7f185baac010] [5] ?? in amule[0x65bc44] [6] ?? in amule[0x65b539] [7] ?? in amule[0x5cc3ed] [8] ?? in amule[0x5ca14e] [9] ?? in amule[0x56ede0] [10] ?? in amule[0x4394ec] [11] ?? in amule[0x4e74b6] [12] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x7f185a794642] [13] ?? in amule[0x4e7742] [14] __libc_start_main in /lib/libc.so.6[0x7f18599e5bbd] [15] ?? in amule[0x42d189] -------------------------------------------------------------------------------- Abandon and my emerge --info Portage 2.1.7.4 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31.5 x86_64) ================================================================= System uname: Linux-2.6.31.5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 10 Nov 2009 17:00:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 -msse3 -msse2 -msse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LDFLAGS="-Wl,-O1" LINGUAS="fr" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl additions alsa amd64 berkdb bittorrent bzip2 cairo cddb cli consolekit cracklib crypt cuda cups dbus dri dts dvb dvd dvdr dvdread embedded encode extras fat ffmpeg flac fortran gdbm geoip gif gnome gpm gtk hal httpd iconv ipv6 jpeg kde lame lcms libnotify libv4l2 live lm_sensors logitech-mouse mad matroska melt mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer msn mudflap multilib mysql ncurses nepomuk nfs nls nptl nptlonly nsplugin ntfs objc ogg openexr opengl openmp optimisememory pam pcre pdf perl plasma png policykit postgres pppd python qt3support qt4 readline reflection reiserfs rtsp scanner sdl session smp spl sql sqlite sse sse2 ssl ssse3 stream subtitles svg sysfs tcpd theora threads thumbnail tiff truetype tv unicode usb v4l v4l2 vcd visualization vorbis webkit wma x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS It was working fine a week ago. Thanks
Same here. I guess it occured after an update of wxGTK.
(In reply to comment #7) > Same here. I guess it occured after an update of wxGTK. > same problem on my 64 bits gentoo with aMule 2.2.6 using wxGTK2 v2.8.10
I've same problem with amule 2.2.6 also I tried amule-svn9874 but problem continued. Btw, how to open debug mode? I added -ggdb and debug flag for amule but when I was running gdb which wrote "Reading symbols from /usr/bin/amule...(no debugging symbols found)" so how is it possible ?
b3hzat, you can follow instructions on : http://wiki.amule.org/index.php/Backtraces But Paul already attached the backtrace
I had the same problem on my 64bits gentoo. After a lots of trial and error I found the problem is related to crypto++ libs, which give lots of troubles when optimized. So now I'm using crypto++-5.5.2-r1 with the modified ebuild I'm posting now, everything compiles and runs fine. In this ebuild I remove sse3 extensions and append -DCRYPTOPP_DISABLE_ASM flags to the compiler. I no longer have an original ebuild file so I couldn't create a patch, but that's it.
Created attachment 211027 [details] modified crypto++ ebuild
(In reply to comment #11) > I had the same problem on my 64bits gentoo. After a lots of trial and error I > found the problem is related to crypto++ libs, which give lots of troubles when > optimized. > So now I'm using crypto++-5.5.2-r1 with the modified ebuild I'm posting now, > everything compiles and runs fine. In this ebuild I remove sse3 extensions and > append -DCRYPTOPP_DISABLE_ASM flags to the compiler. > I no longer have an original ebuild file so I couldn't create a patch, but > that's it. > I tried this but I've another problem with amule. When linking time, collect2 returning exit_failure and compile crashes. Any suggest or idea ? regards, b3hzat emerge -pqv =net-p2p/amule-2.2.6 [ebuild N ] net-p2p/amule-2.2.6 USE="daemon geoip gtk nls remote stats unicode upnp -debug" emerge --info =net-p2p/amule-2.2.6 Portage 2.2_rc51 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.32-rc6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-rc6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 25 Nov 2009 17:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -msse4.1 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.linux.org.tr/pub/gentoo/" LANG="tr_TR.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="tr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acc accessibility acl acpi adplug akode alsa amd64 apache2 apm arts:3.5 asf audacious automount bash-completion berkdb bluetooth branding bzip2 cairo cdr cgi chardet cli consolekit cracklib crypt cscope cups curl custom-optimization cvs daemon dbus dedicated dri dts dvb dvd dvd+rw dvdr dvdread eds emacs embedded emboss encode esd evo examples exif expat extras fam ffmpeg firefox flac force-cgi-redirecti fortran gd gdbm geoip gif git gnome gnutls gpm graphite gstreamer gtk guionly hal hddtemp iconv id3tag ipv6 jack java java5 java6 jpeg kde kerberos lcd lcms ldap libnotify lm_sensors mad matroska meanwhile midi mikmod mmx mng modplug modules mozsha1 mp3 mp4 mpd mpeg msn mtp mudflap multilib musepack mysql ncurses networkmanager nis nls nptl nptlonly ntfs nvidia objc objc++ objc-gc ogg opengl openmp openntpd pam parse-clocks pcre pdf perl png ppds pppd prediction python qq qt3 qt3support qt4 quicktime rar readline reflection remote rss samba sdl server session sftp sid slp smapi smbclient sndfile sock5 sockets sound speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification stats stream streamer subversion svg svn symlink sysfs tcpd theora threads thunar tiff tk truetype tta unicode upnp usb v4l2 video vim-pager vim-syntax vim-with-x vorbis wavpack webdav webkit wma wmf wxwindows x264 xine xinerama xinetd xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="tr" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #13) > (In reply to comment #11) > > I had the same problem on my 64bits gentoo. After a lots of trial and error I > > found the problem is related to crypto++ libs, which give lots of troubles when > > optimized. > > So now I'm using crypto++-5.5.2-r1 with the modified ebuild I'm posting now, > > everything compiles and runs fine. In this ebuild I remove sse3 extensions and > > append -DCRYPTOPP_DISABLE_ASM flags to the compiler. > > I no longer have an original ebuild file so I couldn't create a patch, but > > that's it. > > > > I tried this but I've another problem with amule. When linking time, collect2 > returning exit_failure and compile crashes. > > Any suggest or idea ? > > regards, > b3hzat > Okay, I solved. I moved /usr/include/cryptopp to /usr/include/cryptopp_old and linked crypto++ to cryptopp. So, it's work now :) thanks & regards, b3hzat.
(In reply to comment #11) >...In this ebuild I remove sse3 extensions and > append -DCRYPTOPP_DISABLE_ASM flags to the compiler. Works for me. Tommaso, respect.
amule 2.2.6 works for me, even with crypto++ 5.6, as long as crypto++ won't fail its tests (built with FEATURES=test). According to this thread http://forum.amule.org/index.php?topic=17665.0 it may help to add -DCRYPTOPP_DISABLE_ASM to cflags of crypto++ to make it pass all tests. For me it passes all tests with -O1 and this flag added, other optimization not tested.
The people having issues, can you please post the output of: 'emerge -pv amule crypto++' ? Thanks
(In reply to comment #16) > amule 2.2.6 works for me btw, I'm on AMD64
(In reply to comment #18) > (In reply to comment #16) > > amule 2.2.6 works for me > > btw, I'm on AMD64 > (In reply to comment #17) > The people having issues, can you please post the output of: > 'emerge -pv amule crypto++' ? > > Thanks > Some days ago amule doesnt start anymore with segfault. Tried recompiling without sse3 of crypto even temp. built with O1 so thanks for any hint/help on this. emerge -pv amule crypto++ These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] dev-libs/crypto++-5.5.2-r1 USE="sse3" 0 kB [ebuild R ] net-p2p/amule-2.2.6 USE="gtk nls unicode -daemon -debug -geoip -remote -stats -upnp" 0 kB Total: 2 packages (2 reinstalls), Size of downloads: 0 kB !!! One or more updates have been skipped due to a dependency conflict: dev-libs/crypto++:0 ('ebuild', '/', 'dev-libs/crypto++-5.6.0-r1', 'merge') conflicts with =dev-libs/crypto++-5.5* required by ('ebuild', '/', 'net-p2p/amule-2.2.6', 'merge')
emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo i686) ================================================================= System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 11 Mar 2010 18:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p2 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests candy ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo" LANG="de_CH.UTF-8" LC_ALL="de_CH.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de en fr it el" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi alsa avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dga dns dri dts dvd dvdr eds emboss emerald encode evo fam fbcon fbsplash ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal hddtemp iconv ipv6 java java6 jpeg jpeg2k kde kde4 lame laptop ldap libnotify lm_sensors mad matroska mikmod mmx mmxext mng modules mp3 mp4 mpeg msn mudflap nautilus ncurses nls nntp nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre pda pdf perl pipechan plasma png ppds pppd python qt3support qt4 quicktime rar readline reflection samba scanner sdl session skins smp spell spl sse sse2 ssl ssse3 startup-notification subversion svg svga sysfs syslog tcpd themes theora thunar tiff truetype unicode usb vcd vnc vorbis wav wifi win32codecs wma wmf x264 x86 xcb xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr it el" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Okay guys, FYI this is waiting until bug 308335, so you may want to poke the crypto herd to get it fixed :)
Everyone having those issues please sync and reemerge crypto++.
I just re-emerged crypto++ and amule and I still get the segfault immediately when starting.
OK, my problem is this apparently: http://bugs.gentoo.org/show_bug.cgi?id=310791 Sorry for the noise.