aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: segfault (without any particular action)  (Read 1805 times)

DocteurCosmos

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
segfault (without any particular action)
« on: November 05, 2006, 11:17:23 PM »

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1248789600 (LWP 7733)]
0x080c79e2 in CEMSocket::SendFileAndControlData (this=0x85c70a8,
    maxNumberOfBytesToSend=60, minFragSize=2600) at EMSocket.h:78
78          virtual SocketSentBytes SendFileAndControlData(uint32 maxNumberOfBytesToSend, uint32 minFragSize) { return Send(maxNumberOfBytesToSend, minFragSize, false); };

(gdb) bt
#0  0x080c79e2 in CEMSocket::SendFileAndControlData (this=0x85c70a8,
    maxNumberOfBytesToSend=60, minFragSize=2600) at EMSocket.h:78
#1  0x080bbd2a in CClientTCPSocket::SendFileAndControlData (this=0x85c70a8,
    maxNumberOfBytesToSend=60, overchargeMaxBytesToSend=2600)
    at ClientTCPSocket.cpp:1893
#2  0x08181680 in UploadBandwidthThrottler::Entry (this=0x8a2b7c0)
    at UploadBandwidthThrottler.cpp:476
#3  0xb7b4271c in wxThreadInternal::PthreadStart (thread=0x8a2b7c0)
    at ./src/unix/threadpsx.cpp:763
#4  0xb7b42885 in wxPthreadStart (ptr=0x8a2b7c0)
    at ./src/unix/threadpsx.cpp:715
#5  0xb7fa7540 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb78d955e in clone () from /lib/i686/libc.so.6

(gdb) bt full
#0  0x080c79e2 in CEMSocket::SendFileAndControlData (this=0x85c70a8,
    maxNumberOfBytesToSend=60, minFragSize=2600) at EMSocket.h:78
No locals.
#1  0x080bbd2a in CClientTCPSocket::SendFileAndControlData (this=0x85c70a8,
    maxNumberOfBytesToSend=60, overchargeMaxBytesToSend=2600)
    at ClientTCPSocket.cpp:1893
        returnStatus = {success = true, sentBytesStandardPackets = 888,
  sentBytesControlPackets = 0}
        returnStatus = {success = 80, sentBytesStandardPackets = 60,
  sentBytesControlPackets = 3046175512}
#2  0x08181680 in UploadBandwidthThrottler::Entry (this=0x8a2b7c0)
    at UploadBandwidthThrottler.cpp:476
        socketSentBytes = {success = true, sentBytesStandardPackets = 888,
  sentBytesControlPackets = 0}
        lastSpentBytes = 888
        socket = (class ThrottledFileSocket *) 0x94b7158
        maxCounter = 0
        spentBytes = 0
        spentOverhead = 0
        sendLock = {m_isOk = true, m_mutex = @0x8a2b7d0}
        maxSlot = 3
        timeSinceLastLoop = 12
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 60
        sleepTime = 7
        thisLoopTick = 3122616001
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        lastLoopTick = 3122616001
        realBytesToSpend = 60479
        allowedDataRate = 10240
        rememberedSlotCounter = 1
        lastTickReachedBandwidth = 3122615989
        extraSleepTime = 1
        sendLock = {m_isOk = false, m_mutex = @0x0}
#3  0xb7b4271c in wxThreadInternal::PthreadStart (thread=0x8a2b7c0)
    at ./src/unix/threadpsx.cpp:763
        __clframe = {__cancel_routine = 0xb7b425aa ,
  __cancel_arg = 0x8a2b7c0, __do_it = 1, __cancel_type = -1248791480}
        pthread = (wxThreadInternal *) 0x8a2a3d8
        rc = 0
        dontRunAtAll = false
#4  0xb7b42885 in wxPthreadStart (ptr=0x8a2b7c0)
    at ./src/unix/threadpsx.cpp:715
No locals.
#5  0xb7fa7540 in start_thread () from /lib/i686/libpthread.so.0
---Type to continue, or q to quit---
No symbol table info available.
#6  0xb78d955e in clone () from /lib/i686/libc.so.6
No symbol table info available.

(gdb) thread apply all bt

Thread 4 (Thread -1276413024 (LWP 7735)):
#0  0xbfffe410 in __kernel_vsyscall ()
#1  0xb7faaa0c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/i686/libpthread.so.0
#2  0xb7b403b1 in wxConditionInternal::WaitTimeout (this=0x8a78a60,
    milliseconds=94) at ./src/unix/threadpsx.cpp:402
#3  0xb7b4049c in wxCondition::WaitTimeout (this=0x872b43c, milliseconds=94)
    at ./include/wx/thrimpl.cpp:255
#4  0xb7b41315 in wxSemaphoreInternal::WaitTimeout (this=0x872b438,
    milliseconds=94) at ./src/unix/threadpsx.cpp:549
#5  0xb7b41404 in wxSemaphore::WaitTimeout (this=0x871f728, milliseconds=94)
    at ./include/wx/thrimpl.cpp:319
#6  0x082c75c8 in CTimerThread::Entry (this=0x871f708) at Timer.cpp:66
#7  0xb7b4271c in wxThreadInternal::PthreadStart (thread=0x871f708)
    at ./src/unix/threadpsx.cpp:763
#8  0xb7b42885 in wxPthreadStart (ptr=0x871f708)
    at ./src/unix/threadpsx.cpp:715
#9  0xb7fa7540 in start_thread () from /lib/i686/libpthread.so.0
#10 0xb78d955e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread -1248789600 (LWP 7733)):
#0  0x080c79e2 in CEMSocket::SendFileAndControlData (this=0x85c70a8,
    maxNumberOfBytesToSend=60, minFragSize=2600) at EMSocket.h:78
#1  0x080bbd2a in CClientTCPSocket::SendFileAndControlData (this=0x85c70a8,
    maxNumberOfBytesToSend=60, overchargeMaxBytesToSend=2600)
    at ClientTCPSocket.cpp:1893
#2  0x08181680 in UploadBandwidthThrottler::Entry (this=0x8a2b7c0)
    at UploadBandwidthThrottler.cpp:476
#3  0xb7b4271c in wxThreadInternal::PthreadStart (thread=0x8a2b7c0)
    at ./src/unix/threadpsx.cpp:763
#4  0xb7b42885 in wxPthreadStart (ptr=0x8a2b7c0)
    at ./src/unix/threadpsx.cpp:715
#5  0xb7fa7540 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb78d955e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread -1226578224 (LWP 7724)):
#0  0xbfffe410 in __kernel_vsyscall ()
#1  0xb78cf6c3 in poll () from /lib/i686/libc.so.6
#2  0xb7cce5fe in wxapp_poll_func (ufds=0x8f0f928, nfds=99, timeout=19)
    at ./src/gtk/app.cpp:368
#3  0xb72c81f1 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4  0xb72c8544 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb75ad99f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0xb7cee14d in wxEventLoop::Run (this=0x8a77e90) at ./src/gtk/evtloop.cpp:80
#7  0xb7d82c52 in wxAppBase::MainLoop (this=0x86b2de0)
    at ./src/common/appcmn.cpp:272
#8  0xb7d826c1 in wxAppBase::OnRun (this=0x86b2de0)
    at ./src/common/appcmn.cpp:340
#9  0xb7ae7370 in wxEntry (argc=@0xbfc33ad0, argv=0xbfc33b54)
    at ./src/common/init.cpp:439
#10 0x081d45ae in main (argc=Cannot access memory at address 0x63
) at amule-gui.cpp:143
0x080c79e2      78          virtual SocketSentBytes SendFileAndControlData(uint32 maxNumberOfBytesToSend, uint32 minFragSize) { return Send(maxNumberOfBytesToSend, minFragSize, false); };
Logged