aMule Forum

English => en_Bugs => Topic started by: jetboo on January 08, 2009, 07:14:49 PM

Title: [solved][gentoo]amule 2.2.3 crashes at starting
Post by: jetboo on January 08, 2009, 07:14:49 PM
i am on gentoo, when launching amule in a terminal i got the fallowing

Quote
Initialising aMule 2.2.3 using wxGTK2 v2.8.8 (Debugging)
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
Assertion failed: /var/tmp/portage/x11-libs/wxGTK-2.8.8.1/work/wxPython-src-2.8.8.1/src/common/socket.cpp:Initialize:142: Assertion 'wxIsMainThread()' failed. Call wxSocketBase::Initialize() from the main thread first!

Backtrace follows:


----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.3 using wxGTK2 v2.8.8 (Debugging)
Running on: Linux 2.6.22-gentoo-r9 i686

[2] ?? in amule [0x8075c63]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseud-2.8.so.0[0x493cc323]
[4] ?? in [0xb7f3f420]
[5] google_breakpad::FileID::ElfFileIdentifier(unsigned char*) in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so[0xb5f87b2d]
[6] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb5f8646f]
[7] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb5f866dd]
[8] google_breakpad::LinuxThread::ListModules(google_breakpad::CallbackParam<bool (*)(google_breakpad::ModuleInfo const&, void*)>*) const in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so[0xb5f89ed4]
[9] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb5f86210]
[10] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb5f86b92]
[11] clone in /lib/libc.so.6[0xb7c9f3fe]


--------------------------------------------------------------------------------
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: Kry on January 08, 2009, 09:27:11 PM
Try uninstalling the module in the backtrace (google_breakpad?)
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: jetboo on January 08, 2009, 10:45:29 PM
Try uninstalling the module in the backtrace (google_breakpad?)
hum how do i do this ?
i upgraded wxGTK to 2.8.9-r1 , compilet crypto++ with "-DCRYPTOPP_DISABLE_ASM" options , recompiled amule and all the stuff, the error remain there

Quote
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.3 using wxGTK2 v2.8.9 (Debugging)
Running on: Linux 2.6.22-gentoo-r9 i686

[2] ?? in amule [0x80767e3]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseud-2.8.so.0[0xb79621e3]
[4] ?? in [0xb7fb6420]
[5] google_breakpad::FileID::ElfFileIdentifier(unsigned char*) in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so[0xb599cb2d]
[6] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb599b46f]
[7] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb599b6dd]
[8] google_breakpad::LinuxThread::ListModules(google_breakpad::CallbackParam<bool (*)(google_breakpad::ModuleInfo const&, void*)>*) const in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so[0xb599eed4]
[9] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb599b210]
[10] ?? in /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0xb599bb92]
[11] clone in /lib/libc.so.6[0xb76b43fe]


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

Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: Kry on January 08, 2009, 11:25:37 PM
You have a module installed called "google breakpad" in your gnome/GTK system. Or something similar. That's what's crashing.  Can't help you much with it, maybe someone else can.
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: GonoszTopi on January 08, 2009, 11:34:19 PM
Assertion failed: [...] Assertion 'wxIsMainThread()' failed. Call wxSocketBase::Initialize() from the main thread first!

Actually, the HTTP download thread may try to initialize the socket lib before the main thread gets a chance. That would explain some strange reports where disabling the version-check solved connection issues.
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: Kry on January 09, 2009, 01:26:51 AM
That would make, actually, a lot of sense. And that was triggering the crash on the library. We should fix that.
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: jetboo on January 09, 2009, 08:49:19 PM
What do i have to do here ?  ::)
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: Stu Redman on January 09, 2009, 09:33:35 PM
Try disabling "check for new version at startup" or use current SVN (http://amule.uw.hu/tarballs/) where it's fixed.
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: jetboo on January 09, 2009, 10:20:14 PM
Try disabling "check for new version at startup" or use current SVN (http://amule.uw.hu/tarballs/) where it's fixed.
how i disable the new version cheking at startup ? whats the option ? amule -nocheck ?
the svn version isnt on portage
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: Stu Redman on January 09, 2009, 10:30:19 PM
Find NewVersionCheck in amule.conf and set it to 0.
Title: Re: [gentoo]amule 2.2.3 crashes at starting
Post by: jetboo on January 09, 2009, 10:44:14 PM
Find NewVersionCheck in amule.conf and set it to 0.

OK GREAT it works :D