amule crashed while I had it minimized in an Xvnc.
AMD64 Ubuntu Jaunty (prerelease). debug build of amule SNV 2.3.0~svnr9565-0ubuntu1~jaunty1 from
https://launchpad.net/~amule-trunk/+archive/ppaSee
http://www.amule.org/amule/index.php?topic=16693.new. (Thanks Festor, it's really handy not to have to keep amule up to date myself.)
I know there's a new svn build available. I was waiting until the current one crashed before upgrading. :/ It ran for 8 days before crashing, which is an over previous versions.
The goods are at Thread 1, Frame #6. The Ubuntu package didn't come with source, so I couldn't poke around any... If I see the same crash again, I'll think about getting source for debugging.
log: Debug: ../../src/kademlia/kademlia/Entry.cpp(468): assert "!m_publishingIPs->empty()" failed in ReCalculateTrustValue().
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7f72fdbea7e0 (LWP 5277)]
0x00007f72fd807f3b 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
Current language: auto; currently c
(gdb)
(gdb)
(gdb) thread apply all bt full
Thread 5 (Thread 0x7f72eefdf950 (LWP 5288)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1 0x00007f72fb7ce009 in wxConditionInternal::WaitTimeout (this=<value optimized out>, milliseconds=100) at ../src/unix/threadpsx.cpp:405
curtime = <value optimized out>
tspec = {tv_sec = 1240432426, tv_nsec = 516000000}
err = <value optimized out>
#2 0x00007f72fb7cf892 in wxSemaphoreInternal::WaitTimeout (this=0x7f72e8001910, milliseconds=100) at ../src/unix/threadpsx.cpp:552
remainingTime = 140131860435008
locker = {m_isOk = true, m_mutex = @0x7f72e8001910}
#3 0x00000000007f5f03 in CTimerThread::Entry (this=0x7f72e80010e0) at ../../src/Timer.cpp:64
now = 3481845168
sinceLast = 0
timeout = 100
evt = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x9f3a90, static ms_classInfo = {m_className = 0x7f72fb800c38,
m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180,
m_next = 0x7f72fba5ad00, static sm_classTable = 0x1cbd4d0}, 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 = 0x7f72fb812bb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f72fba5ac00,
m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5cba0, static sm_classTable = 0x1cbd4d0}}, <No data fields>}
lastEvent = 3481845168
#4 0x00007f72fb7d0212 in wxThreadInternal::PthreadStart (thread=0x7f72e80010e0) at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0x7f72e8001170
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#5 0x00007f72fd8003ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
__res = <value optimized out>
pd = (struct pthread *) 0x7f72eefdf950
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6911296890041503899, 8392704, 0, 140131860435008, 140733290074064,
6842087014333968229, 6842057555709161317}, 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 0x00007f72faa68fcd 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 0x7f72f07e3950 (LWP 5285)):
#0 0x00007f72fd8077e1 in nanosleep () from /lib/libpthread.so.0
No locals.
#1 0x00007f72fb7d6a4c in wxMicroSleep (microseconds=<value optimized out>) at ../src/unix/utilsunx.cpp:191
tmReq = {tv_sec = 1, tv_nsec = 0}
#2 0x00000000005e6d36 in UploadBandwidthThrottler::Entry (this=0x347a800) at ../../src/UploadBandwidthThrottler.cpp:320
timeSinceLastLoop = 0
minFragSize = 1300
doubleSendSize = 2600
bytesToSpend = 22528
sleepTime = 1000
thisLoopTick = 3481844651
TIME_BETWEEN_UPLOAD_LOOPS = 1
lastLoopTick = 3481844651
realBytesToSpend = 2048999
allowedDataRate = 20480
rememberedSlotCounter = 3
extraSleepTime = 1000
sendLock = {m_isOk = 136, m_mutex = @0x7f72f07e2ef0}
#3 0x00007f72fb7d0212 in wxThreadInternal::PthreadStart (thread=0x347a800) at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0x327e040
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#4 0x00007f72fd8003ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
__res = <value optimized out>
pd = (struct pthread *) 0x7f72f07e3950
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6911296890041503899, 8392704, 0, 140131860435008, 140733290070336,
6842028746660147045, 6842057555709161317}, 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 0x00007f72faa68fcd 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 0x7f72fdbea7e0 (LWP 5277)):
#0 0x00007f72fd807f3b in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1 0x00007f72fbe85ed5 in wxGUIAppTraits::ShowAssertDialog (this=<value optimized out>, msg=<value optimized out>)
at ../src/gtk/utilsgtk.cpp:392
dialog = (GtkWidget *) 0x9423450
dump = {<wxStackWalker> = {<wxStackWalkerBase> = {_vptr.wxStackWalkerBase = 0x7f72fc29ddb0},
static ms_exepath = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f72fb805c58}, <No data fields>},
static ms_addresses = {0x7f72fb7cc284, 0x7f72fbe85e74, 0x7f72fb728ac0, 0x7f72fbe5efd0, 0x45c458, 0x7f72fb72931a, 0x8195ca, 0x819a40,
0x60a7ae, 0x650754, 0x65c795, 0x61de37, 0x4d7e32, 0x58d942, 0x4d8937, 0x457d19, 0x7f72fb7d1579, 0x7f72fb7d2b67, 0x7f72fb7d2ca9,
0x7f72fb7d29a6, 0x7f72fb72881e, 0x7f72fbf0d6fb, 0x7f72fbe5fc32, 0x7f72f84180ca, 0x7f72f841b7a0, 0x7f72f841bc6d, 0x7f72fa2b99f7,
0x7f72fbe792a8, 0x7f72fbf0d438, 0x7f72fb768ccd, 0x69d691, 0x7f72fa9a15a6, 0x452a29, 0x0 <repeats 167 times>},
static ms_symbols = 0x4f94650, static m_depth = 33}, m_dlg = 0x9423450}
result = 0
returnCode = <value optimized out>
__FUNCTION__ = "ShowAssertDialog"
#2 0x00007f72fb728ac0 in ShowAssertDialog (szFile=0x9fcd20, nLine=468, szFunc=0x7f72da8ea948, szCond=0x9fd0b0, szMsg=0x0,
traits=0x1d1b670) at ../src/common/appbase.cpp:836
msg = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f72eb7a17f8}, <No data fields>}
s_bNoAsserts = false
#3 0x00007f72fbe5efd0 in wxApp::OnAssertFailure (this=0x149d, file=0x149d, line=5, func=0xffffffffffffffff, cond=0x7f72f8ef86a8, msg=0x22)
at ../src/gtk/app.cpp:556
No locals.
#4 0x000000000045c458 in CamuleApp::OnAssertFailure (this=0x1ceadc0, file=0x9fcd20, line=468, func=0x7f72da8ea948, cond=0x9fd0b0, msg=0x0)
at ../../src/amule.cpp:1385
No locals.
#5 0x00007f72fb72931a in wxOnAssert (szFile=0x9fcd20, nLine=468, szFunc=<value optimized out>, szCond=0x9fd0b0, szMsg=0x0)
at ../src/common/appbase.cpp:711
guard = {m_flag = @0x7f72fba53080, m_isInside = false}
strFunc = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f72da8ea948}, <No data fields>}
s_bInAssert = 1
#6 0x00000000008195ca in Kademlia::CKeyEntry::ReCalculateTrustValue (this=0x7f72d9de35b0) at ../../src/kademlia/kademlia/Entry.cpp:468
__FUNCTION__ = "ReCalculateTrustValue"
#7 0x0000000000819a40 in Kademlia::CKeyEntry::GetTrustValue (this=0x7f72d9de35b0) at ../../src/kademlia/kademlia/Entry.cpp:489
No locals.
#8 0x000000000060a7ae in Kademlia::CIndexed::SendValidKeywordResult (this=0x3570ae0, keyID=@0x7fff05c2f990, pSearchTerms=0x7f72ea6e5460,
ip=3138951979, port=12238, oldClient=false, kad2=true, startPosition=0, senderKey=@0x7fff05c30ac0)
at ../../src/kademlia/kademlia/Indexed.cpp:765
currName = (class Kademlia::CKeyEntry *) 0x7f72d9de35b0
itEntry = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x7f72d8163aa0, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
_M_current = {_M_node = 0x7f72eb2f3d40}}
currSource = (Source *) 0x7f72d8163a80
itSource = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x86ef050, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
_M_current = {_M_node = 0x7f72e8c93930}}
packetdata = {<CFileDataIO> = {_vptr.CFileDataIO = 0x9f0d90}, m_growthRate = 51200, m_position = 34, m_BufferSize = 51200,
m_fileSize = 34, m_delete = true, m_readonly = false, m_buffer = 0x7f72dae139f0 "!6Ô?YȱdkÎa\027ÐIß!\"Dä?\212¸\235$Pz\214ª)\212{W2"}
maxResults = 300
count = 0
onlyTrusted = true
currKeyHash = (KeyHash *) 0x86ef010
itKeyHash = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x3570b28, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
_M_current = {_M_node = 0x86eed10}}
__FUNCTION__ = "SendValidKeywordResult"
#9 0x0000000000650754 in Kademlia::CKademliaUDPListener::Process2SearchKeyRequest (this=0xa6d4020,
packetData=0x7fff05c30cc2 "\"Dä?\212¸\235$Pz\214ª)\212{W", lenPacket=45, ip=3138951979, port=12238, senderKey=@0x7fff05c30ac0)
at ../../src/kademlia/net/KademliaUDPListener.cpp:1309
bio = {<CFileDataIO> = {_vptr.CFileDataIO = 0x9f0d90}, m_growthRate = 0, m_position = 45, m_BufferSize = 45, m_fileSize = 45,
m_delete = false, m_readonly = true, m_buffer = 0x7fff05c30cc2 "\"Dä?\212¸\235$Pz\214ª)\212{W"}
target = {m_data = {1071924258, 614316170, 2861333072, 1467714089}}
startPosition = 0
restrictive = true
pSearchTerms = (SSearchTerm *) 0x7f72ea6e5460
#10 0x000000000065c795 in Kademlia::CKademliaUDPListener::ProcessPacket (this=0xa6d4020,
data=0x7fff05c30cc0 "ä3\"Dä?\212¸\235$Pz\214ª)\212{W", lenData=47, ip=3138951979, port=12238, validReceiverKey=true,
senderKey=@0x7fff05c30ac0) at ../../src/kademlia/net/KademliaUDPListener.cpp:321
curCon = true
opcode = 51 '3'
packetData = (const uint8_t *) 0x7fff05c30cc2 "\"Dä?\212¸\235$Pz\214ª)\212{W"
lenPacket = 45
#11 0x000000000061de37 in Kademlia::CKademlia::ProcessPacket (data=0x7fff05c30cc0 "ä3\"Dä?\212¸\235$Pz\214ª)\212{W", lenData=47,
ip=3138951979, port=12238, validReceiverKey=true, senderKey=@0x7fff05c30ac0) at ../../src/kademlia/kademlia/Kademlia.cpp:292
No locals.
#12 0x00000000004d7e32 in CClientUDPSocket::OnPacketReceived (this=0x3012e30, ip=731584699, port=12238,
buffer=0x7fff05c30cb0 "\0340ñYm\t¾rb\016HI¯eÏ\223ä3\"Dä?\212¸\235$Pz\214ª)\212{W", length=63) at ../../src/ClientUDPSocket.cpp:100
decryptedBuffer = (uint8_t *) 0x7fff05c30cc0 "ä3\"Dä?\212¸\235$Pz\214ª)\212{W"
receiverVerifyKey = 655963549
senderVerifyKey = 4081328459
packetLen = 47
protocol = 228 'ä'
opcode = 51 '3'
__FUNCTION__ = "OnPacketReceived"
#13 0x000000000058d942 in CMuleUDPSocket::OnReceive (this=0x3012e30, errorCode=0) at ../../src/MuleUDPSocket.cpp:184
buffer = "\0340ñYm\t¾rb\016HI¯eÏ\223ä3\"Dä?\212¸\235$Pz\214ª)\212{W\000\200\001\030\00080s Forever The Pop Hits", '\0' <repeats 1969 times>, "\020;rÚr\177\000\000¹w»ör\177\000\000P+Ã\005ÿ\177\000\000\000\000\000\000\000\000\000\000\020;rÚr\177\000\000Us»ör\177\000\000P+Ã\005ÿ\177\000\000³{»ör\177\000\000\000\000\000\000\000\000\000\000ð\026Ã\005ÿ\177\000\000 <rÚr\177\000\000p;rÚr\177\000\000°H\t\003\000\000\000\000\020Ô\b\003\000\000\000\000c\037P6", '\0' <repeats 44 times>, "\020"...
addr = {<wxIPaddress> = {<wxSockAddress> = {<wxObject> = {_vptr.wxObject = 0x7f72fbc8da50, static ms_classInfo = {
m_className = 0x7f72fb800c38, m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5ad00, static sm_classTable = 0x1cbd4d0}, m_refData = 0x0},
static ms_classInfo = {m_className = 0x7f72fba85620, m_objectSize = 24, m_objectConstructor = 0, m_baseInfo1 = 0x7f72fba5ac00,
m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fbc8f840, static sm_classTable = 0x1cbd4d0},
m_address = 0x7f72e9b85300}, static ms_classInfo = {m_className = 0x7f72fba85658, m_objectSize = 24, m_objectConstructor = 0,
m_baseInfo1 = 0x7f72fbc8f740, m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fbc8f740,
static sm_classTable = 0x1cbd4d0}}, static ms_classInfo = {m_className = 0x7f72fba85688, m_objectSize = 32,
m_objectConstructor = 0x7f72fba7a060 <wxIPV4address::wxCreateObject()>, m_baseInfo1 = 0x7f72fbc8f780, m_baseInfo2 = 0x0,
static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fbc8f780, static sm_classTable = 0x1cbd4d0}, m_origHostname = {<wxStringBase> = {
static npos = 18446744073709551615, m_pchData = 0x7f72fb805c58}, <No data fields>}}
length = 63
error = false
lastError = 0
ip = 731584699
port = 12238
#14 0x00000000004d8937 in CClientUDPSocket::OnReceive (this=0x3012e30, errorCode=0) at ../../src/ClientUDPSocket.cpp:69
No locals.
#15 0x0000000000457d19 in CamuleApp::UDPSocketHandler (this=0x1ceadc0, event=@0x7f72e932b150) at ../../src/amule.cpp:2205
socket = (class CMuleUDPSocket *) 0x3012e30
__FUNCTION__ = "UDPSocketHandler"
#16 0x00007f72fb7d1579 in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=0x149d, event=@0x7f72e932b150)
at ../src/common/event.cpp:1231
tableId1 = <value optimized out>
tableId2 = <value optimized out>
#17 0x00007f72fb7d2b67 in wxEventHashTable::HandleEvent (this=<value optimized out>, event=@0x7f72e932b150, self=0x1ceadc0)
at ../src/common/event.cpp:906
n = 2
count = 3
eventType = <value optimized out>
eTTnode = (wxEventHashTable::EventTypeTable * const) 0x31701f0
#18 0x00007f72fb7d2ca9 in wxEvtHandler::ProcessEvent (this=0x1ceadc0, event=@0x7f72e932b150) at ../src/common/event.cpp:1293
__FUNCTION__ = "ProcessEvent"
#19 0x00007f72fb7d29a6 in wxEvtHandler::ProcessPendingEvents (this=0x1ceadc0) at ../src/common/event.cpp:1191
event = {m_ptr = 0x7f72e932b150}
n = 1
__FUNCTION__ = "ProcessPendingEvents"
#20 0x00007f72fb72881e in wxAppConsole::ProcessPendingEvents (this=<value optimized out>) at ../src/common/appbase.cpp:294
handler = (class wxEvtHandler *) 0x1ceadc0
#21 0x00007f72fbf0d6fb in wxAppBase::ProcessIdle (this=0x149d) at ../src/common/appcmn.cpp:435
event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x1c, static ms_classInfo = {m_className = 0x7f72fb800c38, m_objectSize = 16,
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5ad00,
static sm_classTable = 0x1cbd4d0}, m_refData = 0x301acf0}, m_eventObject = 0x1c, m_eventType = -129973640, m_timeStamp = 0,
m_id = -120785759, m_callbackUserData = 0x0, m_propagationLevel = -41929471, m_skipped = 114, m_isCommandEvent = 127,
static ms_classInfo = {m_className = 0x7f72fb812bb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f72fba5ac00,
m_baseInfo2 = 0x0, static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fba5cba0, static sm_classTable = 0x1cbd4d0}},
m_requestMore = false, static sm_idleMode = wxIDLE_PROCESS_ALL, static ms_classInfo = {m_className = 0x7f72fbfe2c88, m_objectSize = 64,
m_objectConstructor = 0x7f72fbe518d0 <wxIdleEvent::wxCreateObject()>, m_baseInfo1 = 0x7f72fba5cbe0, m_baseInfo2 = 0x0,
static sm_first = 0x7f72fc5e5180, m_next = 0x7f72fc2ea120, static sm_classTable = 0x1cbd4d0}}
needMore = false
#22 0x00007f72fbe5fc32 in wxapp_idle_callback () at ../src/gtk/app.cpp:206
idleID_save = 29903025
moreIdles = true
#23 0x00007f72f84180ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007f72f841b7a0 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007f72f841bc6d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0x00007f72fa2b99f7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0x00007f72fbe792a8 in wxEventLoop::Run (this=0x7f72e8001a00) at ../src/gtk/evtloop.cpp:76
exitcode = <value optimized out>
__FUNCTION__ = "Run"
#28 0x00007f72fbf0d438 in wxAppBase::MainLoop (this=0x1ceadc0) at ../src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x7f72e8001a00}, m_pp = 0x1ceae38, m_pOld = 0x0}
#29 0x00007f72fb768ccd in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at ../src/common/init.cpp:460
No locals.
#30 0x000000000069d691 in main (argc=1, argv=0x7fff05c35258) at ../../src/amule-gui.cpp:94
No locals.
Current language: auto; currently c