aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [solved][gentoo]amule 2.2.3 crashes at starting  (Read 5980 times)

jetboo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
[solved][gentoo]amule 2.2.3 crashes at starting
« 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]


--------------------------------------------------------------------------------
« Last Edit: January 09, 2009, 10:44:26 PM by jetboo »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #1 on: January 08, 2009, 09:27:11 PM »

Try uninstalling the module in the backtrace (google_breakpad?)
Logged

jetboo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #2 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]


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

Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #3 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.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #4 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.
Logged
concordia cum veritate

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #5 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.
Logged

jetboo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #6 on: January 09, 2009, 08:49:19 PM »

What do i have to do here ?  ::)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #7 on: January 09, 2009, 09:33:35 PM »

Try disabling "check for new version at startup" or use current SVN where it's fixed.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

jetboo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #8 on: January 09, 2009, 10:20:14 PM »

Try disabling "check for new version at startup" or use current SVN where it's fixed.
how i disable the new version cheking at startup ? whats the option ? amule -nocheck ?
the svn version isnt on portage
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #9 on: January 09, 2009, 10:30:19 PM »

Find NewVersionCheck in amule.conf and set it to 0.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

jetboo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: [gentoo]amule 2.2.3 crashes at starting
« Reply #10 on: January 09, 2009, 10:44:14 PM »

Find NewVersionCheck in amule.conf and set it to 0.

OK GREAT it works :D
Logged