aMule Forum

English => Backtraces => Topic started by: jmanel on May 20, 2010, 10:22:21 PM

Title: crash with svn 10125 64 bit backtrace
Post by: jmanel on May 20, 2010, 10:22:21 PM
Hi,
   The info for my system is my post: amule 2.2.6 debian64 crashed without information .

Basically compiled cvs and run into gdb. My system is debian 64bits with a mix of paquets from stable and unstable.

I had the amule running some hours, 10 or something like this.

the info:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4e13d25 in ?? () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff4e13d25 in ?? () from /lib/libc.so.6
#1  0x00007ffff4e132af in iconv_close () from /lib/libc.so.6
#2  0x00007ffff28046dd in g_io_channel_unref () from /lib/libglib-2.0.so.0
#3  0x00007ffff280bfa1 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ffff280c325 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007ffff280ebee in g_source_remove () from /lib/libglib-2.0.so.0
#6  0x00007ffff62b9df6 in GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, G
SocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007ffff5eb6765 in GSocket::Read(char*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00007ffff5eb27e8 in wxSocketBase::_Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x00007ffff5eb28fc in wxSocketBase::Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#10 0x000000000066712e in CSocketClientProxy::Read (this=0x278a7d0, buffer=0x261cd01,
    nbytes=7784) at Proxy.cpp:1282
#11 0x00000000004e3976 in CEncryptedStreamSocket::Read (this=0xffffffff00ffffff,
    lpBuf=0x0, nBufLen=4294967264) at EncryptedStreamSocket.cpp:216
#12 0x00000000004e0794 in CEMSocket::OnReceive (this=0x278a7d0,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
#13 0x000000000049628a in CClientTCPSocket::OnReceive (this=0x278a7d0, nErrorCode=0)
    at ClientTCPSocket.cpp:1964
#14 0x000000000045b725 in CUpDownClient::SetDownloadLimit (this=0x1daf720,
    reducedownload=0) at BaseClient.cpp:2359
---Type <return> to continue, or q <return> to quit---
#15 0x0000000000647696 in CPartFile::Process (this=0x19dc7e0,
    reducedownload=<value optimized out>, m_icounter=<value optimized out>)
    at PartFile.cpp:1391
#16 0x00000000004b9f80 in CDownloadQueue::Process (this=0x14b0cf0)
    at DownloadQueue.cpp:409
#17 0x0000000000451d47 in CamuleApp::OnCoreTimer (this=0xc4bab0) at amule.cpp:1170
#18 0x00007ffff5c20de0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00007ffff5c21db4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00007ffff5c21e97 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#21 0x00007ffff5c21238 in wxEvtHandler::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
#22 0x00007ffff5b933c9 in wxAppConsole::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
#23 0x00007ffff633ce4b in wxAppBase::ProcessIdle() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#24 0x00007ffff62a1733 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#25 0x00007ffff280c6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007ffff2810538 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007ffff2810a45 in g_main_loop_run () from /lib/libglib-2.0.so.0
#28 0x00007ffff4708517 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00007ffff62b8718 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#30 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#31 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#32 0x00000000005c7bf2 in main (argc=1, argv=0x0) at amule-gui.cpp:94
(gdb)
(gdb)
(gdb) bt full
#0  0x00007ffff4e13d25 in ?? () from /lib/libc.so.6
No symbol table info available.
#1  0x00007ffff4e132af in iconv_close () from /lib/libc.so.6
No symbol table info available.
#2  0x00007ffff28046dd in g_io_channel_unref () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff280bfa1 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff280c325 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff280ebee in g_source_remove () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff62b9df6 in GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00007ffff5eb6765 in GSocket::Read(char*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#8  0x00007ffff5eb27e8 in wxSocketBase::_Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#9  0x00007ffff5eb28fc in wxSocketBase::Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x000000000066712e in CSocketClientProxy::Read (this=0x278a7d0, buffer=0x261cd01,
    nbytes=7784) at Proxy.cpp:1282
        lock = {m_isOk = true, m_mutex = @0x278a918}
#11 0x00000000004e3976 in CEncryptedStreamSocket::Read (this=0xffffffff00ffffff,
    lpBuf=0x0, nBufLen=4294967264) at EncryptedStreamSocket.cpp:216
No locals.
#12 0x00000000004e0794 in CEMSocket::OnReceive (this=0x278a7d0,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
        lock = {m_isOk = true, m_mutex = @0x278ac88}
        readMax = 7784
        buf = 0x261cd01 "\364\273\315\352\352\177F\347\371s\226\323\027\203@\261\335,\254\243\352JW\365/\263\234\006\352\374\370\370\365\212\325ﺁ\311}\336\033\332i\227+ ko\276ڬ\334 G\361$Y\246\234>}\342$\340A-\303xf\263!\306T_ʴ\275\350\254\305j]\313\353ý~\035\375\233\021\343\366\364K\307\321\372\177o\177/fAa\006z\026o\363\212\f\374\361\223\317\347巳\024\265\250\063mAL\260\213I\342ϕ\302\222\263\215\262\277\263\256\265\304\066t<\016\226|z\364\340E\207\177m\207\360lͫ+\277\003\226*\016\362\344\241\f\255\356\302\370\345\343\037\273\002\377\032\033\004\016\275\025žD\274\207\346\363\002\224\344\263j\n"...
        ret = 0
#13 0x000000000049628a in CClientTCPSocket::OnReceive (this=0x278a7d0, nErrorCode=0)
    at ClientTCPSocket.cpp:1964
No locals.
#14 0x000000000045b725 in CUpDownClient::SetDownloadLimit (this=0x1daf720,
    reducedownload=0) at BaseClient.cpp:2359
        kBpsClient = 0.755996287
---Type <return> to continue, or q <return> to quit---
#15 0x0000000000647696 in CPartFile::Process (this=0x19dc7e0,
    reducedownload=<value optimized out>, m_icounter=<value optimized out>)
    at PartFile.cpp:1391
        cur_src = 0x1daf720
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x19dcd70,
            _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
            _M_node = 0x19dcd60}}
        old_trans = 2
        dwCurTick = 1078798045
#16 0x00000000004b9f80 in CDownloadQueue::Process (this=0x14b0cf0)
    at DownloadQueue.cpp:409
        file = 0x19dc7e0
     unlocker = {m_isOk = true, m_mutex = @0x14b0d48}
        i = 115
        lock = {m_isOk = true, m_mutex = @0x14b0d48}
 downspeed = 0
        cur_datarate = 139215
#17 0x0000000000451d47 in CamuleApp::OnCoreTimer (this=0xc4bab0) at amule.cpp:1170
        msPrevSave = 20012468
        msPrevKnownMet = 19800778
        recurse = true
        msPrev1 = 20050778
        msPrev5 = 20047269
        msPrevHist = 20051000
---Type <return> to continue, or q <return> to quit---
        msPrevOS = 20050975
        msCur = 20051179
#18 0x00007ffff5c20de0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0x00007ffff5c21db4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#20 0x00007ffff5c21e97 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#21 0x00007ffff5c21238 in wxEvtHandler::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#22 0x00007ffff5b933c9 in wxAppConsole::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#23 0x00007ffff633ce4b in wxAppBase::ProcessIdle() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#24 0x00007ffff62a1733 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#25 0x00007ffff280c6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#26 0x00007ffff2810538 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#27 0x00007ffff2810a45 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#28 0x00007ffff4708517 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0x00007ffff62b8718 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#30 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#31 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#32 0x00000000005c7bf2 in main (argc=1, argv=0x0) at amule-gui.cpp:94
No locals.
(gdb)
(gdb) thread apply all bt

Thread 6 (Thread 0x7fffead2b910 (LWP 2393)):
#0  0x00007ffff7bd020d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007ffff5c1e856 in wxConditionInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007ffff5c1f807 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000006a2a6d in CTimerThread::Entry (this=0x1c7e620) at Timer.cpp:66
#4  0x00007ffff5c20641 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007ffff7bcb73a in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff4ebf69d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffebd2d910 (LWP 2390)):
#0  0x00007ffff7bd3131 in nanosleep () from /lib/libpthread.so.0
#1  0x00007ffff5c259bc in wxMicroSleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00000000005682f2 in UploadBandwidthThrottler::Entry (this=<value optimized out>)
    at UploadBandwidthThrottler.cpp:323
#3  0x00007ffff5c20641 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007ffff7bcb73a in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff4ebf69d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fc77f0 (LWP 2384)):
#0  0x00007ffff4e13d25 in ?? () from /lib/libc.so.6
#1  0x00007ffff4e132af in iconv_close () from /lib/libc.so.6
#2  0x00007ffff28046dd in g_io_channel_unref () from /lib/libglib-2.0.so.0
#3  0x00007ffff280bfa1 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ffff280c325 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007ffff280ebee in g_source_remove () from /lib/libglib-2.0.so.0
#6  0x00007ffff62b9df6 in GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00007ffff5eb6765 in GSocket::Read(char*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00007ffff5eb27e8 in wxSocketBase::_Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x00007ffff5eb28fc in wxSocketBase::Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#10 0x000000000066712e in CSocketClientProxy::Read (this=0x278a7d0, buffer=0x261cd01,
    nbytes=7784) at Proxy.cpp:1282
#11 0x00000000004e3976 in CEncryptedStreamSocket::Read (this=0xffffffff00ffffff,
    lpBuf=0x0, nBufLen=4294967264) at EncryptedStreamSocket.cpp:216
#12 0x00000000004e0794 in CEMSocket::OnReceive (this=0x278a7d0,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
---Type <return> to continue, or q <return> to quit---
#13 0x000000000049628a in CClientTCPSocket::OnReceive (this=0x278a7d0, nErrorCode=0)
    at ClientTCPSocket.cpp:1964
#14 0x000000000045b725 in CUpDownClient::SetDownloadLimit (this=0x1daf720,
    reducedownload=0) at BaseClient.cpp:2359
#15 0x0000000000647696 in CPartFile::Process (this=0x19dc7e0
 reducedownload=<value optimized out>, m_icounter=<value optimized out>)
    at PartFile.cpp:1391
#16 0x00000000004b9f80 in CDownloadQueue::Process (this=0x14b0cf0)
    at DownloadQueue.cpp:409
#17 0x0000000000451d47 in CamuleApp::OnCoreTimer (this=0xc4bab0) at amule.cpp:1170
#18 0x00007ffff5c20de0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00007ffff5c21db4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00007ffff5c21e97 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#21 0x00007ffff5c21238 in wxEvtHandler::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
#22 0x00007ffff5b933c9 in wxAppConsole::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
#23 0x00007ffff633ce4b in wxAppBase::ProcessIdle() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#24 0x00007ffff62a1733 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#25 0x00007ffff280c6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#26 0x00007ffff2810538 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007ffff2810a45 in g_main_loop_run () from /lib/libglib-2.0.so.0
#28 0x00007ffff4708517 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00007ffff62b8718 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#30 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#31 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#32 0x00000000005c7bf2 in main (argc=1, argv=0x0) at amule-gui.cpp:94
(gdb)


I hope is useful

josep Manel


Title: Re: backtrace aMule SVN using wxGTK2 v2.8.10
Post by: Stu Redman on May 21, 2010, 04:02:52 PM
Now what? 2.2.6 or SVN?
I believe this bug is fixed in SVN (processing deleted sockets though that usually looks different).
Title: Re: backtrace aMule SVN using wxGTK2 v2.8.10
Post by: jmanel on May 23, 2010, 10:49:01 PM
Now what? 2.2.6 or SVN?
I believe this bug is fixed in SVN (processing deleted sockets though that usually looks different).
the title says SVN, aMule SVN Versión:
 rev. 10125

thanks
  Josep Manel
Title: Re: backtrace aMule SVN using wxGTK2 v2.8.10
Post by: btkaos on May 24, 2010, 02:10:47 AM
the title says SVN, aMule SVN Versión:
 rev. 10125
Current is close to 10179.
Title: Re: backtrace aMule SVN using wxGTK2 v2.8.10
Post by: Stu Redman on May 30, 2010, 12:38:19 PM
Interesting.
Code: [Select]
#11 0x00000000004e3976 in CEncryptedStreamSocket::Read (this=0xffffffff00ffffff,
    lpBuf=0x0, nBufLen=4294967264) at EncryptedStreamSocket.cpp:216
#12 0x00000000004e0794 in CEMSocket::OnReceive (this=0x278a7d0,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
#13 0x000000000049628a in CClientTCPSocket::OnReceive (this=0x278a7d0, nErrorCode=0)
    at ClientTCPSocket.cpp:1964
Valid address for the CEMSocket (and the CClientTCPSocket), but not for its base class CEncryptedStreamSocket. Another already destroyed socket?
Did this happen more than once?
Title: Re: backtrace aMule SVN using wxGTK2 v2.8.10
Post by: jmanel on June 01, 2010, 08:52:01 PM
Interesting.
Code: [Select]
#11 0x00000000004e3976 in CEncryptedStreamSocket::Read (this=0xffffffff00ffffff,
    lpBuf=0x0, nBufLen=4294967264) at EncryptedStreamSocket.cpp:216
#12 0x00000000004e0794 in CEMSocket::OnReceive (this=0x278a7d0,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
#13 0x000000000049628a in CClientTCPSocket::OnReceive (this=0x278a7d0, nErrorCode=0)
    at ClientTCPSocket.cpp:1964
Valid address for the CEMSocket (and the CClientTCPSocket), but not for its base class CEncryptedStreamSocket. Another already destroyed socket?
Did this happen more than once?

Yes, it ocurred lots of times, but i don't know if it's the same because usually the computer hanged completely. I am testing the later version but very busy to test as before.

I 'll try when i have some more time.
Josep Manel
Title: Re: backtrace aMule SVN using wxGTK2 v2.8.10
Post by: jmanel on June 17, 2010, 10:26:18 PM
Hi,
   I got another backtrace with version svn 10179. I am to put it in a new post. Seems to me more apropiate perhaps because probably is not related.
  josep
Title: crash with svn 10125 64 bit backtrace
Post by: jmanel on June 17, 2010, 10:36:56 PM
Hi,

   Basically compiled cvs and run into gdb. My system is debian 64bits with a mix of paquets from stable and unstable.
    
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2819ce0 in g_source_attach () from /lib/libglib-2.0.so.0
i
(gdb) bt
#0  0x00007ffff2819ce0 in g_source_attach () from /lib/libglib-2.0.so.0
#1  0x00007ffff280f076 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
#2  0x00007ffff43503e6 in gdk_input_add_full ()
   from /usr/lib/libgdk-x11-2.0.so.0
#3  0x00007ffff62b9ec6 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx
_gtk2u_core-2.8.so.0
#4  0x00007ffff5eb679c in GSocket::Read(char*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0x00007ffff5eb27e8 in wxSocketBase::_Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00007ffff5eb28fc in wxSocketBase::Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x000000000066f8be in CSocketClientProxy::Read (this=0x28e5f10,
    buffer=0x205c1c8, nbytes=10273) at Proxy.cpp:1282
#8  0x00000000004e39d6 in CEncryptedStreamSocket::Read (this=0x1, lpBuf=0x0,
    nBufLen=30834112) at EncryptedStreamSocket.cpp:216
#9  0x00000000004e07f4 in CEMSocket::OnReceive (this=0x28e5f10,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
#10 0x000000000049656a in CClientTCPSocket::OnReceive (this=0x28e5f10,
    nErrorCode=0) at ClientTCPSocket.cpp:1964
#11 0x000000000045b705 in CUpDownClient::SetDownloadLimit (this=0x280e850,
    reducedownload=0) at BaseClient.cpp:2372
#12 0x000000000064fcb6 in CPartFile::Process (this=0x17e4770,
---Type <return> to continue, or q <return> to quit---
 reducedownload=<value optimized out>, m_icounter=<value optimized out>)
    at PartFile.cpp:1391
#13 0x00000000004b9fe0 in CDownloadQueue::Process (this=0x1284000)
    at DownloadQueue.cpp:409
#14 0x0000000000451d17 in CamuleApp::OnCoreTimer (this=0xc5b3b0)
    at amule.cpp:1174
#15 0x00007ffff5c20de0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () fro
m /usr/lib/libwx_baseu-2.8.so.0
#16 0x00007ffff5c21db4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x00007ffff5c21e97 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#18 0x00007ffff5c21238 in wxEvtHandler::ProcessPendingEvents() ()
  from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00007ffff5b933c9 in wxAppConsole::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00007ffff633ce4b in wxAppBase::ProcessIdle() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0x00007ffff62a1733 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
#25 0x00007ffff4717427 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---

#26 0x00007ffff62b8718 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#27 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#28 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#29 0x00000000005cb142 in main (argc=1, argv=0x0) at amule-gui.cpp:94
(gdb)
(gdb) bt full
#0  0x00007ffff2819ce0 in g_source_attach () from /lib/libglib-2.0.so.0
No symbol table info available.
#1  0x00007ffff280f076 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff43503e6 in gdk_input_add_full ()
   from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#3  0x00007ffff62b9ec6 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx
_gtk2u_core-2.8.so.0
No symbol table info available.
#4  0x00007ffff5eb679c in GSocket::Read(char*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#5  0x00007ffff5eb27e8 in wxSocketBase::_Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#6  0x00007ffff5eb28fc in wxSocketBase::Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#6  0x00007ffff5eb28fc in wxSocketBase::Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#7  0x000000000066f8be in CSocketClientProxy::Read (this=0x28e5f10,
    buffer=0x205c1c8, nbytes=10273) at Proxy.cpp:1282
        lock = {m_isOk = true, m_mutex = @0x28e6058}
#8  0x00000000004e39d6 in CEncryptedStreamSocket::Read (this=0x1, lpBuf=0x0,
---Type <return> to continue, or q <return> to quit---

    nBufLen=30834112) at EncryptedStreamSocket.cpp:216
No locals.
#9  0x00000000004e07f4 in CEMSocket::OnReceive (this=0x28e5f10,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
        lock = {m_isOk = true, m_mutex = @0x28e63c8}
        readMax = 10273
        buf = 0x205c1c8 "S\"\024m?SyJf\265W\303\314Q{iR=\260\214`\020S\260\250F\004\021\363C\322\365h\343\021 \361.)\364\30
0\366\003\302\177\342\323_R\201\031g\354\350\t\027\217\223\262<L\020\361^10;\313\340\204$\370\260\267\275h\250\033\251\232\
237\250\065\a\334_Ard\200\270\003\342\201\033\022\002\030\060\032\006,\326\353S\301\343-\227\060>\375Oo\355\034۹sBs\345\343
\366\001\222\003Q-\221\372L\364\326\361\246\001\224xFUG\277\033m\333w$\345B@\225\021\332H$\200{\003\301\375kV\202\vl1\200\2
54kg\021\b:\306\374\030`\242kZ\342@̥\360(\001\242P\204\303}\240\300PIH\n~"...
        ret = 0
#10 0x000000000049656a in CClientTCPSocket::OnReceive (this=0x28e5f10,
    nErrorCode=0) at ClientTCPSocket.cpp:1964
No locals.
#11 0x000000000045b705 in CUpDownClient::SetDownloadLimit (this=0x280e850,
    reducedownload=0) at BaseClient.cpp:2372
        kBpsClient = 0.125341833
#12 0x000000000064fcb6 in CPartFile::Process (this=0x17e4770,
    reducedownload=<value optimized out>, m_icounter=<value optimized out>)
---Type <return> to continue, or q <return> to quit---

    at PartFile.cpp:1391
        cur_src = 0x280e850
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x17e4d00,
            _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
            _M_node = 0x1afdfe0}}
        old_trans = 5
        dwCurTick = 0
#13 0x00000000004b9fe0 in CDownloadQueue::Process (this=0x1284000)
    at DownloadQueue.cpp:409
        file = 0x17e4770
        unlocker = {m_isOk = true, m_mutex = @0x1284058}
        i = 98
 lock = {m_isOk = true, m_mutex = @0x1284058}
        downspeed = 0
        cur_datarate = 231794
#14 0x0000000000451d17 in CamuleApp::OnCoreTimer (this=0xc5b3b0)
    at amule.cpp:1174
        msPrevSave = 23125229
        msPrevKnownMet = 21600524
        recurse = true
        msPrev1 = 23183936
        msPrev5 = 23180637
        msPrevHist = 23184000
---Type <return> to continue, or q <return> to quit---

--Type <return> to continue, or q <return> to quit---
        msPrevOS = 23180438
        msCur = 23184426
#15 0x00007ffff5c20de0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () fro
m /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x00007ffff5c21db4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#17 0x00007ffff5c21e97 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#18 0x00007ffff5c21238 in wxEvtHandler::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0x00007ffff5b933c9 in wxAppConsole::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#20 0x00007ffff633ce4b in wxAppBase::ProcessIdle() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0x00007ffff62a1733 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---

No symbol table info available.
#23 0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007ffff4717427 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x00007ffff62b8718 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#27 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#28 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#29 0x00000000005cb142 in main (argc=1, argv=0x0) at amule-gui.cpp:94
No locals.
(gdb)

gdb) thread apply all bt

Thread 6 (Thread 0x7fffea90c910 (LWP 2326)):
#0  0x00007ffff7bd020d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007ffff5c1e856 in wxConditionInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007ffff5c1f807 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000006ab1fd in CTimerThread::Entry (this=0x1afa050) at Timer.cpp:66
#4  0x00007ffff5c20641 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007ffff7bcb73a in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff4ebf69d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffeb90e910 (LWP 2323)):
#0  0x00007ffff7bd3131 in nanosleep () from /lib/libpthread.so.0
#1  0x00007ffff5c259bc in wxMicroSleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x000000000056c1d2 in UploadBandwidthThrottler::Entry (
    this=<value optimized out>) at UploadBandwidthThrottler.cpp:323
#3  0x00007ffff5c20641 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---

---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff7bcb73a in start_thread () from /lib/libpthread.so.0
#5  0x00007ffff4ebf69d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fc77f0 (LWP 2317)):
#0  0x00007ffff2819ce0 in g_source_attach () from /lib/libglib-2.0.so.0
#1  0x00007ffff280f076 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
#2  0x00007ffff43503e6 in gdk_input_add_full ()
   from /usr/lib/libgdk-x11-2.0.so.0
#3  0x00007ffff62b9ec6 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx
_gtk2u_core-2.8.so.0
#4  0x00007ffff5eb679c in GSocket::Read(char*, int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0x00007ffff5eb27e8 in wxSocketBase::_Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00007ffff5eb28fc in wxSocketBase::Read(void*, unsigned int) ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x000000000066f8be in CSocketClientProxy::Read (this=0x28e5f10,
    buffer=0x205c1c8, nbytes=10273) at Proxy.cpp:1282
#8  0x00000000004e39d6 in CEncryptedStreamSocket::Read (this=0x1, lpBuf=0x0,
    nBufLen=30834112) at EncryptedStreamSocket.cpp:216
#9  0x00000000004e07f4 in CEMSocket::OnReceive (this=0x28e5f10,
    nErrorCode=<value optimized out>) at EMSocket.cpp:238
---Type <return> to continue, or q <return> to quit---

#10 0x000000000049656a in CClientTCPSocket::OnReceive (this=0x28e5f10,
    nErrorCode=0) at ClientTCPSocket.cpp:1964
#11 0x000000000045b705 in CUpDownClient::SetDownloadLimit (this=0x280e850,
    reducedownload=0) at BaseClient.cpp:2372
#12 0x000000000064fcb6 in CPartFile::Process (this=0x17e4770,
    reducedownload=<value optimized out>, m_icounter=<value optimized out>)
    at PartFile.cpp:1391
#13 0x00000000004b9fe0 in CDownloadQueue::Process (this=0x1284000)
    at DownloadQueue.cpp:409
#14 0x0000000000451d17 in CamuleApp::OnCoreTimer (this=0xc5b3b0)
    at amule.cpp:1174
#15 0x00007ffff5c20de0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () fro
m /usr/lib/libwx_baseu-2.8.so.0
#16 0x00007ffff5c21db4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x00007ffff5c21e97 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#18 0x00007ffff5c21238 in wxEvtHandler::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00007ffff5b933c9 in wxAppConsole::ProcessPendingEvents() ()
   from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00007ffff633ce4b in wxAppBase::ProcessIdle() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---

 <return> to continue, or q <return> to quit---
#21 0x00007ffff62a1733 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
#25 0x00007ffff4717427 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00007ffff62b8718 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#27 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#28 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#29 0x00000000005cb142 in main (argc=1, argv=0x0) at amule-gui.cpp:94
(gdb)

I have had 2 hangs, the second one  completely hanged the computer and i had to reset, so i got no info to report.
Title: Re: crash with svn 10125 64 bit backtrace
Post by: GonoszTopi on June 17, 2010, 11:31:11 PM
#8  0x00000000004e39d6 in CEncryptedStreamSocket::Read (this=0x1, lpBuf=0x0,
    nBufLen=30834112) at EncryptedStreamSocket.cpp:216
Looks like memory corruption. And I'm afraid it's one of the few 64-bit-only bugs :-\
Title: Re: backtrace aMule SVN using wxGTK2 v2.8.10
Post by: GonoszTopi on June 17, 2010, 11:38:38 PM
That's the same crash.
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on June 18, 2010, 12:26:34 PM
#8  0x00000000004e39d6 in CEncryptedStreamSocket::Read (this=0x1, lpBuf=0x0,
    nBufLen=30834112) at EncryptedStreamSocket.cpp:216
Looks like memory corruption. And I'm afraid it's one of the few 64-bit-only bugs :-\

How lucky I am.  :) :)
Title: Re: crash with svn 10125 64 bit backtrace
Post by: Stu Redman on June 18, 2010, 01:00:46 PM
Merged the two threads.

10125 you say ? Hmm.
Code: [Select]
#13 0x000000000049628a in CClientTCPSocket::OnReceive (this=0x278a7d0, nErrorCode=0)
    at ClientTCPSocket.cpp:1964
#14 0x000000000045b725 in CUpDownClient::SetDownloadLimit (this=0x1daf720,
    reducedownload=0) at BaseClient.cpp:2359
That's  10125: BaseClient.cpp:2359
Code: [Select]
m_socket->DisableDownloadLimit();
Backtrace doesn't match the source. There's no OnReceive() in SetDownloadLimit(). Did you modify anything?
Title: Re: crash with svn 10179 64 bit backtrace
Post by: jmanel on June 19, 2010, 11:23:26 PM
Merged the two threads.

10125 you say ? Hmm.
Code: [Select]
#13 0x000000000049628a in CClientTCPSocket::OnReceive (this=0x278a7d0, nErrorCode=0)
    at ClientTCPSocket.cpp:1964
#14 0x000000000045b725 in CUpDownClient::SetDownloadLimit (this=0x1daf720,
    reducedownload=0) at BaseClient.cpp:2359
That's  10125: BaseClient.cpp:2359
Code: [Select]
m_socket->DisableDownloadLimit();
Backtrace doesn't match the source. There's no OnReceive() in SetDownloadLimit(). Did you modify anything?
Sorry the number is  v2.8.10 (Snapshot: rev. 10179)

 I just compile amule-debug. I did not compile any other program from the pack. Is there a posible  problem?


I had another crash today i send the backtrace now.
Title: Re: crash with svn 10179 64 bit backtrace
Post by: jmanel on June 19, 2010, 11:27:03 PM
Another backtrace


2010-06-19 23:18:50: amuleAppCommon.cpp(329): Initialising aMule SVN using wxGTK2 v2.8.10 (Snapshot: rev. 10179)

backtrace attached
  Hope someone can see it
Josep
Title: Re: crash with svn 10125 64 bit backtrace
Post by: ^marcell^ on June 20, 2010, 03:17:41 PM
Did you compile aMule with the --enable-optimize option? Some values for variables say "value optimized out".
Title: Re: crash with svn 10179 64 bit backtrace
Post by: jmanel on June 21, 2010, 01:07:34 PM
Version SVN 10179
Hi,
    I didn't touched anything in the files. Just compiled. I  have had 2 more hangs in 2 days.
  When i was testing in a separate directory i did got only one hang now i have copied to the usual location in bin and get a lot of hangs. Is there any posible relation with some files from an old version making it hang?. To try to test it i have removed anything old i could find even if i have not been using it.
   I attached 2 files with 2 more backtraces. I don't know if it's the same case.
     I suppose is not important but i get an error related to the clearlooks hundreds of times. I googled and found comments about not being very important so i just let it go on.

** (amule:2678): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed



     Josep
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on June 21, 2010, 01:37:47 PM
Did you compile aMule with the --enable-optimize option? Some values for variables say "value optimized out".
  I have seen the lines, but since i have not modified any file i thing it could be some old file remaining, so i have removed all the files i have found from old versions(it were from the parts of amule i am not using, utils, gui etc). Perhaps it were the source of the problem.
  Thanks for the comment
    Josep
Title: Re: crash with svn 10125 64 bit backtrace
Post by: GonoszTopi on June 21, 2010, 05:46:33 PM
Well, these new crashes (the last three) doesn't seem to be related to the first two you posted. Still I don't have a clue, though.
Title: Re: crash with svn 10125 64 bit backtrace
Post by: Stu Redman on June 21, 2010, 07:20:17 PM
They don't even look related to each other.  ???
You have crashes with other programs too? Bad memory or something?
Title: Re: crash with svn 10179 64 bit backtrace
Post by: jmanel on June 22, 2010, 10:49:31 AM
Sometimes iceweasel crash, but that's not very often and since there are some plugins i can't say who  is causing the crash.
    Josep
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on June 22, 2010, 10:54:26 AM
Well, these new crashes (the last three) doesn't seem to be related to the first two you posted. Still I don't have a clue, though.

The last 3 i was using 10179 svn and the ones before i used 10125.  Is it posible to  compare between diferent versions?


I have seen in some of the lines a lot of '?????' is that from parts that have no debuging code, perhaps installed libraries ?
   Josep Manel
Title: Re: crash with svn 10125 64 bit backtrace
Post by: GonoszTopi on June 22, 2010, 08:00:39 PM
I have seen in some of the lines a lot of '?????' is that from parts that have no debuging code, perhaps installed libraries ?
If you mean '??' then yes.

Interesting, though, that sometimes the very same library can print both function names and '??'. See for example in the backtrace you posted:
Code: [Select]
#66 0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#67 0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
#68 0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on June 23, 2010, 02:46:21 PM
I have seen in some of the lines a lot of '?????' is that from parts that have no debuging code, perhaps installed libraries ?
If you mean '??' then yes.
Yes, i wanted to say ??? ????, not the smileys.



Interesting, though, that sometimes the very same library can print both function names and '??'. See for example in the backtrace you posted:
Code: [Select]
#66 0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#67 0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
#68 0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
I have looked for that library and i have installed both libraries(packages). Development and normal. Anyone knows if it's posible for some processes linking to the normal and to the dev at the same time?.

  ii  libglib2.0-0   2.24.0-1       The GLib library of C routines

ii  libglib2.0-dev 2.24.0-1       Development files for the GLib library

[/quote]
Title: Re: crash with svn 10125 64 bit backtrace
Post by: btkaos on June 23, 2010, 04:07:59 PM
jmanel, if you want to improve your backtraces install the -dbg packages.

Some are:

libglib2.0-0-dbg
libgtk2.0-0-dbg
libwxgtk2.8-dbg
libwxbase2.8-dbg
libwx11-0-dbg
etc...
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on July 06, 2010, 04:33:15 PM
Hi,
   I have to install the dbg packages , i got another backtrace in the meantime
    I am going to put the file attached
    Thanks for the effort
     Josep
   
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on July 08, 2010, 03:27:31 PM
Hi,
   I have another backtrace a lot shorter but still the same type as before
    Thanks
   Josep Manel


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2835054 in g_slice_alloc () from /lib/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff2835054 in g_slice_alloc () from /lib/libglib-2.0.so.0
#1  0x00007ffff2835716 in g_slice_alloc0 () from /lib/libglib-2.0.so.0
#2  0x00007ffff280ac59 in g_hook_alloc () from /lib/libglib-2.0.so.0
#3  0x00007ffff30dfa17 in g_signal_add_emission_hook () from /usr/lib/libgobject-2.0.so.0
#4  0x00007ffff62a17e6 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#6  0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
#7  0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
#8  0x00007ffff4717427 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007ffff62b8718 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x00000000005cb142 in main (argc=1, argv=0x0) at amule-gui.cpp:94

(gdb) bt full
#0  0x00007ffff2835054 in g_slice_alloc () from /lib/libglib-2.0.so.0
No symbol table info available.
#1  0x00007ffff2835716 in g_slice_alloc0 () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff280ac59 in g_hook_alloc () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff30dfa17 in g_signal_add_emission_hook () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#4  0x00007ffff62a17e6 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#5  0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#7  0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#8  0x00007ffff4717427 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#9  0x00007ffff62b8718 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#10 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#11 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x00000000005cb142 in main (argc=1, argv=0x0) at amule-gui.cpp:94
No locals.
(gdb)
(gdb)  thread apply all bt

Thread 7 (Thread 0x7fffead27910 (LWP 2507)):
#0  0x00007ffff7bd020d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007ffff5c1e856 in wxConditionInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007ffff5c1f807 in wxSemaphoreInternal::WaitTimeout(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000006ab1fd in CTimerThread::Entry (this=0x21bc720) at Timer.cpp:66
#4  0x00007ffff5c20641 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007ffff7bcb73a in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff4ebf69d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffebd38910 (LWP 2503)):
#0  0x00007ffff7bd3131 in nanosleep () from /lib/libpthread.so.0
#1  0x00007ffff5c259bc in wxMicroSleep(unsigned long) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x000000000056c1d2 in UploadBandwidthThrottler::Entry (this=<value optimized out>)
    at UploadBandwidthThrottler.cpp:323
#3  0x00007ffff5c20641 in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007ffff7bcb73a in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff4ebf69d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fc77f0 (LWP 2497)):
#0  0x00007ffff2835054 in g_slice_alloc () from /lib/libglib-2.0.so.0
#1  0x00007ffff2835716 in g_slice_alloc0 () from /lib/libglib-2.0.so.0
#2  0x00007ffff280ac59 in g_hook_alloc () from /lib/libglib-2.0.so.0
#3  0x00007ffff30dfa17 in g_signal_add_emission_hook () from /usr/lib/libgobject-2.0.so.0
#4  0x00007ffff62a17e6 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x00007ffff28176c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#6  0x00007ffff281b538 in ?? () from /lib/libglib-2.0.so.0
#7  0x00007ffff281ba45 in g_main_loop_run () from /lib/libglib-2.0.so.0
#8  0x00007ffff4717427 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007ffff62b8718 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0x00007ffff633ccdb in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff5bc765c in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x00000000005cb142 in main (argc=1, argv=0x0) at amule-gui.cpp:94
Title: Re: crash with svn 10125 64 bit backtrace
Post by: Stu Redman on July 09, 2010, 08:34:33 PM
My system is debian 64bits with a mix of paquets from stable and unstable.
I'd guess something is seriously screwed with your OS. There is no aMule code involved in that last crash.
Title: Re: crash with svn 10125 64 bit backtrace
Post by: btkaos on July 13, 2010, 12:55:49 AM
Umm, what does dpkg -l xlib* say?

Stable debian X packages are buggy in 64bits systems, and aMule will run out of memory (this explains the variation of the backtraces)
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on July 13, 2010, 03:00:06 PM
Umm, what does dpkg -l xlib* say?

Stable debian X packages are buggy in 64bits systems, and aMule will run out of memory (this explains the variation of the backtraces)
jose@linuxbox:~$ dpkg -l xlib*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nom                               Versió                           Descripció
+++-=================================-=================================-==================================================================================
un  xlibmesa-dev                      <cap>                             (no hi ha cap descripció disponible)
un  xlibmesa-dri                      <cap>                             (no hi ha cap descripció disponible)
un  xlibmesa-gl-dev                   <cap>                             (no hi ha cap descripció disponible)
un  xlibmesa-glu-dev                  <cap>                             (no hi ha cap descripció disponible)
un  xlibmesa3                         <cap>                             (no hi ha cap descripció disponible)
un  xlibosmesa-dev                    <cap>                             (no hi ha cap descripció disponible)
un  xlibs-data                        <cap>                             (no hi ha cap descripció disponible)
un  xlibs-dev                         <cap>                             (no hi ha cap descripció disponible)

but
 dpkg -l "libx*"|grep ii
ii  libx11-6                             2:1.3.3-3                      X11 client-side library
ii  libx11-data                          2:1.1.5-2                      X11 client-side library
ii  libx11-dev                           2:1.3.3-3                      X11 client-side library (development headers
ii  libx264-60                           1:0.svn20080712-0.1            x264 video coding library
ii  libx264-65                           1:0.svn20090115-0.0            x264 video coding library
ii  libx86-1                             1.1+ds1-2                      x86 real-mode library
ii  libxalan2-java                       2.7.1-2                        XSL Transformations (XSLT) processor in Java
ii  libxalan2-java-gcj                   2.7.1-2                        XSL Transformations (XSLT) processor in Java
ii  libxapian15                          1.0.7-4                        Search engine library
ii  libxau-dev                           1:1.0.5-2                      X11 authorisation library (development heade
ii  libxau6                              1:1.0.5-2                      X11 authorisation library
ii  libxaw7                              2:1.0.4-2                      X11 Athena Widget library
ii  libxcb-atom1                         0.3.6-1                        utility libraries for X C Binding -- atom
ii  libxcb-aux0                          0.3.6-1                        utility libraries for X C Binding -- aux
ii  libxcb-event1                        0.3.6-1                        utility libraries for X C Binding -- event
ii  libxcb-render-util0                  0.3.6-1                        utility libraries for X C Binding -- render-
ii  libxcb-render-util0-dev              0.3.6-1                        utility libraries for X C Binding -- render-
ii  libxcb-render0                       1.6-1                          X C Binding, render extension
ii  libxcb-render0-dev                   1.6-1                          X C Binding, render extension, development f
ii  libxcb1                              1.6-1                          X C Binding
ii  libxcb1-dev                          1.6-1                          X C Binding, development files
ii  libxcomposite-dev                    1:0.4.1-1                      X11 Composite extension library (development
ii  libxcomposite1                       1:0.4.1-1                      X11 Composite extension library
ii  libxcursor-dev                       1:1.1.10-2                     X cursor management library (development fil
ii  libxcursor1                          1:1.1.10-2                     X cursor management library
ii  libxdamage-dev                       1:1.1.2-1                      X11 damaged region extension library (develo
ii  libxdamage1                          1:1.1.2-1                      X11 damaged region extension library
ii  libxdmcp-dev                         1:1.0.3-2                      X11 authorisation library (development heade
ii  libxdmcp6                            1:1.0.3-2                      X11 Display Manager Control Protocol library
ii  libxerces2-java                      2.9.1-2+lenny1                 Validating XML parser for Java with DOM leve
ii  libxerces2-java-gcj                  2.9.1-2+lenny1                 Validating XML parser for Java with DOM leve
ii  libxext-dev                          2:1.1.1-3                      X11 miscellaneous extensions library (develo
ii  libxext6                             2:1.1.1-3                      X11 miscellaneous extension library
ii  libxfixes-dev                        1:4.0.4-2                      X11 miscellaneous 'fixes' extension library
ii  libxfixes3                           1:4.0.4-2                      X11 miscellaneous 'fixes' extension library
ii  libxfont1                            1:1.3.3-1                      X11 font rasterisation library
ii  libxft-dev                           2.1.14-2                       FreeType-based font drawing library for X (d
ii  libxft2                              2.1.14-2                       FreeType-based font drawing library for X
ii  libxi-dev                            2:1.3-4                        X11 Input extension library (development hea
ii  libxi6                               2:1.3-4                        X11 Input extension library
ii  libxinerama-dev                      2:1.1-3                        X11 Xinerama extension library (development
ii  libxinerama1                         2:1.1-3                        X11 Xinerama extension library
ii  libxkbfile1                          1:1.0.5-1                      X11 keyboard file manipulation library
ii  libxklavier12                        3.5-2                          X Keyboard Extension high-level API
ii  libxml-parser-perl                   2.36-1.1+b1                    Perl module for parsing XML files
ii  libxml-twig-perl                     1:3.32-1                       Perl module for processing huge XML document
ii  libxml2                              2.7.6.dfsg-1                   GNOME XML library
ii  libxml2-utils                        2.6.32.dfsg-5+lenny1           XML utilities
ii  libxmu6                              2:1.0.4-1                      X11 miscellaneous utility library
ii  libxmuu1                             2:1.0.4-1                      X11 miscellaneous micro-utility library
ii  libxp6                               1:1.0.0.xsf1-2                 X Printing Extension (Xprint) client library
ii  libxplc0.3.13                        0.3.13-1                       Light weight component system
ii  libxpm-dev                           1:3.5.8-1                      X11 pixmap library (development headers)
ii  libxpm4                              1:3.5.8-1                      X11 pixmap library
ii  libxrandr-dev                        2:1.3.0-3                      X11 RandR extension library (development hea
ii  libxrandr2                           2:1.3.0-3                      X11 RandR extension library
ii  libxrender-dev                       1:0.9.5-2                      X Rendering Extension client library (develo
ii  libxrender1                          1:0.9.5-2                      X Rendering Extension client library
ii  libxres1                             2:1.0.3-1                      X11 Resource extension library
ii  libxslt1.1                           1.1.26-3                       XSLT processing library - runtime library
ii  libxss1                              1:1.1.3-1                      X11 Screen Saver extension library
ii  libxt6                               1:1.0.5-3                      X11 toolkit intrinsics library
ii  libxtrap6                            2:1.0.0-5                      X11 event trapping extension library
ii  libxtst6                             2:1.0.3-1                      X11 Testing -- Resource extension library
ii  libxv1                               2:1.0.4-1                      X11 Video extension library
ii  libxvidcore4                         2:1.1.3-0.6                    High quality ISO MPEG4 codec library
ii  libxvmc1                             2:1.0.5-1                      X11 Video extension library
ii  libxxf86dga1                         2:1.0.2-1                      X11 Direct Graphics Access extension library
ii  libxxf86misc1                        1:1.0.1-3                      X11 XFree86 miscellaneous extension library
ii  libxxf86vm1                          1:1.0.2-1                      X11 XFree86 video mode extension library
Title: Re: crash with svn 10125 64 bit backtrace
Post by: btkaos on July 13, 2010, 07:41:01 PM
Umm, your system may be well broken, (see version mismatch on libx11-6 and libx11-data, etc...) I'm afraid I can't support such a mess of a system, either upgrade to unstable or there's nothing we can do.

Anyways, what does dpkg -l libx11-xcb1 says?
Title: Re: crash with svn 10125 64 bit backtrace
Post by: Vollstrecker on July 14, 2010, 01:16:35 PM
Easiest solution (beside reinstall) is switching everything to squeeze, and pinning on squeeze (yep, squeeze not testing).  Used right, it should upgrade the old libs, and their dep's should report packages that need downgrading. You can downgrade these then, or wait if an update arrives before squeeze becomes stable.
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on July 14, 2010, 02:34:26 PM
Umm, your system may be well broken, (see version mismatch on libx11-6 and libx11-data, etc...) I'm afraid I can't support such a mess of a system, either upgrade to unstable or there's nothing we can do.


I didn't thought that mixing stable and unstable gives as a result a  broken system.  Thanks for the efford.

Quote
Anyways, what does dpkg -l libx11-xcb1 says?

The answer is no packets with that name.
Title: Re: crash with svn 10125 64 bit backtrace
Post by: jmanel on July 14, 2010, 02:37:25 PM
Easiest solution (beside reinstall) is switching everything to squeeze, and pinning on squeeze (yep, squeeze not testing).
squeeze is not the testing branch?
Quote
 Used right, it should upgrade the old libs, and their dep's should report packages that need downgrading. You can downgrade these then, or wait if an update arrives before squeeze becomes stable.

I needed the unstable version of x11 because my video card(EAH4350 by asus) was not working well with the stable/testing  versions.
   
Title: Re: crash with svn 10125 64 bit backtrace
Post by: Vollstrecker on July 14, 2010, 11:46:08 PM
Squeeze is the testing branch, but as I think you prefer stable, and end up with a mixed system again if you update just one time after squeeze becomes stable (in the first days, there'll be heavy changes) it's more save to use the name, as it stays on migration. As testing and unstable versions of X are the same atm, I don't see a problem with your video.
Title: Re: crash with svn 10125 64 bit backtrace
Post by: btkaos on July 15, 2010, 02:09:39 AM
Umm, your system may be well broken, (see version mismatch on libx11-6 and libx11-data, etc...) I'm afraid I can't support such a mess of a system, either upgrade to unstable or there's nothing we can do.


I didn't thought that mixing stable and unstable gives as a result a  broken system.  Thanks for the efford.

It depends, I said it may be, I'm not sure. Anyways IMH Experience, mixing stable and unstable is hard and requires a lot of knowlegde in order to it in a proper way.

So in your case, you should try to reproduce the bug in a pure enviroment, either Ubuntu or Debian unstable. You may use a chroot in order to achieve that.

Quote
Quote
Anyways, what does dpkg -l libx11-xcb1 says?

The answer is no packets with that name.

Umm, I see the package layout changed, that package is not relevant anymore.