aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule rev 10395 crashes on Unbuntu lucid.  (Read 8020 times)

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
amule rev 10395 crashes on Unbuntu lucid.
« on: December 08, 2010, 10:33:22 PM »

Hi All,

The crashes seem to happen after about 10-20 mins. And i think there may be a memory leak as well. (only spotted amule  once in top before a crash, was using around 1g of memory before a crash)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb73cbb70 (LWP 28390)]
0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) bt
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6
Logged

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #1 on: December 08, 2010, 10:33:44 PM »

(gdb) bt full
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
        lock = {m_isOk = true, m_mutex = @0x97f9954}
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
No locals.
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
---Type <return> to continue, or q <return> to quit---
    at EMSocket.cpp:572
        tosend = 6
        result = 0
        bWasLongTimeSinceSend = false
        sentControlPacketBytesThisCall = 0
        returnVal = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
        lock = {m_isOk = true, m_mutex = @0x97f9c28}
        anErrorHasOccured = false
        sentStandardPacketBytesThisCall = 0
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
No locals.
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
        returnStatus = {success = 168, sentBytesStandardPackets = 3046848424, sentBytesControlPackets = 3045209980}
        returnStatus = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
        socketSentBytes = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
        socket = 0x97f9bcc
        slots = 2
        spentBytes = 0
        spentOverhead = 0
        sendLock = {m_isOk = true, m_mutex = @0x8dece18}
        minBytesToSpend = 1608
---Type <return> to continue, or q <return> to quit---
        timeSinceLastLoop = 21
        minFragSize = 536
        doubleSendSize = 536
        sleepTime = 10
        thisLoopTick = 3353013518
        bytesToSpend = 66
        extraSleepTime = 1
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        lastLoopTick = 3353013518
        allowedDataRate = 5120
        rememberedSlotCounter = 2
        sendLock = {m_isOk = 56, m_mutex = @0x0}
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb)
(gdb) thread apply all bt

Thread 7 (Thread 0xb57ffb70 (LWP 28394)):
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x00138342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00a766c4 in wxConditionInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00a7671f in wxCondition::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00a77934 in wxSemaphoreInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00a779bf in wxSemaphore::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08375188 in CTimerThread::Entry (this=0xb5a68f80) at Timer.cpp:66
#7  0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb73cbb70 (LWP 28390)):
#0  0x00135f2d in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x014542d7 in ?? () from /lib/libglib-2.0.so.0
#2  0x0145695c in g_source_remove () from /lib/libglib-2.0.so.0
#3  0x0116918d in gdk_input_remove () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0074212d in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5  0x0098876d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00989b3a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0x00984dd6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#8  0x00984f47 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x0832b1fa in CSocketClientProxy::Write (this=0x97f9898, buffer=0xb5834930, nbytes=6) at Proxy.cpp:1309
#10 0x08140159 in CEncryptedStreamSocket::Write (this=0x97f9898, lpBuf=0xb5834930, nBufLen=6) at EncryptedStreamSocket.cpp:210
#11 0x0813d932 in CEMSocket::Send (this=0x97f9898, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#12 0x080ea8ec in CEMSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, minFragSize=536) at EMSocket.h:69
#13 0x080ea47d in CClientTCPSocket::SendControlData (this=0x97f9898, maxNumberOfBytesToSend=66, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#14 0x081e36fd in UploadBandwidthThrottler::Entry (this=0x8dece08) at UploadBandwidthThrottler.cpp:381
#15 0x00a78138 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00a7819d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00ceaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7fd7760 (LWP 28376)):
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x0013aaf9 in __lll_lock_wait () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0013613b in _L_lock_748 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0x00135f61 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x00a76b8d in wxMutexInternal::Lock() () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00a76bd8 in wxMutex::Lock() () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08092f8b in wxMutexLocker (this=0xbfffed08, mutex=...) at /usr/include/wx-2.8/wx/thread.h:176
#7  0x081e2bab in UploadBandwidthThrottler::GetNumberOfSentBytesSinceLastCallAndReset (this=0x8dece08)
---Type <return> to continue, or q <return> to quit---
    at UploadBandwidthThrottler.cpp:93
#8  0x081f549d in CUploadQueue::Process (this=0x8b54d60) at UploadQueue.cpp:269
#9  0x0808e6b6 in CamuleApp::OnCoreTimer (this=0x8645dc0) at amule.cpp:1176
#10 0x009daa9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0x00a79209 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0x00a7a2d4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#13 0x00a7a3d3 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#14 0x00a796a9 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#15 0x009dade9 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x007d365f in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x007272c3 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x01452661 in ?? () from /lib/libglib-2.0.so.0
#19 0x014545e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x014582d8 in ?? () from /lib/libglib-2.0.so.0
#21 0x01458817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#22 0x00eae3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00740708 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#24 0x007d34de in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#25 0x007d30d1 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#26 0x00a1479a in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#27 0x00a14977 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#28 0x0824b6b5 in main (argc=1, argv=0xbffff3c4) at amule-gui.cpp:94
(gdb)
Logged

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #2 on: December 08, 2010, 10:37:56 PM »

sorry kernel version is 2.6.32-26-generic
Logged

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid. (mavrick now)
« Reply #3 on: December 12, 2010, 10:33:53 PM »

Hi All,

i upgraded my unbuntu dist as some people reported new kernel versions solved the problem. Its still occurring.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72fcb70 (LWP 25988)]
0x001373bd in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0x001373bd in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x015593df in g_source_set_callback_indirect () from /lib/libglib-2.0.so.0
#2  0x01559dc8 in g_source_set_callback () from /lib/libglib-2.0.so.0
#3  0x01551996 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
#4  0x0121ed71 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x0121edbe in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
#6  0x00809f85 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00a4f16d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0x00a5053a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x00a4b7d6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#10 0x00a4b947 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#11 0x08327974 in CSocketClientProxy::Write (this=0x9cc7f28, buffer=0x86ecb70, nbytes=46) at Proxy.cpp:1309
#12 0x0813bc39 in CEncryptedStreamSocket::Write (this=0x9cc7f28, lpBuf=0x86ecb70, nBufLen=46) at EncryptedStreamSocket.cpp:210
#13 0x08139426 in CEMSocket::Send (this=0x9cc7f28, maxNumberOfBytesToSend=6432, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#14 0x080e62a0 in CEMSocket::SendControlData (this=0x9cc7f28, maxNumberOfBytesToSend=6145, minFragSize=536) at EMSocket.h:69
#15 0x080e5e31 in CClientTCPSocket::SendControlData (this=0x9cc7f28, maxNumberOfBytesToSend=6145, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#16 0x081df627 in UploadBandwidthThrottler::Entry (this=0x8f05988) at UploadBandwidthThrottler.cpp:381
#17 0x00b39fb8 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#18 0x00b3a01d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00134cc9 in start_thread () from /lib/libpthread.so.0
#20 0x00da16be in clone () from /lib/libc.so.6
(gdb)
Logged

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #4 on: December 12, 2010, 10:34:18 PM »

(gdb) bt full
#0  0x001373bd in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#1  0x015593df in g_source_set_callback_indirect () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x01559dc8 in g_source_set_callback () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x01551996 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x0121ed71 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#5  0x0121edbe in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#6  0x00809f85 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00a4f16d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#8  0x00a5053a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#9  0x00a4b7d6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#10 0x00a4b947 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#11 0x08327974 in CSocketClientProxy::Write (this=0x9cc7f28, buffer=0x86ecb70, nbytes=46) at Proxy.cpp:1309
---Type <return> to continue, or q <return> to quit---
        lock = {m_isOk = true, m_mutex = @0x9cc7fe4}
#12 0x0813bc39 in CEncryptedStreamSocket::Write (this=0x9cc7f28, lpBuf=0x86ecb70, nBufLen=46) at EncryptedStreamSocket.cpp:210
No locals.
#13 0x08139426 in CEMSocket::Send (this=0x9cc7f28, maxNumberOfBytesToSend=6432, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
        tosend = 46
        result = 0
        bWasLongTimeSinceSend = false
        sentControlPacketBytesThisCall = 0
        returnVal = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
        lock = {m_isOk = true, m_mutex = @0x9cc82b8}
        anErrorHasOccured = false
        sentStandardPacketBytesThisCall = 0
#14 0x080e62a0 in CEMSocket::SendControlData (this=0x9cc7f28, maxNumberOfBytesToSend=6145, minFragSize=536) at EMSocket.h:69
No locals.
#15 0x080e5e31 in CClientTCPSocket::SendControlData (this=0x9cc7f28, maxNumberOfBytesToSend=6145, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
        returnStatus = {success = 128, sentBytesStandardPackets = 329016192, sentBytesControlPackets = 3037921620}
        returnStatus = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
#16 0x081df627 in UploadBandwidthThrottler::Entry (this=0x8f05988) at UploadBandwidthThrottler.cpp:381
        socketSentBytes = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
        socket = 0x9cc825c
        slots = 2
---Type <return> to continue, or q <return> to quit---
        spentBytes = 0
        spentOverhead = 0
        sendLock = {m_isOk = true, m_mutex = @0x8f05998}
        minBytesToSpend = 1608
        timeSinceLastLoop = 1000
        minFragSize = 536
        doubleSendSize = 536
        sleepTime = 1000
        thisLoopTick = 3669596346
        bytesToSpend = 6145
        extraSleepTime = 1000
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        lastLoopTick = 3669596346
        allowedDataRate = 5120
        rememberedSlotCounter = 1
        sendLock = {m_isOk = 184, m_mutex = @0x0}
#17 0x00b39fb8 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#18 0x00b3a01d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0x00134cc9 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#20 0x00da16be in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
(gdb)
Logged

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #5 on: December 12, 2010, 10:34:46 PM »

(gdb) thread apply all bt

Thread 7 (Thread 0xb5af9b70 (LWP 25996)):
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x00139884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00b38544 in wxConditionInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00b3859f in wxCondition::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00b397b4 in wxSemaphoreInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00b3983f in wxSemaphore::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08371c30 in CTimerThread::Entry (this=0x902b540) at Timer.cpp:66
#7  0x00b39fb8 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00b3a01d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00134cc9 in start_thread () from /lib/libpthread.so.0
#10 0x00da16be in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb72fcb70 (LWP 25988)):
#0  0x001373bd in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x015593df in g_source_set_callback_indirect () from /lib/libglib-2.0.so.0
#2  0x01559dc8 in g_source_set_callback () from /lib/libglib-2.0.so.0
#3  0x01551996 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
#4  0x0121ed71 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x0121edbe in gdk_input_add () from /usr/lib/libgdk-x11-2.0.so.0
#6  0x00809f85 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00a4f16d in GSocket::Enable(GSocketEvent) () from /usr/lib/libwx_baseu_net-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#8  0x00a5053a in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#9  0x00a4b7d6 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#10 0x00a4b947 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#11 0x08327974 in CSocketClientProxy::Write (this=0x9cc7f28, buffer=0x86ecb70, nbytes=46) at Proxy.cpp:1309
#12 0x0813bc39 in CEncryptedStreamSocket::Write (this=0x9cc7f28, lpBuf=0x86ecb70, nBufLen=46) at EncryptedStreamSocket.cpp:210
#13 0x08139426 in CEMSocket::Send (this=0x9cc7f28, maxNumberOfBytesToSend=6432, minFragSize=536, onlyAllowedToSendControlPacket=true)
    at EMSocket.cpp:572
#14 0x080e62a0 in CEMSocket::SendControlData (this=0x9cc7f28, maxNumberOfBytesToSend=6145, minFragSize=536) at EMSocket.h:69
#15 0x080e5e31 in CClientTCPSocket::SendControlData (this=0x9cc7f28, maxNumberOfBytesToSend=6145, overchargeMaxBytesToSend=536)
    at ClientTCPSocket.cpp:2114
#16 0x081df627 in UploadBandwidthThrottler::Entry (this=0x8f05988) at UploadBandwidthThrottler.cpp:381
#17 0x00b39fb8 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#18 0x00b3a01d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00134cc9 in start_thread () from /lib/libpthread.so.0
#20 0x00da16be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7fd7860 (LWP 25974)):
#0  0x00a9cb97 in ?? () from /usr/lib/libwx_baseu-2.8.so.0
#1  0x00b38948 in wxMutex::Unlock() () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00b38970 in wxMutexGuiLeave() () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x007ee474 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#4  0x0155e43c in ?? () from /lib/libglib-2.0.so.0
#5  0x0155eba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x00f621d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x00808568 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x0089b63e in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0x0089b221 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0x00ad66d3 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#11 0x00ad68b7 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#12 0x0824774f in main (argc=1, argv=0xbffff3a4) at amule-gui.cpp:94

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #6 on: December 12, 2010, 10:58:19 PM »

What is your kernel version now? The bad one appears to be 2.6.35-23, the fixed one 2.6.35-23.41 (see here). But that applies to Maverick, not to Lousy Lucid.
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

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #7 on: December 13, 2010, 10:30:27 AM »

Well i've just upgraded to maverick. Kernel should be 2.6.35-23.41. I'll try 2.6.35-24 and see how i go
Logged

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #8 on: December 13, 2010, 10:50:28 PM »

yeah still crashing.... ill also give  2.6.35-22 a go (heh one of them gotta work :P)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #9 on: December 15, 2010, 11:11:10 PM »

If it keeps crashing please compile wxWidgets and cryptopp yourself too. Maybe there was some Kernel header change requiring a rebuild of them.
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

fatdunky

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 9
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #10 on: December 17, 2010, 12:12:39 AM »

it appears to be stable in  2.6.35-22-generic.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: amule rev 10395 crashes on Unbuntu lucid.
« Reply #11 on: December 30, 2010, 01:19:08 PM »

Please look here for some things to help track the problem down.
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