Remove this ad

Lead

Dec 28 13 9:40 PM

Tags : :

10829, using Boost 1.53 and Wx3.0

Compiled into debian pacakages with optimise and debugging enabled.


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=0x63f54e "MuleDebug.cpp", line=line@entry=388,
func=func@entry=0x63f840 "get_backtrace", cond=cond@entry=0x63f56b "s_have_backtrace_symbols",
msg=msg@entry=0x0) at ../src/common/appbase.cpp:1169
No locals.
#3 0x00000000005920d8 in get_backtrace (n=n@entry=2) at MuleDebug.cpp:388
libname = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_start = 0xcedcc30, _M_finish = 0xcedce88, _M_end_of_storage = 0xcedce88}}, }
funcname = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_start = 0xcedce90, _M_finish = 0xcedd0e8, _M_end_of_storage = 0xcedd0e8}}, }
AllAddresses = {static npos = 18446744073709551615, m_impl = {static npos = 18446744073709551615,
_M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0xcee0ae8 L"0x59168c 0x43e179 0x7ffff64fb081 0x7ffff64f806c 0x578e88 0x547543 0x55085f 0x437df6 0x7ffff64f511e 0x7ffff6668542 0x7ffff66685f3 0x7ffff666894d 0x7ffff66689c3 0x7ffff6668a25 0x7ffff6669a43 0x7ffff64f8"...}}, m_convertedToChar = {m_str = 0x0, m_len = 0}}
out = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0, m_autoSort = false}
bt_array = {0x59168c ,
0x43e179 ,
0x7ffff64fb081 ,
0x7ffff64f806c , 0x578e88
, 0x547543 ,
0x55085f artFileHashFinished(CKnownFile*)+1135>, 0x437df6 ,
0x7ffff64f511e , 0x7ffff6668542
rocessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)+82>,
---Type to continue, or q to quit---
0x7ffff66685f3 , 0x7ffff666894d ,
0x7ffff66689c3 rocessEventLocally(wxEvent&)+51>, 0x7ffff6668a25 rocessEvent(wxEvent&)+69>,
0x7ffff6669a43 rocessPendingEvents()+195>, 0x7ffff64f8cd7 rocessPendingEvents()+119>,
0x7ffff653760c rocessEvents()+28>, 0x7ffff65376e8 oRun()+184>,
0x7ffff6537480 , 0x7ffff64f71fd , 0x433560
, 0x7ffff658313d , 0x42e792 ,
0x7ffff56adde5 <__libc_start_main+245>, 0x432d3b <_start+41>, 0x0, 0xda32c4, 0x1, 0x12,
0x7ffff62478af , std::allocator >::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&)+111>, 0x11, 0x11, 0xff2d180, 0x3, 0x7fff00000000, 0x7ffff5a4d740 , 0x6a42530,
0x7ffff5a4d740 , 0x18, 0x7fffffffdb50, 0x936ce0 , 0x7524f60, 0x11, 0x7ffff56c7686 <__GI_getenv+22>, 0x0,
0x7fffffffdd00,
0x7ffff648e400 , std::allocator >::_Rep::_S_empty_rep_storage>,
0x7fffffffdb50, 0x936ce0 , 0x0, 0xff2d180, 0x7ffff65c7209 ,
0x7fffffffdc90, 0xff2d180, 0x7fffffffdc30, 0x7fffffffdc50, 0x0, 0x7fff00000001, 0xff2d180, 0x7fffffffdb30, 0xced90e0, 0x7fffffffdcb8,
0xff2d180, 0x0, 0x639775, 0x1, 0xced9110, 0xced9110, 0x100000001, 0x1, 0xceb88d8, 0x0, 0x0, 0x7ffff570c7e8 <_int_free+1592>,
0xe22aa58, 0x0, 0x7300000069, 0x2e00000074, 0xd4c2bc8, 0x0, 0x0, 0x0, 0xe22aa58, 0x0,
0x7ffff69118f0 , 0x7ffff65fb22f , 0xd4c2bc8,
0x0, 0x0, 0x7fa3e9846cf5e000, 0x9682e8, 0x0, 0x1, 0x7ffff65b20da
, 0x9682e8, 0x0,
0x7ffff648e418 , std::allocator >::_Rep::_S_empty_rep_storage+24>, 0x1,
0xda3298, 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 = 0xcedd970
address = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_start = 0xcedd260, _M_finish = 0xcedd4b8, _M_end_of_storage = 0xcedd4b8}}, }
---Type to continue, or q to quit---
hasLineNumberInfo = false
#4 0x000000000043e179 in CamuleApp::OnAssertFailure (this=0x965820, file=0xced92e8 L"GapList.cpp", line=116, func=0xcedb5b8 L"AddGap",
cond=0xcedcbe8 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"\xcedcbe8"}}, 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 = }
#6 0x00007ffff64f806c in wxOnAssert (file=file@entry=0x639769 "GapList.cpp", line=line@entry=116,
func=func@entry=0x6397c3 "AddGap", cond=cond@entry=0x5ee9f0 "Assert failure",
msg=msg@entry=0x0) at ../src/common/appbase.cpp:1169
No locals.
#7 0x0000000000578e88 in CGapList::AddGap (this=0xc05c598, part=) at GapList.cpp:116
__FUNCTION__ = "AddGap"
gapstart =
gapend =
#8 0x0000000000547543 in CPartFile::AddGap (this=this@entry=0xc05c240, part=part@entry=161) at PartFile.cpp:1230
No locals.
#9 0x000000000055085f in CPartFile:artFileHashFinished (this=0xc05c240, result=result@entry=0x7fffd4fda570) at PartFile.cpp:1171
wronghash = {m_hash = '\000' }
partStart = 1566208000
partEnd =
i = 161
errorfound =
#10 0x0000000000437df6 in CamuleApp::OnFinishedHashing (this=0x965820, evt=...) at amule.cpp:1264
__FUNCTION__ = "OnFinishedHashing"
---Type to continue, or q to quit---
owner = 0xc05c240
result = 0x7fffd4fda570
#11 0x00007ffff64f511e in wxAppConsoleBase::CallEventHandler (this=0x965820, handler=0x965820, 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 = @0x7fffd415cce0: { = {_vptr.wxObject = 0x61add0 , 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 = 0x93e030}, 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 = 0x93e030}}
handler =
entry =
#13 0x00007ffff66685f3 in wxEventHashTable::HandleEvent (this=, event=..., self=self@entry=0x965820)
at ../src/common/event.cpp:990
entry =
n = 0
eventEntryTable = @0xe760438: { = {m_nSize = 1, m_nCount = 1, m_pItems = 0xd8c4c40}, }
eTTnode = 0xe760430
#14 0x00007ffff666894d in wxEvtHandler::TryHereOnly (this=this@entry=0x965820, event=...) at ../src/common/event.cpp:1581
No locals.
#15 0x00007ffff66689c3 in TryBeforeAndHere (event=..., this=this@entry=0x965820) at ../include/wx/event.h:3671
event = @0x7fffd415cce0: { = {_vptr.wxObject = 0x61add0 , 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 ,
---Type to continue, or q to quit---
static sm_classTable = 0x93e030}, 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 = 0x93e030}}
this = 0x965820
#16 wxEvtHandler:rocessEventLocally (this=this@entry=0x965820, event=...) at ../src/common/event.cpp:1514
No locals.
#17 0x00007ffff6668a25 in wxEvtHandler:rocessEvent (this=0x965820, event=...) at ../src/common/event.cpp:1487
__FUNCTION__ = "ProcessEvent"
#18 0x00007ffff6669a43 in wxEvtHandler:rocessPendingEvents (this=0x965820) at ../src/common/event.cpp:1351
__FUNCTION__ = "ProcessPendingEvents"
node =
pEvent = 0x7fffd415cce0
#19 0x00007ffff64f8cd7 in wxAppConsoleBase:rocessPendingEvents (this=0x965820) at ../src/common/appbase.cpp:520
this = 0x965820
#20 0x00007ffff653760c in wxEventLoopManual:rocessEvents (this=0xcf6e140) at ../src/common/evtloopcmn.cpp:163
No locals.
#21 0x00007ffff65376e8 in wxEventLoopManual:oRun (this=0xcf6e140) at ../src/common/evtloopcmn.cpp:206
No locals.
#22 0x00007ffff6537480 in wxEventLoopBase::Run (this=0xcf6e140) at ../src/common/evtloopcmn.cpp:78
__FUNCTION__ = "Run"
activate = {m_evtLoopOld = 0x0}
#23 0x00007ffff64f71fd in wxAppConsoleBase::MainLoop (this=0x965820) at ../src/common/appbase.cpp:334
mainLoop = { = {m_ptr = 0xcf6e140}, m_pp = 0x965940, m_pOld = 0x0}
#24 0x0000000000433560 in CamuleDaemonApp::OnRun (this=0x965820) at amuled.cpp:640
No locals.
#25 0x00007ffff658313d in wxEntry (argc=@0x7ffff6910190: 1, argv=) at ../src/common/init.cpp:495
---Type to continue, or q to quit---
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.
Quote    Reply   
Remove this ad
Remove this ad

#1 [url]

Dec 29 13 9:45 AM

Re: Program received signal SIGTRAP, Trace/breakpoint trap.

Hm, it fails on a "should-not-happen":

#7 0x0000000000578e88 in CGapList::AddGap (this=0xc05c598, part=) at GapList.cpp:116
__FUNCTION__ = "AddGap"
gapstart =
gapend =
#8 0x0000000000547543 in CPartFile::AddGap (this=this@entry=0xc05c240, part=part@entry=161) at PartFile.cpp:1230
No locals.
#9 0x000000000055085f in CPartFile:artFileHashFinished (this=0xc05c240, result=result@entry=0x7fffd4fda570) at PartFile.cpp:1171
wronghash = {m_hash = '\000' }
partStart = 1566208000
partEnd =
i = 161
errorfound =
#10 0x0000000000437df6 in CamuleApp::OnFinishedHashing (this=0x965820, evt=...) at amule.cpp:1264

void CGapList::AddGap(uint16 part)
{
if (part >= m_iPartCount) {
wxFAIL;
return;
}

That's the problem with building in debug mode. Sometimes developer traps like this can come up.

Did you maybe remove a download while it was hashing in background?

Quote    Reply   

#4 [url]

Dec 29 13 11:40 PM

Re: Program received signal SIGTRAP, Trace/breakpoint trap.

You mean, downloads just started from links? Why would it hash them?
Continue will just return here, so it might work.

Quote    Reply   

#5 [url]

Dec 30 13 12:27 PM

Re: Program received signal SIGTRAP, Trace/breakpoint trap.

That's the part I couldn't figure too. Maybe there was something left from the last run, but I hadn't moved anything around between stopping amule and restarting the new version.

Quote    Reply   
Add Reply

Quick Reply

bbcode help