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]

Author Topic: CVS 2007-12-28 (my second backtrace post)  (Read 6557 times)

hopelessone

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 105
  • Ubuntu 8.04
Re: CVS 2007-12-28 (my second backtrace post)
« Reply #15 on: January 04, 2008, 06:54:50 AM »

OK...

Code: [Select]
[Debug] Generating a stack trace... please waitamuled.cpp(144): assert "(fd > 2) && (fd < 1024)" failed in AddSocket().

Call stack:
[00] 0xb7ddc196
[01] wxAppConsole::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)
[02] CamuleApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)    /home/firebox/amule-cvs/src/amule.cpp:1377
[03] wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)
[04] CSocketSet::AddSocket(GSocket*)            /home/firebox/amule-cvs/src/amuled.cpp:146
[05] CAmuledGSocketFuncTable::AddSocket(GSocket*, GSocketEvent) /home/firebox/amule-cvs/src/amuled.cpp:216
[06] CAmuledGSocketFuncTable::Install_Callback(GSocket*, GSocketEvent)  /home/firebox/amule-cvs/src/amuled.cpp:288
[07] CAmuledGSocketFuncTable::Enable_Events(GSocket*)   /home/firebox/amule-cvs/src/amuled.cpp:298
[08] GSocket::Connect(GSocketStream)         
[09] wxSocketClient::DoConnect(wxSockAddress&, wxSockAddress*, bool)
[10] wxSocketClient::Connect(wxSockAddress&, bool)
[11] CSocketClientProxy::Connect(wxIPaddress&, bool)    /home/firebox/amule-cvs/src/Proxy.cpp:1274
[12] CUpDownClient::Connect()                   /home/firebox/amule-cvs/src/BaseClient.cpp:1497
[13] CUpDownClient::TryToConnect(bool)          /home/firebox/amule-cvs/src/BaseClient.cpp:1470
[14] CUpDownClient::AskForDownload()            /home/firebox/amule-cvs/src/DownloadClient.cpp:157
[15] CPartFile::Process(unsigned int, unsigned char)    /home/firebox/amule-cvs/src/PartFile.cpp:1482
[16] CDownloadQueue::Process()                  /home/firebox/amule-cvs/src/DownloadQueue.cpp:374
[17] CamuleApp::OnCoreTimer(CTimerEvent&)       /home/firebox/amule-cvs/src/amule.cpp:1449
[18] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const
[19] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[20] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread -1213339968 (LWP 6784)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
Code: [Select]
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f91590 in raise () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7ddbf9e in wxTrap () at ./src/common/appbase.cpp:672
#3  0xb7ddbff9 in DoShowAssertDialog (msg=@0xbfdc534c)
    at ./src/common/appbase.cpp:769
#4  0xb7ddc46d in wxAppTraitsBase::ShowAssertDialog (this=0x86805a8,
    msgOriginal=@0xbfdc53ac) at ./src/common/appbase.cpp:555
#5  0xb7ddc4ee in wxConsoleAppTraitsBase::ShowAssertDialog (this=0x86805a8,
    msg=@0xbfdc53ac) at ./src/common/appbase.cpp:505
#6  0xb7ddc196 in ShowAssertDialog (szFile=0x83467dc, nLine=144,
    szFunc=0xaf4228f4, szCond=0x8346824, szMsg=0x0, traits=0x86805a8)
    at ./src/common/appbase.cpp:839
#7  0xb7ddc3bc in wxAppConsole::OnAssertFailure (this=0x8678ee0,
    file=0x83467dc, line=144, func=0xaf4228f4, cond=0x8346824, msg=0x0)
    at ./src/common/appbase.cpp:443
#8  0x08066175 in CamuleApp::OnAssertFailure (this=0x8678ee0, file=0x83467dc,
    line=144, func=0xaf4228f4, cond=0x8346824, msg=0x0) at amule.cpp:1377
#9  0xb7ddc2b7 in wxOnAssert (szFile=0x83467dc, nLine=144,
    szFunc=0x83474f5 "AddSocket", szCond=0x8346824, szMsg=0x0)
    at ./src/common/appbase.cpp:712
#10 0x0805d196 in CSocketSet::AddSocket (this=0x86792f0, socket=0xac0bfb70)
    at amuled.cpp:144
#11 0x0805d6c9 in CAmuledGSocketFuncTable::AddSocket (this=0x8679138,
---Type <return> to continue, or q <return> to quit---
    socket=0xac0bfb70, event=GSOCK_INPUT) at amuled.cpp:216
#12 0x0805d731 in CAmuledGSocketFuncTable::Install_Callback (this=0x8679138,
    sock=0xac0bfb70, e=GSOCK_INPUT) at amuled.cpp:287
#13 0x0805c6ab in CAmuledGSocketFuncTable::Enable_Events (this=0x8679138,
    socket=0xac0bfb70) at amuled.cpp:297
#14 0xb7f73046 in GSocket::Connect (this=0xac0bfb70, stream=GSOCK_STREAMED)
    at ./src/unix/gsocket.cpp:1013
#15 0xb7f6b63e in wxSocketClient::DoConnect (this=0xaf6f9ff0,
    addr_man=@0xbfdc5648, local=0xaf6fa038, wait=false)
    at ./src/common/socket.cpp:1295
#16 0xb7f6aff7 in wxSocketClient::Connect (this=0xaf6f9ff0,
    addr_man=@0xbfdc5648, wait=false) at ./src/common/socket.cpp:1314
#17 0x08277975 in CSocketClientProxy::Connect (this=0xaf6f9ff0,
    address=@0xbfdc5648, wait=false) at Proxy.cpp:1274
#18 0x0807996a in CUpDownClient::Connect (this=0xb1cd3998)
    at BaseClient.cpp:1494
#19 0x0807f656 in CUpDownClient::TryToConnect (this=0xb1cd3998,
    bIgnoreMaxCon=false) at BaseClient.cpp:1470
#20 0x080ceb1e in CUpDownClient::AskForDownload (this=0xb1cd3998)
    at DownloadClient.cpp:157
#21 0x0824dc14 in CPartFile::Process (this=0x92d07c8, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1567
#22 0x080db0df in CDownloadQueue::Process (this=0x920ed18)
---Type <return> to continue, or q <return> to quit---
    at DownloadQueue.cpp:374
#23 0x08067e76 in CamuleApp::OnCoreTimer (this=0x8678ee0) at amule.cpp:1447
#24 0xb7ddbdff in wxAppConsole::HandleEvent (this=0x8678ee0,
    handler=0x8678ee0, func=
    (void ( class wxEvtHandler::*)(class wxEvent &,)) 16830405,
    event=@0x9c39740) at ./src/common/appbase.cpp:320
#25 0xb7e9b6d2 in wxEvtHandler::ProcessEventIfMatches (entry=@0x846d880,
    handler=0x8678ee0, event=@0x9c39740) at ./src/common/event.cpp:1225
#26 0xb7e9d4ee in wxEventHashTable::HandleEvent (this=0x846d800,
    event=@0x9c39740, self=0x8678ee0) at ./src/common/event.cpp:898
#27 0xb7e9d654 in wxEvtHandler::ProcessEvent (this=0x8678ee0, event=@0x9c39740)
    at ./src/common/event.cpp:1287
#28 0xb7e9bfaa in wxEvtHandler::ProcessPendingEvents (this=0x8678ee0)
    at ./src/common/event.cpp:1183
#29 0xb7ddcf11 in wxAppConsole::ProcessPendingEvents (this=0x8678ee0)
    at ./src/common/appbase.cpp:292
#30 0x0805e251 in CamuleDaemonApp::OnRun (this=0x8678ee0) at amuled.cpp:427
#31 0xb7e24bda in wxEntry (argc=@0xb7f444cc, argv=0x86673a0)
    at ./src/common/init.cpp:456
#32 0xb7e24ca5 in wxEntry (argc=@0xbfdc5c90, argv=0xbfdc5d14)
    at ./src/common/init.cpp:468
#33 0x0805e2b0 in main (argc=Cannot access memory at address 0x1a80
) at amuled.cpp:101
(gdb) bt full
Code: [Select]
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f91590 in raise () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb7ddbf9e in wxTrap () at ./src/common/appbase.cpp:672
No locals.
#3  0xb7ddbff9 in DoShowAssertDialog (msg=@0xbfdc534c)
    at ./src/common/appbase.cpp:769
No locals.
#4  0xb7ddc46d in wxAppTraitsBase::ShowAssertDialog (this=0x86805a8,
    msgOriginal=@0xbfdc53ac) at ./src/common/appbase.cpp:555
        msg = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xaabf223c}, <No data fields>}
        stackTrace = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xb25f464c}, <No data fields>}
#5  0xb7ddc4ee in wxConsoleAppTraitsBase::ShowAssertDialog (this=0x86805a8,
    msg=@0xbfdc53ac) at ./src/common/appbase.cpp:505
No locals.
#6  0xb7ddc196 in ShowAssertDialog (szFile=0x83467dc, nLine=144,
    szFunc=0xaf4228f4, szCond=0x8346824, szMsg=0x0, traits=0x86805a8)
    at ./src/common/appbase.cpp:839
        msg = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xace90c44}, <No data fields>}
---Type <return> to continue, or q <return> to quit---
        s_bNoAsserts = false
#7  0xb7ddc3bc in wxAppConsole::OnAssertFailure (this=0x8678ee0,
    file=0x83467dc, line=144, func=0xaf4228f4, cond=0x8346824, msg=0x0)
    at ./src/common/appbase.cpp:443
No locals.
#8  0x08066175 in CamuleApp::OnAssertFailure (this=0x8678ee0, file=0x83467dc,
    line=144, func=0xaf4228f4, cond=0x8346824, msg=0x0) at amule.cpp:1377
No locals.
#9  0xb7ddc2b7 in wxOnAssert (szFile=0x83467dc, nLine=144,
    szFunc=0x83474f5 "AddSocket", szCond=0x8346824, szMsg=0x0)
    at ./src/common/appbase.cpp:712
        strFunc = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0xaf4228f4}, <No data fields>}
        s_bInAssert = true
#10 0x0805d196 in CSocketSet::AddSocket (this=0x86792f0, socket=0xac0bfb70)
    at amuled.cpp:144
        fd = 1024
        __FUNCTION__ = "AddSocket"
#11 0x0805d6c9 in CAmuledGSocketFuncTable::AddSocket (this=0x8679138,
    socket=0xac0bfb70, event=GSOCK_INPUT) at amuled.cpp:216
        lock = {m_isOk = true, m_mutex = @0x8679144}
#12 0x0805d731 in CAmuledGSocketFuncTable::Install_Callback (this=0x8679138,
    sock=0xac0bfb70, e=GSOCK_INPUT) at amuled.cpp:287
---Type <return> to continue, or q <return> to quit---
No locals.
#13 0x0805c6ab in CAmuledGSocketFuncTable::Enable_Events (this=0x8679138,
    socket=0xac0bfb70) at amuled.cpp:297
No locals.
#14 0xb7f73046 in GSocket::Connect (this=0xac0bfb70, stream=GSOCK_STREAMED)
    at ./src/unix/gsocket.cpp:1013
        err = -1408500880
        ret = -1
        arg = 1
        __PRETTY_FUNCTION__ = "GSocketError GSocket::Connect(GSocketStream)"
#15 0xb7f6b63e in wxSocketClient::DoConnect (this=0xaf6f9ff0,
    addr_man=@0xbfdc5648, local=0xaf6fa038, wait=false)
    at ./src/common/socket.cpp:1295
        err = 3086422510
#16 0xb7f6aff7 in wxSocketClient::Connect (this=0xaf6f9ff0,
    addr_man=@0xbfdc5648, wait=false) at ./src/common/socket.cpp:1314
No locals.
#17 0x08277975 in CSocketClientProxy::Connect (this=0xaf6f9ff0,
    address=@0xbfdc5648, wait=false) at Proxy.cpp:1274
        lock = {m_isOk = true, m_mutex = @0xaf6fa0ac}
        ok = false
#18 0x0807996a in CUpDownClient::Connect (this=0xb1cd3998)
    at BaseClient.cpp:1494
---Type <return> to continue, or q <return> to quit---
        tmp = {<wxIPV4address> = {<wxIPaddress> = {<wxSockAddress> = {<wxObject> = {_vptr.wxObject = 0x834e8e8, static ms_classInfo = {
            m_className = 0xb7ed61a0, m_objectSize = 8,
            m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
            static sm_first = 0x0, m_next = 0xb7f45728,
            static sm_classTable = 0x8658030}, m_refData = 0x0},
        static ms_classInfo = {m_className = 0xb7f760cc, m_objectSize = 12,
          m_objectConstructor = 0, m_baseInfo1 = 0xb7f45684,
          m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0xb7f82a20,
          static sm_classTable = 0x8658030}, m_address = 0xabaede10},
      static ms_classInfo = {m_className = 0xb7f76104, m_objectSize = 12,
        m_objectConstructor = 0, m_baseInfo1 = 0xb7f829a0, m_baseInfo2 = 0x0,
        static sm_first = 0x0, m_next = 0xb7f829a0,
        static sm_classTable = 0x8658030}}, static ms_classInfo = {
      m_className = 0xb7f76134, m_objectSize = 16,
      m_objectConstructor = 0xb7f671f4 <wxIPV4address::wxCreateObject()>,
      m_baseInfo1 = 0xb7f829b8, m_baseInfo2 = 0x0, static sm_first = 0x0,
      m_next = 0xb7f829b8, static sm_classTable = 0x8658030},
    m_origHostname = {<wxStringBase> = {static npos = 4294967295,
        m_pchData = 0xb7edc61c}, <No data fields>}}, <No data fields>}
#19 0x0807f656 in CUpDownClient::TryToConnect (this=0xb1cd3998,
    bIgnoreMaxCon=false) at BaseClient.cpp:1470
        uClientIP = 2632470217
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "TryToConnect"
#20 0x080ceb1e in CUpDownClient::AskForDownload (this=0xb1cd3998)
    at DownloadClient.cpp:157
No locals.
#21 0x0824dc14 in CPartFile::Process (this=0x92d07c8, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1567
        cur_src = (CUpDownClient *) 0xb1cd3998
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x92d0a54,
    _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0xb27bbfb0}}
        old_trans = 0
        dwCurTick = 1129833339
#22 0x080db0df in CDownloadQueue::Process (this=0x920ed18)
    at DownloadQueue.cpp:374
        file = (class CPartFile *) 0x92d07c8
        unlocker = {m_isOk = true, m_mutex = @0x920ed44}
        i = 504
        lock = {m_isOk = true, m_mutex = @0x920ed44}
        downspeed = 0
        cur_datarate = 193641
        cur_udcounter = 10
#23 0x08067e76 in CamuleApp::OnCoreTimer (this=0x8678ee0) at amule.cpp:1447
        msCur = 6980479
---Type <return> to continue, or q <return> to quit---
        msPrev1 = 6979567
        msPrev5 = 6975968
        msPrevSave = 6962475
        msPrevHist = 5967000
        msPrevOS = 6975968
        msPrevKnownMet = 5417475
#24 0xb7ddbdff in wxAppConsole::HandleEvent (this=0x8678ee0,
    handler=0x8678ee0, func=
    (void ( class wxEvtHandler::*)(class wxEvent &,)) 16830405,
    event=@0x9c39740) at ./src/common/appbase.cpp:320
No locals.
#25 0xb7e9b6d2 in wxEvtHandler::ProcessEventIfMatches (entry=@0x846d880,
    handler=0x8678ee0, event=@0x9c39740) at ./src/common/event.cpp:1225
        tableId1 = 6128
        tableId2 = -1
#26 0xb7e9d4ee in wxEventHashTable::HandleEvent (this=0x846d800,
    event=@0x9c39740, self=0x8678ee0) at ./src/common/event.cpp:898
        n = 1
        eventEntryTable = (
    const wxEventTableEntryPointerArray &) @0x920e6ac: {<wxBaseArrayPtrVoid> = {m_nSize = 2, m_nCount = 2, m_pItems = 0x920ea58}, <No data fields>}
        count = 2
        eventType = 10014
---Type <return> to continue, or q <return> to quit---
        eTTnode = (wxEventHashTable::EventTypeTable * const) 0x920e6a8
#27 0xb7e9d654 in wxEvtHandler::ProcessEvent (this=0x8678ee0, event=@0x9c39740)
    at ./src/common/event.cpp:1287
        __FUNCTION__ = "ProcessEvent"
#28 0xb7e9bfaa in wxEvtHandler::ProcessPendingEvents (this=0x8678ee0)
    at ./src/common/event.cpp:1183
        event = (wxEvent *) 0x9c39740
        node = {m_ptr = 0xea632a8}
        n = 1
        __FUNCTION__ = "ProcessPendingEvents"
#29 0xb7ddcf11 in wxAppConsole::ProcessPendingEvents (this=0x8678ee0)
    at ./src/common/appbase.cpp:292
        handler = (class wxEvtHandler *) 0x8678ee0
        node = {m_ptr = 0xeb04f40}
#30 0x0805e251 in CamuleDaemonApp::OnRun (this=0x8678ee0) at amuled.cpp:427
No locals.
#31 0xb7e24bda in wxEntry (argc=@0xb7f444cc, argv=0x86673a0)
    at ./src/common/init.cpp:456
        callOnExit = {<No data fields>}
        cleanupOnExit = {<No data fields>}
#32 0xb7e24ca5 in wxEntry (argc=@0xbfdc5c90, argv=0xbfdc5d14)
    at ./src/common/init.cpp:468
No locals.
---Type <return> to continue, or q <return> to quit---
#33 0x0805e2b0 in main (argc=Cannot access memory at address 0x1a80
) at amuled.cpp:101
No locals.
Logged

hopelessone

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 105
  • Ubuntu 8.04
Re: CVS 2007-12-28 (my second backtrace post)
« Reply #16 on: January 04, 2008, 06:56:44 AM »

(gdb) thread apply all bt
Code: [Select]
Thread 4 (Thread -1231398000 (LWP 6800)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f8d8fc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7e97317 in wxConditionInternal::WaitTimeout (this=0x8680960,
    milliseconds=300) at ./src/unix/threadpsx.cpp:405
#3  0xb7e973fc in wxCondition::WaitTimeout (this=0x86808cc, milliseconds=300)
    at ./include/wx/thrimpl.cpp:256
#4  0xb7e98245 in wxSemaphoreInternal::WaitTimeout (this=0x86808c8,
    milliseconds=300) at ./src/unix/threadpsx.cpp:552
#5  0xb7e9832e in wxSemaphore::WaitTimeout (this=0x960a5b8, milliseconds=300)
    at ./include/wx/thrimpl.cpp:320
#6  0x0806097e in CTimerThread::Entry (this=0x960a598) at Timer.cpp:63
#7  0xb7e99620 in wxThreadInternal::PthreadStart (thread=0x960a598)
    at ./src/unix/threadpsx.cpp:766
#8  0xb7e9978b in wxPthreadStart (ptr=0x960a598)
    at ./src/unix/threadpsx.cpp:718
#9  0xb7f8946b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7bb76de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1214612592 (LWP 6795)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
#1  0xb7f8fe1e in __lll_mutex_lock_wait ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7f8bb74 in _L_mutex_lock_218 () from /lib/tls/i686/cmov/libpthread.so.0
#3  0xb7f8b609 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb7e97b6b in wxMutexInternal::Lock (this=0x8679178)
    at ./src/unix/threadpsx.cpp:248
#5  0xb7e97c93 in wxMutex::Lock (this=0x8679144) at ./include/wx/thrimpl.cpp:44
#6  0x0805f3a1 in wxMutexLocker (this=0xb79a6ecc, mutex=@0x8679144)
    at /home/firebox/usr/local/wxWidgets-2.8.7//include/wx-2.8/wx/thread.h:176
#7  0x0805d6ae in CAmuledGSocketFuncTable::AddSocket (this=0x8679138,
    socket=0xab523870, event=GSOCK_OUTPUT) at amuled.cpp:213
#8  0x0805d731 in CAmuledGSocketFuncTable::Install_Callback (this=0x8679138,
    sock=0xab523870, e=GSOCK_OUTPUT) at amuled.cpp:287
#9  0xb7f70a80 in GSocket::Enable (this=0xab523870, event=GSOCK_OUTPUT)
    at ./src/unix/gsocket.cpp:1516
#10 0xb7f720fd in GSocket::Write (this=0xab523870,
    buffer=0xaaf7ed5e "{+�_D\237e\005Ը;�", size=2131)
    at ./src/unix/gsocket.cpp:1252
#11 0xb7f6c57e in wxSocketBase::_Write (this=0xab523320, buffer=0xaaf7ed5e,
    nbytes=2131) at ./src/common/socket.cpp:539
#12 0xb7f6c7d8 in wxSocketBase::Write (this=0xab523320, buffer=0xaaf7ed5e,
    nbytes=2131) at ./src/common/socket.cpp:507
#13 0x0827527f in CSocketClientProxy::Write (this=0xab523320,
---Type <return> to continue, or q <return> to quit---
    buffer=0xaaf7ed5e, nbytes=2131) at Proxy.cpp:1292
#14 0x081148a6 in CEncryptedStreamSocket::Write (this=0xab523320,
    lpBuf=0xaaf7ed5e, nBufLen=2131) at EncryptedStreamSocket.cpp:212
#15 0x08110b1a in CEMSocket::Send (this=0xab523320,
    maxNumberOfBytesToSend=2600, minFragSize=2600,
    onlyAllowedToSendControlPacket=false) at EMSocket.cpp:616
#16 0x080bfe22 in CEMSocket::SendFileAndControlData (this=0xab523320,
    maxNumberOfBytesToSend=515, minFragSize=2600) at EMSocket.h:73
#17 0x080af240 in CClientTCPSocket::SendFileAndControlData (this=0xab523320,
    maxNumberOfBytesToSend=515, overchargeMaxBytesToSend=2600)
    at ClientTCPSocket.cpp:2098
#18 0x081a3dd9 in UploadBandwidthThrottler::Entry (this=0x920e438)
    at UploadBandwidthThrottler.cpp:438
#19 0xb7e99620 in wxThreadInternal::PthreadStart (thread=0x920e438)
    at ./src/unix/threadpsx.cpp:766
#20 0xb7e9978b in wxPthreadStart (ptr=0x920e438)
    at ./src/unix/threadpsx.cpp:718
#21 0xb7f8946b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#22 0xb7bb76de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1213339968 (LWP 6784)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f91590 in raise () from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2  0xb7ddbf9e in wxTrap () at ./src/common/appbase.cpp:672
#3  0xb7ddbff9 in DoShowAssertDialog (msg=@0xbfdc534c)
    at ./src/common/appbase.cpp:769
#4  0xb7ddc46d in wxAppTraitsBase::ShowAssertDialog (this=0x86805a8,
    msgOriginal=@0xbfdc53ac) at ./src/common/appbase.cpp:555
#5  0xb7ddc4ee in wxConsoleAppTraitsBase::ShowAssertDialog (this=0x86805a8,
    msg=@0xbfdc53ac) at ./src/common/appbase.cpp:505
#6  0xb7ddc196 in ShowAssertDialog (szFile=0x83467dc, nLine=144,
    szFunc=0xaf4228f4, szCond=0x8346824, szMsg=0x0, traits=0x86805a8)
    at ./src/common/appbase.cpp:839
#7  0xb7ddc3bc in wxAppConsole::OnAssertFailure (this=0x8678ee0,
    file=0x83467dc, line=144, func=0xaf4228f4, cond=0x8346824, msg=0x0)
    at ./src/common/appbase.cpp:443
#8  0x08066175 in CamuleApp::OnAssertFailure (this=0x8678ee0, file=0x83467dc,
    line=144, func=0xaf4228f4, cond=0x8346824, msg=0x0) at amule.cpp:1377
#9  0xb7ddc2b7 in wxOnAssert (szFile=0x83467dc, nLine=144,
    szFunc=0x83474f5 "AddSocket", szCond=0x8346824, szMsg=0x0)
    at ./src/common/appbase.cpp:712
#10 0x0805d196 in CSocketSet::AddSocket (this=0x86792f0, socket=0xac0bfb70)
    at amuled.cpp:144
#11 0x0805d6c9 in CAmuledGSocketFuncTable::AddSocket (this=0x8679138,
    socket=0xac0bfb70, event=GSOCK_INPUT) at amuled.cpp:216
#12 0x0805d731 in CAmuledGSocketFuncTable::Install_Callback (this=0x8679138,
---Type <return> to continue, or q <return> to quit---
    sock=0xac0bfb70, e=GSOCK_INPUT) at amuled.cpp:287
#13 0x0805c6ab in CAmuledGSocketFuncTable::Enable_Events (this=0x8679138,
    socket=0xac0bfb70) at amuled.cpp:297
#14 0xb7f73046 in GSocket::Connect (this=0xac0bfb70, stream=GSOCK_STREAMED)
    at ./src/unix/gsocket.cpp:1013
#15 0xb7f6b63e in wxSocketClient::DoConnect (this=0xaf6f9ff0,
    addr_man=@0xbfdc5648, local=0xaf6fa038, wait=false)
    at ./src/common/socket.cpp:1295
#16 0xb7f6aff7 in wxSocketClient::Connect (this=0xaf6f9ff0,
    addr_man=@0xbfdc5648, wait=false) at ./src/common/socket.cpp:1314
#17 0x08277975 in CSocketClientProxy::Connect (this=0xaf6f9ff0,
    address=@0xbfdc5648, wait=false) at Proxy.cpp:1274
#18 0x0807996a in CUpDownClient::Connect (this=0xb1cd3998)
    at BaseClient.cpp:1494
#19 0x0807f656 in CUpDownClient::TryToConnect (this=0xb1cd3998,
    bIgnoreMaxCon=false) at BaseClient.cpp:1470
#20 0x080ceb1e in CUpDownClient::AskForDownload (this=0xb1cd3998)
    at DownloadClient.cpp:157
#21 0x0824dc14 in CPartFile::Process (this=0x92d07c8, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1567
#22 0x080db0df in CDownloadQueue::Process (this=0x920ed18)
    at DownloadQueue.cpp:374
#23 0x08067e76 in CamuleApp::OnCoreTimer (this=0x8678ee0) at amule.cpp:1447
---Type <return> to continue, or q <return> to quit---
#24 0xb7ddbdff in wxAppConsole::HandleEvent (this=0x8678ee0,
    handler=0x8678ee0, func=
    (void ( class wxEvtHandler::*)(class wxEvent &,)) 16830405,
    event=@0x9c39740) at ./src/common/appbase.cpp:320
#25 0xb7e9b6d2 in wxEvtHandler::ProcessEventIfMatches (entry=@0x846d880,
    handler=0x8678ee0, event=@0x9c39740) at ./src/common/event.cpp:1225
#26 0xb7e9d4ee in wxEventHashTable::HandleEvent (this=0x846d800,
    event=@0x9c39740, self=0x8678ee0) at ./src/common/event.cpp:898
#27 0xb7e9d654 in wxEvtHandler::ProcessEvent (this=0x8678ee0, event=@0x9c39740)
    at ./src/common/event.cpp:1287
#28 0xb7e9bfaa in wxEvtHandler::ProcessPendingEvents (this=0x8678ee0)
    at ./src/common/event.cpp:1183
#29 0xb7ddcf11 in wxAppConsole::ProcessPendingEvents (this=0x8678ee0)
    at ./src/common/appbase.cpp:292
#30 0x0805e251 in CamuleDaemonApp::OnRun (this=0x8678ee0) at amuled.cpp:427
#31 0xb7e24bda in wxEntry (argc=@0xb7f444cc, argv=0x86673a0)
    at ./src/common/init.cpp:456
#32 0xb7e24ca5 in wxEntry (argc=@0xbfdc5c90, argv=0xbfdc5d14)
    at ./src/common/init.cpp:468
#33 0x0805e2b0 in main (argc=Cannot access memory at address 0x1a80
) at amuled.cpp:101

Hope all this helps and am not pain in the ass..
Logged

lfroen

  • Guest
Re: CVS 2007-12-28 (my second backtrace post)
« Reply #17 on: January 05, 2008, 01:55:31 PM »

Quote
[Debug] Generating a stack trace... please waitamuled.cpp(144): assert "(fd > 2) && (fd < 1024)" failed in AddSocket().

This message indicates, that you have more than about 1000 simultaneously sockets opened. Please check your connection settings.
Logged

hopelessone

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 105
  • Ubuntu 8.04
Re: CVS 2007-12-28 (my second backtrace post)
« Reply #18 on: January 06, 2008, 01:36:21 AM »

1000 simultaneously sockets opened...

i had opened previously to 2000 and forgot to  limit it to 1024...did it now!!

Now i get a heap of error 24's...so i think i should limit my uploads to 80% right? and slot allocation to 20KB/s <- will this solve it??

 is that what you mean?



« Last Edit: January 06, 2008, 01:40:17 AM by hopelessone »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2505
  • The last shadow you'll ever see
Re: CVS 2007-12-28 (my second backtrace post)
« Reply #19 on: January 06, 2008, 02:00:29 AM »

Quote
[Debug] Generating a stack trace... please waitamuled.cpp(144): assert "(fd > 2) && (fd < 1024)" failed in AddSocket().

This message indicates, that you have more than about 1000 simultaneously sockets opened. Please check your connection settings.
Sorry, but this is an assertion. It is not up to the user to check anything. The code is wrong, it is doing something it is not supposed to do, that is what an assertion means. If the code was not compiled as debug, several vectors would have been overindexed and no one would ever know about that. In other words, this is a bug and must be fixed.

Cheers!
Logged
Pages: 1 [2]