aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: assertion fail: m_reqfile!=NULL ... Cannot request file when no reqfile is set  (Read 2481 times)

llama

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19

2.3.0~svnr9642-0ubuntu1~jaunty1 on AMD64 Ubuntu Jaunty.  Running minimized in Xvnc+fluxbox.

log file:
Code: [Select]
!2009-06-06 10:29:08: amule.cpp(2172): Connected to Kad (firewalled)
!2009-06-06 10:29:09: amule.cpp(2170): Connected to Kad (ok)
 2009-06-06 12:21:32: Logger.cpp(343): Debug: ../../src/DownloadClient.cpp(216): assert "m_reqfile" failed in SendFileRequest(): Cannot request file when no reqfile is set

tty output + gdb:
See stack frame #6 in Thread 1: CUpDownClient::SendFileRequest
Code: [Select]
...
 2009-06-05 23:19:15: SharedFileList.cpp(325): Adding file /home/peter/.aMule/Temp/103.part.met to shares
 2009-06-05 23:19:15: SharedFileList.cpp(325): Adding file /home/peter/.aMule/Temp/137.part.met to shares
[New Thread 0x7f1fb75a5950 (LWP 844)]
[Thread 0x7f1fb75a5950 (LWP 844) exited]
 2009-06-06 01:12:51: SafeFile.cpp(475): Invalid Kad tag; type=0xae name=
(note: several hours of 17kB/s uploading before the assertion failure)

("stop" selected from GUI assert dialog)
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7f1fc518f7e0 (LWP 25593)]
0x00007f1fc4dacf3b in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
42      ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
(gdb)
(gdb) thread apply all bt full

Thread 4 (Thread 0x7f1fb6da4950 (LWP 25601)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1  0x00007f1fc2d73009 in wxConditionInternal::WaitTimeout (this=<value optimized out>, milliseconds=100) at ../src/unix/threadpsx.cpp:405
        curtime = <value optimized out>
        tspec = {tv_sec = 1244393977, tv_nsec = 8000000}
        err = <value optimized out>
#2  0x00007f1fc2d74892 in wxSemaphoreInternal::WaitTimeout (this=0x10a6bb0, milliseconds=100) at ../src/unix/threadpsx.cpp:552
        remainingTime = 139774427766848
        locker = {m_isOk = true, m_mutex = @0x10a6bb0}
#3  0x00000000007fdc5b in CTimerThread::Entry (this=0x1072450) at ../../src/Timer.cpp:64
        now = 3148428364
        sinceLast = 0
        timeout = 100
        evt = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x9fdef0, static ms_classInfo = {m_className = 0x7f1fc2da5c38,
        m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f1fc3b8a180,
        m_next = 0x7f1fc2fffd00, static sm_classTable = 0x10054d0}, m_refData = 0x0}, m_eventObject = 0x0, m_eventType = 10244,
    m_timeStamp = 0, m_id = 6128, m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false,
    static ms_classInfo = {m_className = 0x7f1fc2db7bb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f1fc2fffc00,
      m_baseInfo2 = 0x0, static sm_first = 0x7f1fc3b8a180, m_next = 0x7f1fc3001ba0, static sm_classTable = 0x10054d0}}, <No data fields>}
        lastEvent = 3148428364
#4  0x00007f1fc2d75212 in wxThreadInternal::PthreadStart (thread=0x1072450) at ../src/unix/threadpsx.cpp:766
        pthread = (wxThreadInternal *) 0x1072230
        rc = <value optimized out>
        dontRunAtAll = false
        __FUNCTION__ = "PthreadStart"
#5  0x00007f1fc4da53ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
        __res = <value optimized out>
        pd = (struct pthread *) 0x7f1fb6da4950
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1990192103004186276, 8392704, 0, 139774427766848, 140736634656096,
        1899964232460786012, 1900206124563945820}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
      cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
#6  0x00007f1fc200dfcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7f1fb7da7950 (LWP 25599)):
#0  0x00007f1fc4dac7e1 in nanosleep () from /lib/libpthread.so.0
No locals.
#1  0x00007f1fc2d7ba4c in wxMicroSleep (microseconds=<value optimized out>) at ../src/unix/utilsunx.cpp:191
        tmReq = {tv_sec = 1, tv_nsec = 0}
#2  0x00000000005f0da2 in UploadBandwidthThrottler::Entry (this=0x269f6e0) at ../../src/UploadBandwidthThrottler.cpp:320
        timeSinceLastLoop = 0
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 18432
        sleepTime = 1000
        thisLoopTick = 3148428223
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        lastLoopTick = 3148428223
        realBytesToSpend = 1024999
        allowedDataRate = 17408
        rememberedSlotCounter = 2
        extraSleepTime = 1000
        sendLock = {m_isOk = 200, m_mutex = @0x7f1fc51d78c8}
---Type <return> to continue, or q <return> to quit---
#3  0x00007f1fc2d75212 in wxThreadInternal::PthreadStart (thread=0x269f6e0) at ../src/unix/threadpsx.cpp:766
        pthread = (wxThreadInternal *) 0x25016e0
        rc = <value optimized out>
        dontRunAtAll = false
        __FUNCTION__ = "PthreadStart"
#4  0x00007f1fc4da53ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
        __res = <value optimized out>
        pd = (struct pthread *) 0x7f1fb7da7950
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1990192103004186276, 8392704, 0, 139774427766848, 140736634652368,
        1899962033974401372, 1900206124563945820}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
      cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
#5  0x00007f1fc200dfcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#6  0x0000000000000000 in ?? ()
No symbol table info available.
Current language:  auto; currently asm

Thread 1 (Thread 0x7f1fc518f7e0 (LWP 25593)):
#0  0x00007f1fc4dacf3b in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.


#1  0x00007f1fc342aed5 in wxGUIAppTraits::ShowAssertDialog (this=<value optimized out>, msg=<value optimized out>)
    at ../src/gtk/utilsgtk.cpp:392
        dialog = (GtkWidget *) 0x64f5a10

        dump = {<wxStackWalker> = {<wxStackWalkerBase> = {_vptr.wxStackWalkerBase = 0x7f1fc3842db0},
    static ms_exepath = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f1fc2daac58}, <No data fields>},
    static ms_addresses = {0x7f1fc2d71284, 0x7f1fc342ae74, 0x7f1fc2ccdac0, 0x7f1fc3403fd0, 0x45c450, 0x7f1fc2cce31a, 0x4eca59, 0x47cfb6,
      0x4c74b2, 0x4cff5f, 0x53cba5, 0x4c5e62, 0x4d1ad1, 0x7f1fc2d76579, 0x7f1fc2d77b67, 0x7f1fc2d77ca9, 0x7f1fc2d779a6, 0x7f1fc2ccd81e,
      0x7f1fc34b26fb, 0x7f1fc3404c32, 0x7f1fbf9bc20a, 0x7f1fbf9bf8e0, 0x7f1fbf9bfdad, 0x7f1fc185dbc7, 0x7f1fc341e2a8, 0x7f1fc34b2438,
      0x7f1fc2d0dccd, 0x6a5315, 0x7f1fc1f465a6, 0x452a39, 0x0 <repeats 170 times>}, static ms_symbols = 0xc20c890, static m_depth = 30},
  m_dlg = 0x64f5a10}
        result = 0
        returnCode = <value optimized out>
        __FUNCTION__ = "ShowAssertDialog"
#2  0x00007f1fc2ccdac0 in ShowAssertDialog (szFile=0x8fa548, nLine=216, szFunc=0x7f07ca8, szCond=0x8fb690, szMsg=0x8fd558,
    traits=0x1063670) at ../src/common/appbase.cpp:836
        msg = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x8e59258}, <No data fields>}
        s_bNoAsserts = false
#3  0x00007f1fc3403fd0 in wxApp::OnAssertFailure (this=0x63f9, file=0x63f9, line=5, func=0xffffffffffffffff, cond=0x7f1fc049c6a8, msg=0x22)
    at ../src/gtk/app.cpp:556
No locals.
#4  0x000000000045c450 in CamuleApp::OnAssertFailure (this=0x1032dc0, file=0x8fa548, line=216, func=0x7f07ca8, cond=0x8fb690, msg=0x8fd558)
    at ../../src/amule.cpp:1385
No locals.
#5  0x00007f1fc2cce31a in wxOnAssert (szFile=0x8fa548, nLine=216, szFunc=<value optimized out>, szCond=0x8fb690, szMsg=0x8fd558)
    at ../src/common/appbase.cpp:711
        guard = {m_flag = @0x7f1fc2ff8080, m_isInside = false}
        strFunc = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f07ca8}, <No data fields>}
        s_bInAssert = 1
#6  0x00000000004eca59 in CUpDownClient::SendFileRequest (this=0x6e4acb0) at ../../src/DownloadClient.cpp:216
        dataFileReq = {<CFileDataIO> = {_vptr.CFileDataIO = 0x7f1fc2295a00}, m_growthRate = 1, m_position = 151222832,
  m_BufferSize = 14554208, m_fileSize = 139774401246616, m_delete = 40, m_readonly = 72, m_buffer = 0x6e4ad10 ""}
        __FUNCTION__ = "SendFileRequest"
#7  0x000000000047cfb6 in CUpDownClient::ConnectionEstablished (this=0x6e4acb0) at ../../src/BaseClient.cpp:1664
No locals.
#8  0x00000000004c74b2 in CClientTCPSocket::ProcessPacket (this=0x87bf050, buffer=0x8d249e0 "\020\226׽�S\016\nV\n#�!n\234o\204�g�",
    size=127, opcode=1 '\001') at ../../src/ClientTCPSocket.cpp:403
        bNewClient = true
        bIsMuleHello = true
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "ProcessPacket"
#9  0x00000000004cff5f in CClientTCPSocket::PacketReceived (this=0x87bf050, packet=0x8257240) at ../../src/ClientTCPSocket.cpp:2051
        process = true
        bResult = false
        uRawSize = 127
        exception = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f1fc2daac58}, <No data fields>}
        __FUNCTION__ = "PacketReceived"
#10 0x000000000053cba5 in CEMSocket::OnReceive (this=0x87bf050, nErrorCode=0) at ../../src/EMSocket.cpp:328
        bPacketResult = false
        toCopy = 127
        readMax = 2000000
        ret = 133
        rptr = (
    uint8_t *) 0xde15a5 "\200\213έ�S,5\022�\234H5\022�\0367\224\021S,5\0225\022=��\"�9�^\227K��{\031-�#<{\033zF�<#\212�b�h�m�\212\201�\024V:\032Rq)P\003�bV\214n��5G\220��N��\f�f\206�\037�\237A���0-'�\225\020�gL�\rA\225\213�\037\a\031s�V\001O���\2250&��`T7��iD-ToT/�)"
        rend = (
    const uint8_t *) 0xde15a5 "\200\213έ�S,5\022�\234H5\022�\0367\224\021S,5\0225\022=��\"�9�^\227K��{\031-�#<{\033zF�<#\212�b�h�m�\212\201�\024V:\032Rq)P\003�bV\214n��5G\220��N��\f�f\206�\037�\237A���0-'�\225\020�gL�\rA\225\213�\037\a\031s�V\001O���\2250&��`T7��iD-ToT/�)"
        GlobalReadBuffer = "�\200\000\000\000\001\020\226׽�S\016\nV\n#�!n\234o\204�g�\000@\020\b\000\000\000\002\001\000\001\025\000[CHN][VeryCD]yourname\003\001\000\021<\000\000\000\003\001\000�J\020J\020\003\001\000�\033B\0234\003\001\000��\001\000\000\003\001\000�\000�\000\000\002\001\000U\r\000VeryCD 090304\003\001\000�\f�\211\024W�S,5\022\200\213έ�S,5\022�\234H5\022�\0367\224\021S,5\0225\022=��\"�9�^\227K��{\031-�#<{\033zF�<#\212�b�h�m�\212\201�\024V:\032Rq"...
        __FUNCTION__ = "OnReceive"
#11 0x00000000004c5e62 in CClientTCPSocket::OnReceive (this=0x87bf050, nErrorCode=0) at ../../src/ClientTCPSocket.cpp:1956
        __FUNCTION__ = "OnReceive"
#12 0x00000000004d1ad1 in CClientTCPSocketHandler::ClientTCPSocketHandler (this=0xde1460, event=@0x9037a30)
    at ../../src/ClientTCPSocket.cpp:94
        socket = (CClientTCPSocket *) 0x87bf050
        __FUNCTION__ = "ClientTCPSocketHandler"
#13 0x00007f1fc2d76579 in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=0x63f9, event=@0x9037a30)
    at ../src/common/event.cpp:1231
        tableId1 = <value optimized out>
        tableId2 = <value optimized out>
#14 0x00007f1fc2d77b67 in wxEventHashTable::HandleEvent (this=<value optimized out>, event=@0x9037a30, self=0xde1460)
    at ../src/common/event.cpp:906
        n = 0
        count = 1
        eventType = <value optimized out>
        eTTnode = (wxEventHashTable::EventTypeTable * const) 0x283fef0
#15 0x00007f1fc2d77ca9 in wxEvtHandler::ProcessEvent (this=0xde1460, event=@0x9037a30) at ../src/common/event.cpp:1293
        __FUNCTION__ = "ProcessEvent"
#16 0x00007f1fc2d779a6 in wxEvtHandler::ProcessPendingEvents (this=0xde1460) at ../src/common/event.cpp:1191
        event = {m_ptr = 0x9037a30}
        n = 1
        __FUNCTION__ = "ProcessPendingEvents"
#17 0x00007f1fc2ccd81e in wxAppConsole::ProcessPendingEvents (this=<value optimized out>) at ../src/common/appbase.cpp:294
        handler = (class wxEvtHandler *) 0xde1460
#18 0x00007f1fc34b26fb in wxAppBase::ProcessIdle (this=0x63f9) at ../src/common/appcmn.cpp:435
        event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x1c, static ms_classInfo = {m_className = 0x7f1fc2da5c38, m_objectSize = 16,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f1fc3b8a180, m_next = 0x7f1fc2fffd00,
        static sm_classTable = 0x10054d0}, m_refData = 0x223f990}, m_eventObject = 0x1c, m_eventType = -1080360008, m_timeStamp = 0,
    m_id = -1071172447, m_callbackUserData = 0x0, m_propagationLevel = -992312063, m_skipped = 31, m_isCommandEvent = 127,
    static ms_classInfo = {m_className = 0x7f1fc2db7bb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f1fc2fffc00,
      m_baseInfo2 = 0x0, static sm_first = 0x7f1fc3b8a180, m_next = 0x7f1fc3001ba0, static sm_classTable = 0x10054d0}},
  m_requestMore = false, static sm_idleMode = wxIDLE_PROCESS_ALL, static ms_classInfo = {m_className = 0x7f1fc3587c88, m_objectSize = 64,
    m_objectConstructor = 0x7f1fc33f68d0 <wxIdleEvent::wxCreateObject()>, m_baseInfo1 = 0x7f1fc3001be0, m_baseInfo2 = 0x0,
    static sm_first = 0x7f1fc3b8a180, m_next = 0x7f1fc388f120, static sm_classTable = 0x10054d0}}
        needMore = false
#19 0x00007f1fc3404c32 in wxapp_idle_callback () at ../src/gtk/app.cpp:206
---Type <return> to continue, or q <return> to quit---
        idleID_save = 8750002
        moreIdles = true
#20 0x00007f1fbf9bc20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#21 0x00007f1fbf9bf8e0 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#22 0x00007f1fbf9bfdad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x00007f1fc185dbc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x00007f1fc341e2a8 in wxEventLoop::Run (this=0x27a46d0) at ../src/gtk/evtloop.cpp:76
        exitcode = <value optimized out>
        __FUNCTION__ = "Run"
#25 0x00007f1fc34b2438 in wxAppBase::MainLoop (this=0x1032dc0) at ../src/common/appcmn.cpp:312
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x27a46d0}, m_pp = 0x1032e38, m_pOld = 0x0}
#26 0x00007f1fc2d0dccd in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at ../src/common/init.cpp:460
No locals.
#27 0x00000000006a5315 in main (argc=1, argv=0x7fffcd1d97e8) at ../../src/amule-gui.cpp:94
No locals.
Current language:  auto; currently c
(gdb)
Logged