aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: crash with svn 10125 64 bit backtrace  (Read 16717 times)

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
crash with svn 10125 64 bit backtrace
« 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


Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: backtrace aMule SVN using wxGTK2 v2.8.10
« Reply #1 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).
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

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: backtrace aMule SVN using wxGTK2 v2.8.10
« Reply #2 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
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: backtrace aMule SVN using wxGTK2 v2.8.10
« Reply #3 on: May 24, 2010, 02:10:47 AM »

the title says SVN, aMule SVN Versión:
 rev. 10125
Current is close to 10179.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: backtrace aMule SVN using wxGTK2 v2.8.10
« Reply #4 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?
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

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: backtrace aMule SVN using wxGTK2 v2.8.10
« Reply #5 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
Logged

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: backtrace aMule SVN using wxGTK2 v2.8.10
« Reply #6 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
Logged

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
crash with svn 10125 64 bit backtrace
« Reply #7 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.
« Last Edit: June 17, 2010, 10:38:40 PM by jmanel »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: crash with svn 10125 64 bit backtrace
« Reply #8 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 :-\
Logged
concordia cum veritate

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: backtrace aMule SVN using wxGTK2 v2.8.10
« Reply #9 on: June 17, 2010, 11:38:38 PM »

That's the same crash.
Logged
concordia cum veritate

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: crash with svn 10125 64 bit backtrace
« Reply #10 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.  :) :)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: crash with svn 10125 64 bit backtrace
« Reply #11 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?
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

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: crash with svn 10179 64 bit backtrace
« Reply #12 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.
« Last Edit: June 19, 2010, 11:28:15 PM by jmanel »
Logged

jmanel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: crash with svn 10179 64 bit backtrace
« Reply #13 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
« Last Edit: June 19, 2010, 11:28:36 PM by jmanel »
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: crash with svn 10125 64 bit backtrace
« Reply #14 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".
Logged
Pages: [1] 2 3