aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Amule Crash at start  (Read 1871 times)

FreedomSound

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Amule Crash at start
« on: April 23, 2007, 05:23:42 PM »

Hi sorry for my poor english.. I'm french.

amule crash at start. Here the amule's Backtrack log

Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.1.3 using wxGTK2 v2.8.1 (Unicoded)
Running on: Linux 2.6.20-15-generic i686

[2] wxThreadHelperThread::~wxThreadHelperThread() in amule [0x8084c8b]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb752d206]
[4] ?? in [0xffffe420]
[5] wxGIFDecoder::GetFrameSize(unsigned int) const in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb77e3162]
[6] wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb77e31cc]
[7] wxTextCtrl::wxTextCtrl() in amule [0x823906d]
[8] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0xb7480d65]
[9] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb7528cbf]
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0xb7528e0d]
[11] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0xb7528f76]
[12] wxTimerBase::Notify() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb782efe1]
[13] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0xb770a555]
[14] ?? in /usr/lib/libglib-2.0.so.0 [0xb6ede3c6]
[15] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0xb6edddf2]
[16] ?? in /usr/lib/libglib-2.0.so.0 [0xb6ee0dcf]
[17] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0xb6ee1179]
[18] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0xb6c8f044]
[19] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb7700d0c]
[20] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb77a2cee]
[21] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0xb77a22e1]
[22] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb74bd27a]
[23] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb74bd327]
[24] CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>, 64u, CryptoPP::HashTransformation>::~IteratedHash() in amule [0x812f490]
[25] __libc_start_main in /lib/tls/i686/cmov/libc.so.6[0xb71ebebc]
[26] wxNotebook::SetPadding(wxSize const&) in amule[0x8080fd1]


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

and gdb's backtrack :

Code: [Select]
(gdb) bt
#0  0xb780d162 in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0xb780d1cc in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x0823906d in ?? ()
#3  0xb74aad65 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7552cbf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7552e0d in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb7552f76 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7858fe1 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0xb7734555 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb6f083c6 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x089f5698 in ?? ()
#11 0x08926e00 in ?? ()
#12 0xbfb29118 in ?? ()
#13 0xb6f6e748 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xb7f06be0 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x08926e00 in ?? ()
---Type <return> to continue, or q <return> to quit---
#16 0xbfb29118 in ?? ()
#17 0xb6f1ffd2 in g_slist_prepend () from /usr/lib/libglib-2.0.so.0
#18 0xb6f07df2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb6f0adcf in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x085715a8 in ?? ()
#21 0x00000000 in ?? ()
(gdb)

Code: [Select]
(gdb) bt full
#0  0xb780d162 in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#1  0xb780d1cc in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#2  0x0823906d in ?? ()
No symbol table info available.
#3  0xb74aad65 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4  0xb7552cbf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0xb7552e0d in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0xb7552f76 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0xb7858fe1 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#8  0xb7734555 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0xb6f083c6 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x089f5698 in ?? ()
No symbol table info available.
#11 0x08926e00 in ?? ()
No symbol table info available.
#12 0xbfb29118 in ?? ()
No symbol table info available.
#13 0xb6f6e748 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0xb7f06be0 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#15 0x08926e00 in ?? ()
No symbol table info available.
#16 0xbfb29118 in ?? ()
No symbol table info available.
#17 0xb6f1ffd2 in g_slist_prepend () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0xb6f07df2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#19 0xb6f0adcf in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#20 0x085715a8 in ?? ()
No symbol table info available.
#21 0x00000000 in ?? ()
No symbol table info available.
(gdb)

Code: [Select]
(gdb) thread apply all bt

Thread 5 (Thread -1261487216 (LWP 12774)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f0784c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb754ffac in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb754ffff in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb755062c in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb75506bf in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08209953 in ?? ()
#7  0xb75513b8 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb755142d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7f0331b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb72cf57e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread -1269879920 (LWP 12773)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb72c83d1 in select () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
#2  0xb75ddbf2 in GSocket::Input_Timeout ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#3  0xb75ddc88 in GSocket::Read () from /usr/lib/libwx_baseu_net-2.8.so.0
#4  0xb75d92d3 in wxSocketBase::_Read () from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0xb75d94b7 in wxSocketBase::Read () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0xb75d7683 in wxSocketInputStream::OnSysRead ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0xb75cf1bc in wxHTTPStream::OnSysRead ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0xb7507372 in wxInputStream::Read () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x080e8fdd in ?? ()
#10 0xb75513b8 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb755142d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7f0331b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb72cf57e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1253094512 (LWP 12771)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f0a986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7556d78 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7556da1 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb754f6fd in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#5  0x0810da65 in ?? ()
#6  0xb75513b8 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb755142d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7f0331b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb72cf57e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1233910064 (LWP 12761)):
#0  0xb780d162 in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0xb780d1cc in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x0823906d in ?? ()
#3  0xb74aad65 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7552cbf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7552e0d in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb7552f76 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7858fe1 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#8  0xb7734555 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb6f083c6 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x089f5698 in ?? ()
#11 0x08926e00 in ?? ()
#12 0xbfb29118 in ?? ()
#13 0xb6f6e748 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xb7f06be0 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x08926e00 in ?? ()
#16 0xbfb29118 in ?? ()
#17 0xb6f1ffd2 in g_slist_prepend () from /usr/lib/libglib-2.0.so.0
#18 0xb6f07df2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb6f0adcf in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x085715a8 in ?? ()
#21 0x00000000 in ?? ()
(gdb)

I wish that can help you to.. help me ;)
greets
« Last Edit: April 23, 2007, 05:26:45 PM by FreedomSound »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Amule Crash at start
« Reply #1 on: April 23, 2007, 09:03:18 PM »

Hi FreedomSound,

Nevermind, I really don't know why we speak english, this is just a convention. I'd rather speak portuguese :P

Your problem is known, you are using aMule 2.1.3 with wx-2.8.*. You have three options:
1) Use wx-2.6.*. Recompile/relink aMule.

2) Or, get this patch, apply it to aMule 2.1.3 sources and recompile it: http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2
(instructions can be found in this thread: http://forum.amule.org/index.php?topic=11834.0)

3) Or... the best choice in my humble oppinion, if you are going to recompile it use a recent CVS tarball. Get one here: http://www.hirnriss.net/?area=cvs
instructions here:
http://www.amule.org/wiki/index.php/Main_Page
http://www.amule.org/wiki/index.php/Compilation_Installation

Cheers!
Logged