Remove this ad

Lead

Dec 29 13 1:42 AM

Tags : :

2 instances of this. Any ideas?

Assertion failed: SharedFileList.cpp:AddFile:490: Assertion 'pFile->GetHashCount() == pFile->GetED2KPartHashCount()' failed.
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f806c]
[4] CSharedFileList::AddFile(CKnownFile*) in SharedFileList.cpp:490
[5] CSharedFileList::AddFilesFromDirectory(CPath const&, std::list >&) in SharedFileList.cpp:458
[6] CSharedFileList::FindSharedFiles() in SharedFileList.cpp:357
[7] CSharedFileList::Reload() in SharedFileList.cpp:553
[8] CECServerSocket:rocessRequest2(CECPacket const*) in ExternalConn.cpp:1432
[9] CECServerSocket::OnPacketReceived(CECPacket const*, unsigned int) in ExternalConn.cpp:274
[10] CECSocket::OnInput() in ECSocket.cpp:403
[11] MuleNotify::LibSocketReceive(CLibSocket*, int) in LibSocketAsio.cpp:1464
[12] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f511e]
[13] wxEvtHandler:rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6668542]
[14] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff66685f3]
[15] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff666894d]
[16] wxEvtHandler:rocessEventLocally(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff66689c3]
[17] wxEvtHandler:rocessEvent(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6668a25]
[18] wxEvtHandler:rocessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6669a43]
[19] wxAppConsoleBase:rocessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f8cd7]
[20] wxEventLoopManual:rocessEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff653760c]
[21] wxEventLoopManual:oRun() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff65376e8]
[22] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6537480]
[23] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f71fd]
[24] CamuleDaemonApp::OnRun() in amuled.cpp:642
[25] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff658313d]
[26] main in amuled.cpp:122
[27] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7ffff56adde5]
[28] ?? in /usr/bin/amuled[0x432d3b]

SharedFileList.cpp(490): assert "pFile->GetHashCount() == pFile->GetED2KPartHashCount()" failed in AddFile().


Call stack:
[00] CSharedFileList::AddFile(CKnownFile*) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/SharedFileList.cpp:490
[01] CSharedFileList::AddFilesFromDirectory(CPath const&, std::list >&) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/SharedFileList.cpp:458
[02] CSharedFileList::FindSharedFiles() /ZFSMEDIA/SCRATCH/amule/10829/svn/src/SharedFileList.cpp:357
[03] CSharedFileList::Reload() /ZFSMEDIA/SCRATCH/amule/10829/svn/src/SharedFileList.cpp:553
[04] CECServerSocket:rocessRequest2(CECPacket const*) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/ExternalConn.cpp:1432
[05] CECServerSocket::OnPacketReceived(CECPacket const*, unsigned int) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/ExternalConn.cpp:274
[06] CECSocket::OnInput() /ZFSMEDIA/SCRATCH/amule/10829/svn/src/libs/ec/cpp/ECSocket.cpp:403
[07] MuleNotify::LibSocketReceive(CLibSocket*, int) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/LibSocketAsio.cpp:1464
[08] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[09] wxEvtHandler:rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[11] wxEvtHandler::TryHereOnly(wxEvent&)
[12] wxEvtHandler:rocessEventLocally(wxEvent&)
[13] wxEvtHandler:rocessEvent(wxEvent&)
[14] wxEvtHandler:rocessPendingEvents()
[15] wxAppConsoleBase:rocessPendingEvents()
[16] wxEventLoopManual:rocessEvents()
[17] wxEventLoopManual:oRun()
[18] wxEventLoopBase::Run()
[19] wxAppConsoleBase::MainLoop()
[20] CamuleDaemonApp::OnRun() /ZFSMEDIA/SCRATCH/amule/10829/svn/src/amuled.cpp:642
Quote    Reply   
Remove this ad
Remove this ad

#1 [url]

Dec 29 13 11:28 PM

Re: assertion failed

You are always finding interesting issues. A file appears to be already shared, but doesn't possess the correct number of part hashes (probably because it hasn't been hashed yet). No idea how this could happen.
Did you do something special here?

Quote    Reply   

#7 [url]

Jan 7 14 9:53 PM

Re: assertion failed

shortly after startup:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff5a63a8b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:38
38 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) bt full
#0 0x00007ffff5a63a8b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:38
resultvar = 0
pid =
#1 0x00007ffff64fb1cd in wxDefaultAssertHandler (file=..., line=line@entry=388, func=..., cond=..., msg=...) at ../src/common/appbase.cpp:1077
s_bInAssert = 2
guard = {m_flag = @0x7ffff69097c8, m_isInside = }
#2 0x00007ffff64f806c in wxOnAssert (file=file@entry=0x63fa6e "MuleDebug.cpp", line=line@entry=388,
func=func@entry=0x63fd60 "get_backtrace", cond=cond@entry=0x63fa8b "s_have_backtrace_symbols",
msg=msg@entry=0x0) at ../src/common/appbase.cpp:1169
No locals.
#3 0x00000000005923d8 in get_backtrace (n=n@entry=2) at MuleDebug.cpp:388
libname = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0xddaf1f0,
_M_finish = 0xddaf448, _M_end_of_storage = 0xddaf448}}, }
funcname = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1113d550,
_M_finish = 0x1113d7a8, _M_end_of_storage = 0x1113d7a8}}, }
AllAddresses = {static npos = 18446744073709551615, m_impl = {static npos = 18446744073709551615,
_M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x1113ffd8 L"0x59198c 0x43e179 0x7ffff64fb081 0x7ffff64f806c 0x579188 0x547843 0x550b5f 0x437df6 0x7ffff64f511e 0x7ffff6668542 0x7ffff$
out = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0, m_autoSort = false}
bt_array = {0x59198c ,
0x43e179 ,
0x7ffff64fb081 ,
0x7ffff64f806c , 0x579188 ,
0x547843 , 0x550b5f artFileHashFinished(CKnownFile*)+1135>,
0x437df6 ,
0x7ffff64f511e , 0x7ffff6668542
rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)+82>,
0x7ffff66685f3 , 0x7ffff666894d ,
0x7ffff66689c3 rocessEventLocally(wxEvent&)+51>, 0x7ffff6668a25 rocessEvent(wxEvent&)+69>,
0x7ffff6669a43 rocessPendingEvents()+195>, 0x7ffff64f8cd7 rocessPendingEvents()+119>, 0x7ffff653760c
rocessEvents()+28>, 0x7ffff65376e8 oRun()+184>, 0x7ffff6537480 ,
---Type to continue, or q to quit---
0x7ffff64f71fd , 0x433560 , 0x7ffff658313d ,
0x42e792 , 0x7ffff56adde5 <__libc_start_main+245>, 0x432d3b <_start+41>, 0x0, 0xdcf2e84, 0x1, 0x12,
0x7ffff62478af , std::allocator >::_Rep::_S_create(unsigned long, unsigned long, st$
0x18, 0x7fffffffdb50, 0x937ce0 , 0xf095320, 0x11, 0x7ffff56c7686 <__GI_getenv+22>, 0x0, 0x7fffffffdd00,
0x7ffff648e400 , std::allocator >::_Rep::_S_empty_rep_storage>, 0x7fffffffdb50,
0x937ce0 , 0x0, 0x10a25330, 0x7ffff65c7209 , 0x7fffffffdc90, 0x10a25330,
0x7fffffffdc30, 0x7fffffffdc50, 0x0, 0x7fff00000001, 0x10a25330, 0x7fffffffdb30, 0xddaf760, 0x7fffffffdcb8, 0x10a25330, 0x0, 0x639c95, 0x1,
0xddaf790, 0xddaf790, 0x100000001, 0x1, 0xddaca78, 0x0, 0x0, 0x7ffff65b84cb , 0xe543bc8, 0x0, 0x7300000069,
0x2e00000074, 0xe31aad8, 0x0, 0x0, 0x0, 0xe543bc8, 0x0, 0x7ffff69118f0 , 0x7ffff65fb22f
, 0xe31aad8, 0x0, 0x0, 0x9c95ef13001da800, 0x9692e8, 0x0, 0x1, 0x7ffff65b20da
, 0x9692e8, 0x0,
0x7ffff648e418 , std::allocator >::_Rep::_S_empty_rep_storage+24>, 0x1, 0xdcf2e58,
0x0}
num_entries = 25
__FUNCTION__ = "get_backtrace"
trace = {static npos = 18446744073709551615, m_impl = {static npos = 18446744073709551615,
_M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x0}},
m_convertedToChar = {m_str = 0x1

, m_len = 0}}
bt_strings = 0x1113ca80
address = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x1113d7b0,
_M_finish = 0x1113da08, _M_end_of_storage = 0x1113da08}}, }
hasLineNumberInfo = false
#4 0x000000000043e179 in CamuleApp::OnAssertFailure (this=0x966820, file=0xddaef78 L"GapList.cpp", line=116, func=0x11142618 L"AddGap",
cond=0xddaf4d8 L"Assert failure",
msg=0x7ffff648e418 , std::allocator >::_Rep::_S_empty_rep_storage+24> L"")
at amule.cpp:1080
errmsg = {static npos = 18446744073709551615, m_impl = {static npos = 18446744073709551615,
_M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x7fffffffdf00 L"\xddaf4d8"}}, m_convertedToChar = {m_str = 0x7fffffffdf20 "\030\344H\366\377\177", m_len = 140737488346496}}
#5 0x00007ffff64fb081 in wxDefaultAssertHandler (file=..., line=line@entry=116, func=..., cond=..., msg=...) at ../src/common/appbase.cpp:1093
s_bInAssert = 2
guard = {m_flag = @0x7ffff69097c8, m_isInside = }
---Type to continue, or q to quit---
#6 0x00007ffff64f806c in wxOnAssert (file=file@entry=0x639c89 "GapList.cpp", line=line@entry=116,
func=func@entry=0x639ce3 "AddGap", cond=cond@entry=0x5eecf0 "Assert failure", msg=msg@entry=0x0)
at ../src/common/appbase.cpp:1169
No locals.
#7 0x0000000000579188 in CGapList::AddGap (this=0xd0088b8, part=) at GapList.cpp:116
__FUNCTION__ = "AddGap"
gapstart =
gapend =
#8 0x0000000000547843 in CPartFile::AddGap (this=this@entry=0xd008560, part=part@entry=161) at PartFile.cpp:1230
No locals.
#9 0x0000000000550b5f in CPartFile:artFileHashFinished (this=0xd008560, result=result@entry=0x7fffd402e160) at PartFile.cpp:1171
wronghash = {m_hash = '\000' }
partStart = 1566208000
partEnd =
i = 161
errorfound =
#10 0x0000000000437df6 in CamuleApp::OnFinishedHashing (this=0x966820, evt=...) at amule.cpp:1264
__FUNCTION__ = "OnFinishedHashing"
owner = 0xd008560
result = 0x7fffd402e160
#11 0x00007ffff64f511e in wxAppConsoleBase::CallEventHandler (this=0x966820, handler=0x966820, functor=..., event=...) at ../src/common/appbase.cpp:623
No locals.
#12 0x00007ffff6668542 in wxEvtHandler:rocessEventIfMatchesId (entry=..., handler=, event=...) at ../src/common/event.cpp:1384
event = @0x7fffd415fc40: { = {_vptr.wxObject = 0x61b2f0 , static ms_classInfo = {
m_className = 0x7ffff6693450 L"wxObject", m_objectSize = 16, m_objectConstructor = 0x0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x7ffff6b5cde0 , m_next = 0x7ffff6911540 ,
static sm_classTable = 0x93f030}, m_refData = 0x0}, m_eventObject = 0x0, m_eventType = 10013, m_timeStamp = 0, m_id = -1,
m_callbackUserData = 0x0, m_handlerToProcessOnlyIn = 0x0, m_propagationLevel = 0, m_propagatedFrom = 0x0, m_skipped = false,
m_isCommandEvent = false, m_wasProcessed = true, m_willBeProcessedAgain = false, static ms_classInfo = {m_className = 0x7ffff66a3ad0 L"wxEvent",
m_objectSize = 88, m_objectConstructor = 0x0, m_baseInfo1 = 0x7ffff6911620 , m_baseInfo2 = 0x0,
static sm_first = 0x7ffff6b5cde0 , m_next = 0x7ffff6913d00 ,
static sm_classTable = 0x93f030}}
handler =
entry =
---Type to continue, or q to quit---
#13 0x00007ffff66685f3 in wxEventHashTable::HandleEvent (this=, event=..., self=self@entry=0x966820) at ../src/common/event.cpp:990
entry =
n = 0
eventEntryTable = @0xf501ff8: { = {m_nSize = 1, m_nCount = 1, m_pItems = 0x10e5fc20}, }
eTTnode = 0xf501ff0
#14 0x00007ffff666894d in wxEvtHandler::TryHereOnly (this=this@entry=0x966820, event=...) at ../src/common/event.cpp:1581
No locals.
#15 0x00007ffff66689c3 in TryBeforeAndHere (event=..., this=this@entry=0x966820) at ../include/wx/event.h:3671
event = @0x7fffd415fc40: { = {_vptr.wxObject = 0x61b2f0 , static ms_classInfo = {
m_className = 0x7ffff6693450 L"wxObject", m_objectSize = 16, m_objectConstructor = 0x0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x7ffff6b5cde0 , m_next = 0x7ffff6911540 ,
static sm_classTable = 0x93f030}, m_refData = 0x0}, m_eventObject = 0x0, m_eventType = 10013, m_timeStamp = 0, m_id = -1,
m_callbackUserData = 0x0, m_handlerToProcessOnlyIn = 0x0, m_propagationLevel = 0, m_propagatedFrom = 0x0, m_skipped = false,
m_isCommandEvent = false, m_wasProcessed = true, m_willBeProcessedAgain = false, static ms_classInfo = {m_className = 0x7ffff66a3ad0 L"wxEvent",
m_objectSize = 88, m_objectConstructor = 0x0, m_baseInfo1 = 0x7ffff6911620 , m_baseInfo2 = 0x0,
static sm_first = 0x7ffff6b5cde0 , m_next = 0x7ffff6913d00 ,
static sm_classTable = 0x93f030}}
this = 0x966820
#16 wxEvtHandler:rocessEventLocally (this=this@entry=0x966820, event=...) at ../src/common/event.cpp:1514
No locals.
#17 0x00007ffff6668a25 in wxEvtHandler:rocessEvent (this=0x966820, event=...) at ../src/common/event.cpp:1487
__FUNCTION__ = "ProcessEvent"
#18 0x00007ffff6669a43 in wxEvtHandler:rocessPendingEvents (this=0x966820) at ../src/common/event.cpp:1351
__FUNCTION__ = "ProcessPendingEvents"
node =
pEvent = 0x7fffd415fc40
#19 0x00007ffff64f8cd7 in wxAppConsoleBase:rocessPendingEvents (this=0x966820) at ../src/common/appbase.cpp:520
this = 0x966820
#20 0x00007ffff653760c in wxEventLoopManual:rocessEvents (this=0x111344d0) at ../src/common/evtloopcmn.cpp:163
No locals.
#21 0x00007ffff65376e8 in wxEventLoopManual:oRun (this=0x111344d0) at ../src/common/evtloopcmn.cpp:206
No locals.
#22 0x00007ffff6537480 in wxEventLoopBase::Run (this=0x111344d0) at ../src/common/evtloopcmn.cpp:78
__FUNCTION__ = "Run"
---Type to continue, or q to quit---
activate = {m_evtLoopOld = 0x0}
#23 0x00007ffff64f71fd in wxAppConsoleBase::MainLoop (this=0x966820) at ../src/common/appbase.cpp:334
mainLoop = { = {m_ptr = 0x111344d0}, m_pp = 0x966940, m_pOld = 0x0}
#24 0x0000000000433560 in CamuleDaemonApp::OnRun (this=0x966820) at amuled.cpp:640
No locals.
#25 0x00007ffff658313d in wxEntry (argc=@0x7ffff6910190: 1, argv=) at ../src/common/init.cpp:495
initializer =
#26 0x00007ffff65831d2 in wxEntry (argc=argc@entry=@0x7fffffffe5fc: 1, argv=) at ../src/common/init.cpp:507
No locals.
#27 0x000000000042e792 in main (argc=1, argv=) at amuled.cpp:122
No locals.
(gdb)
(gdb) continue
Continuing.
Assertion failed: GapList.cpp:AddGap:116: Assertion 'Assert failure' failed.
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f806c]
[4] CGapList::AddGap(unsigned short) in GapList.cpp:116
[5] CPartFile::AddGap(unsigned short) in PartFile.cpp:1231
[6] CPartFile:artFileHashFinished(CKnownFile*) in PartFile.cpp:1172
[7] CamuleApp::OnFinishedHashing(CHashingEvent&) in amule.cpp:1289
[8] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f511e]
[9] wxEvtHandler:rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6$
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff66685f3]
[11] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff666894d]
[12] wxEvtHandler:rocessEventLocally(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff66689c3]
[13] wxEvtHandler:rocessEvent(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6668a25]
[14] wxEvtHandler:rocessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6669a43]
[15] wxAppConsoleBase:rocessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f8cd7]
[16] wxEventLoopManual:rocessEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff653760c]
[17] wxEventLoopManual:oRun() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff65376e8]
[18] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6537480]
[19] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f71fd]
[20] CamuleDaemonApp::OnRun() in amuled.cpp:642
[21] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff658313d]
[22] main in amuled.cpp:122
[23] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7ffff56adde5]
[24] ?? in /usr/bin/amuled[0x432d3b]

GapList.cpp(116): assert "Assert failure" failed in AddGap().


Call stack:
[00] CGapList::AddGap(unsigned short) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/GapList.cpp:116
[01] CPartFile::AddGap(unsigned short) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/PartFile.cpp:1231
[02] CPartFile:artFileHashFinished(CKnownFile*) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/PartFile.cpp:1172
[03] CamuleApp::OnFinishedHashing(CHashingEvent&) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/amule.cpp:1289
[04] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[05] wxEvtHandler:rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[06] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[07] wxEvtHandler::TryHereOnly(wxEvent&)
[08] wxEvtHandler:rocessEventLocally(wxEvent&)
[09] wxEvtHandler:rocessEvent(wxEvent&)
[10] wxEvtHandler:rocessPendingEvents()
[11] wxAppConsoleBase:rocessPendingEvents()
[12] wxEventLoopManual:rocessEvents()
[13] wxEventLoopManual:oRun()
[14] wxEventLoopBase::Run()
[15] wxAppConsoleBase::MainLoop()
[16] CamuleDaemonApp::OnRun() /ZFSMEDIA/SCRATCH/amule/10829/svn/src/amuled.cpp:642
[17] wxEntry(int&, wchar_t**)
[18] main /ZFSMEDIA/SCRATCH/amule/10829/svn/src/amuled.cpp:122
[19] __libc_start_main
[20] 0x432d3b

2 minutes later:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff5a63a8b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:38
38 in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
(gdb) continue
Continuing.
Assertion failed: GapList.cpp:AddGap:116: Assertion 'Assert failure' failed.
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f806c]
[4] CGapList::AddGap(unsigned short) in GapList.cpp:116
[5] CPartFile::AddGap(unsigned short) in PartFile.cpp:1231
[6] CPartFile:artFileHashFinished(CKnownFile*) in PartFile.cpp:1172
[7] CamuleApp::OnFinishedHashing(CHashingEvent&) in amule.cpp:1289
[8] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f511e]
[9] wxEvtHandler:rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6668542]
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff66685f3]
[11] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff666894d]
[12] wxEvtHandler:rocessEventLocally(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff66689c3]
[13] wxEvtHandler:rocessEvent(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6668a25]
[14] wxEvtHandler:rocessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6669a43]
[15] wxAppConsoleBase:rocessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f8cd7]
[16] wxEventLoopManual:rocessEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff653760c]
[17] wxEventLoopManual:oRun() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff65376e8]
[18] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff6537480]
[19] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff64f71fd]
[20] CamuleDaemonApp::OnRun() in amuled.cpp:642
[21] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff658313d]
[22] main in amuled.cpp:122
[23] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7ffff56adde5]
[24] ?? in /usr/bin/amuled[0x432d3b]

GapList.cpp(116): assert "Assert failure" failed in AddGap().


Call stack:
[00] CGapList::AddGap(unsigned short) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/GapList.cpp:116
[01] CPartFile::AddGap(unsigned short) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/PartFile.cpp:1231
[02] CPartFile:artFileHashFinished(CKnownFile*) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/PartFile.cpp:1172
[03] CamuleApp::OnFinishedHashing(CHashingEvent&) /ZFSMEDIA/SCRATCH/amule/10829/svn/src/amule.cpp:1289
[04] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[05] wxEvtHandler:rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[06] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[07] wxEvtHandler::TryHereOnly(wxEvent&)
[08] wxEvtHandler:rocessEventLocally(wxEvent&)
[09] wxEvtHandler:rocessEvent(wxEvent&)
[10] wxEvtHandler:rocessPendingEvents()
[11] wxAppConsoleBase:rocessPendingEvents()
[12] wxEventLoopManual:rocessEvents()
[13] wxEventLoopManual:oRun()
[14] wxEventLoopBase::Run()
[15] wxAppConsoleBase::MainLoop()
[16] CamuleDaemonApp::OnRun() /ZFSMEDIA/SCRATCH/amule/10829/svn/src/amuled.cpp:642
[17] wxEntry(int&, wchar_t**)
[18] main /ZFSMEDIA/SCRATCH/amule/10829/svn/src/amuled.cpp:122
[19] __libc_start_main
[20] 0x432d3b

Quote    Reply   

#8 [url]

Jan 7 14 9:54 PM

Re: assertion failed

logfile shows:

2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)
2014-01-07 20:52:49: Logger.cpp(332): 20:52:49: Error: Failed to add descriptor 69 to epoll descriptor 20 (error 17: File exists)

Quote    Reply   

#9 [url]

Jan 8 14 7:55 PM

Re: assertion failed

[code]#9 0x0000000000550b5f in CPartFile:artFileHashFinished (this=0xd008560, result=result@entry=0x7fffd402e160) at PartFile.cpp:1171
wronghash = {m_hash = '\000' }
partStart = 1566208000
partEnd =
i = 161[/code]

[code] AddLogLineN(CFormat(wxPLURAL(
"Found corrupted part (%d) in %d part file %s - FileResultHash |%s| FileHash |%s|",
"Found corrupted part (%d) in %d parts file %s - FileResultHash |%s| FileHash |%s|",
GetED2KPartHashCount())
)
% ( i + 1 )
% GetED2KPartHashCount()
% GetFileName()
% wronghash.Encode()
% GetPartHash(i).Encode() );

AddGap(i);
[/code]
It fails in the AddGap because it tries to set something invalid which is beyond the file size.
Directly before this is a log entry. There must be something in the logfile.

Quote    Reply   
Remove this ad

#10 [url]

Jan 9 14 4:16 AM

Re: assertion failed

2014-01-08 09:56:57: PartFile.cpp(1169): Found corrupted part (162) in 162 parts file XXX - FileResultHash |00000000000000000000000000000000| FileHash |31D6CFE0D16AE931B73C59D7E0C089C0|
2014-01-08 09:57:34: PartFile.cpp(1169): Found corrupted part (44) in 44 parts file YYY - FileResultHash |00000000000000000000000000000000| FileHash |31D6CFE0D16AE931B73C59D7E0C089C0|

Quote    Reply   

#12 [url]

Jan 9 14 9:21 PM

Re: assertion failed

You only changed the names (which is good), right?
What's the exact size of these two downloads?
And exact size of the .part files on disc?
I'm suspecting a problem with hashing files of size n * PARTSIZE (9728000).

Quote    Reply   

#17 [url]

Jan 12 14 8:03 PM

Re: assertion failed

Files were bad probably, huh?
Files with n*PARTSIZE are usually stalled downloads that never finished and someone just took the incomplete part file. Probably a video with parts of the content missing.
(There is a kind of video where this doesn't matter much. )

Quote    Reply   

#18 [url]

Jan 12 14 8:41 PM

Re: assertion failed

scrolling through them, they seem complete - and no, they're not porn (one old movie and one very old TV program from the 1960s). aviindex says they're complete too.

Quote    Reply   
Remove this ad
Add Reply

Quick Reply

bbcode help