Running the 2.3.0~svnr9607-0ubuntu1~jaunty1 build on Ubuntu AMD64, I got a segfault. I hadn't touched the GUI for hours before the segfault.
I'm upgrading to 2.3.0~svnr9622-0ubuntu1~jaunty1 now.
See Thread 1 in the gdb output below.
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0x7f42b2e147e0 (LWP 9823)]
Xlib: extension "RANDR" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
2009-05-22 18:15:12: amule.cpp(533): Initialising aMule SVN using wxGTK2 v2.8.9 (Debugging) (Snapshot: rev. 9607)
2009-05-22 18:15:12: amule.cpp(552): Checking if there is an instance already running...
2009-05-22 18:15:12: amule.cpp(577): No other instances are running.
2009-05-22 18:15:13: ListenSocket.cpp(66): ListenSocket: Ok.
[New Thread 0x7f42a5a98950 (LWP 9829)]
2009-05-22 18:15:14: DownloadQueue.cpp(110): Loading temp files from /home/peter/.aMule/Temp.
2009-05-22 18:15:14: DownloadQueue.cpp(129): Loading PartFile 1 of 16
...
2009-05-22 18:15:14: DownloadQueue.cpp(129): Loading PartFile 16 of 16
2009-05-22 18:15:14: DownloadQueue.cpp(161): All PartFiles Loaded.
2009-05-22 18:15:14: SharedFileList.cpp(325): Adding file /home/peter/.aMule/Temp/029.part.met to shares
...
2009-05-22 18:15:14: SharedFileList.cpp(325): Adding file /home/peter/.aMule/Temp/137.part.met to shares
[New Thread 0x7f42a5296950 (LWP 9830)]
[New Thread 0x7f42a4a95950 (LWP 9831)]
[Thread 0x7f42a5296950 (LWP 9830) exited]
2009-05-23 01:13:50: SafeFile.cpp(475): Invalid Kad tag; type=0xd2 name=
2009-05-23 03:31:01: SafeFile.cpp(475): Invalid Kad tag; type=0x4c name=
2009-05-23 05:30:06: SafeFile.cpp(475): Invalid Kad tag; type=0x5c name=
2009-05-23 07:55:18: SafeFile.cpp(475): Invalid Kad tag; type=0x78 name=
2009-05-23 13:27:32: SafeFile.cpp(475): Invalid Kad tag; type=0xdb name=
2009-05-23 20:57:10: SafeFile.cpp(475): Invalid Kad tag; type=0x34 name=
2009-05-24 00:02:35: SafeFile.cpp(475): Invalid Kad tag; type=0xe0 name=
2009-05-26 04:59:08: SafeFile.cpp(475): Invalid Kad tag; type=0xcc name=
[New Thread 0x7f42a5296950 (LWP 30605)]
[Thread 0x7f42a5296950 (LWP 30605) exited]
2009-05-27 00:49:12: SafeFile.cpp(475): Invalid Kad tag; type=0x15 name=
2009-05-29 13:19:19: SafeFile.cpp(475): Invalid Kad tag; type=0xca name=
2009-05-29 16:00:48: SafeFile.cpp(475): Invalid Kad tag; type=0xda name=
2009-05-30 11:50:40: SafeFile.cpp(475): Invalid Kad tag; type=0x55 name=
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f42b2e147e0 (LWP 9823)]
0x000000000046a8a6 in CUpDownClient::GetUDPPort (this=0x0) at ../../src/kademlia/kademlia/../../updownclient.h:227
227 ../../src/kademlia/kademlia/../../updownclient.h: No such file or directory.
in ../../src/kademlia/kademlia/../../updownclient.h
Current language: auto; currently c++
(gdb) thread apply all bt full
Thread 4 (Thread 0x7f42a4a95950 (LWP 9831)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1 0x00007f42b09f8009 in wxConditionInternal::WaitTimeout (this=<value optimized out>, milliseconds=100) at ../src/unix/threadpsx.cpp:405
curtime = <value optimized out>
tspec = {tv_sec = 1243703730, tv_nsec = 241000000}
err = <value optimized out>
#2 0x00007f42b09f9892 in wxSemaphoreInternal::WaitTimeout (this=0x2dbca00, milliseconds=100) at ../src/unix/threadpsx.cpp:552
remainingTime = 139924445982784
locker = {m_isOk = true, m_mutex = @0x2dbca00}
#3 0x000000000080014b in CTimerThread::Entry (this=0x2d88450) at ../../src/Timer.cpp:64
now = 2458181597
sinceLast = 0
timeout = 100
evt = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0xa00750, static ms_classInfo = {m_className = 0x7f42b0a2ac38,
m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f42b180f180,
m_next = 0x7f42b0c84d00, static sm_classTable = 0x2d1b4d0}, 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 = 0x7f42b0a3cbb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f42b0c84c00,
m_baseInfo2 = 0x0, static sm_first = 0x7f42b180f180, m_next = 0x7f42b0c86ba0, static sm_classTable = 0x2d1b4d0}}, <No data fields>}
lastEvent = 2458181597
#4 0x00007f42b09fa212 in wxThreadInternal::PthreadStart (thread=0x2d88450) at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0x2d88230
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#5 0x00007f42b2a2a3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
__res = <value optimized out>
pd = (struct pthread *) 0x7f42a4a95950
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4254173385485284766, 8392704, 0, 139924445982784, 140736329011680,
-4211827220971948642, -4211787717555030626}, 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 0x00007f42afc92fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#7 0x0000000000000000 in ?? ()
Current language: auto; currently asm
Thread 2 (Thread 0x7f42a5a98950 (LWP 9829)):
#0 0x00007f42b2a317e1 in nanosleep () from /lib/libpthread.so.0
No locals.
#1 0x00007f42b0a00a4c in wxMicroSleep (microseconds=<value optimized out>) at ../src/unix/utilsunx.cpp:191
tmReq = {tv_sec = 0, tv_nsec = 253000000}
#2 0x00000000005f48c6 in UploadBandwidthThrottler::Entry (this=0x43e87a0) at ../../src/UploadBandwidthThrottler.cpp:320
timeSinceLastLoop = 0
minFragSize = 1300
doubleSendSize = 2600
bytesToSpend = 18
sleepTime = 253
thisLoopTick = 2458181683
TIME_BETWEEN_UPLOAD_LOOPS = 1
lastLoopTick = 2458181683
realBytesToSpend = -2581001
allowedDataRate = 10240
rememberedSlotCounter = 1
extraSleepTime = 1
sendLock = {m_isOk = 136, m_mutex = @0x7f42a5a97ef0}
---Type <return> to continue, or q <return> to quit---
#3 0x00007f42b09fa212 in wxThreadInternal::PthreadStart (thread=0x43e87a0) at ../src/unix/threadpsx.cpp:766
pthread = (wxThreadInternal *) 0x41bcd10
rc = <value optimized out>
dontRunAtAll = false
__FUNCTION__ = "PthreadStart"
#4 0x00007f42b2a2a3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
__res = <value optimized out>
pd = (struct pthread *) 0x7f42a5a98950
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 4254173385485284766, 8392704, 0, 139924445982784, 140736329007952,
-4211825024633047650, -4211787717555030626}, 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 0x00007f42afc92fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#6 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f42b2e147e0 (LWP 9823)):
#0 0x000000000046a8a6 in CUpDownClient::GetUDPPort (this=0x0) at ../../src/kademlia/kademlia/../../updownclient.h:227
No locals.
#1 0x0000000000457340 in CamuleApp::GetBuddyPort (this=0x2d48dc0) at ../../src/amule.cpp:2013
No locals.
#2 0x00000000006eb1bd in CServerWnd::UpdateKadInfo (this=0x4139800) at ../../src/ServerWnd.cpp:239
BuddyState = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f42b0a2fc58}, <No data fields>}
UDPFirewalled = false
KadInfoList = (class wxListCtrl *) 0x41ed9d0
next_row = 4
#3 0x00000000006ac6ca in CamuleDlg::ShowConnectionState (this=0x3f830d0, skinChanged=false) at ../../src/amuleDlg.cpp:671
ed2kState = 4759170
kadState = 0
msgED2K = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffbae57420}, <No data fields>}
msgKad = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f42b06b5940}, <No data fields>}
connLabel = (class wxStaticText *) 0x7f42b041ed7e
labelMsg = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7fffbae57710}, <No data fields>}
currentState = 173575840
status_arrows = {<wxGenericImageList> = {<wxObject> = {_vptr.wxObject = 0xddf5b0, static ms_classInfo = {
m_className = 0x7f42b0a2ac38, m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x7f42b180f180, m_next = 0x7f42b0c84d00, static sm_classTable = 0x2d1b4d0}, m_refData = 0x0},
m_images = {<wxObjectList> = {<wxListBase> = {<wxObject> = {_vptr.wxObject = 0xddbe50, static ms_classInfo = {
m_className = 0x7f42b0a2ac38, m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x7f42b180f180, m_next = 0x7f42b0c84d00, static sm_classTable = 0x2d1b4d0}, m_refData = 0x0}, m_count = 7,
m_destroy = false, m_nodeFirst = 0x43bbe50, m_nodeLast = 0x43bb340, m_keyType = wxKEY_NONE}, <No data fields>},
static ms_classInfo = {m_className = 0x7f42b0a27fa4, m_objectSize = 56,
m_objectConstructor = 0x7f42b099f720 <wxList::wxCreateObject()>, m_baseInfo1 = 0x7f42b0c84c00, m_baseInfo2 = 0x0,
static sm_first = 0x7f42b180f180, m_next = 0x7f42b0c84b20, static sm_classTable = 0x2d1b4d0}}, m_width = 16, m_height = 16,
static ms_classInfo = {m_className = 0x7f42b120e008, m_objectSize = 80,
m_objectConstructor = 0x7f42b1082f70 <wxGenericImageList::wxCreateObject()>, m_baseInfo1 = 0x7f42b0c84c00, m_baseInfo2 = 0x0,
static sm_first = 0x7f42b180f180, m_next = 0x7f42b15141c0, static sm_classTable = 0x2d1b4d0}}, static ms_classInfo = {
m_className = 0x7f42b120e058, m_objectSize = 80, m_objectConstructor = 0x7f42b1082ed0 <wxImageList::wxCreateObject()>,
m_baseInfo1 = 0x7f42b15140e0, m_baseInfo2 = 0x0, static sm_first = 0x7f42b180f180, m_next = 0x7f42b15140e0,
static sm_classTable = 0x2d1b4d0}}
__FUNCTION__ = "ShowConnectionState"
s_oldState = CamuleDlg::ECS_Connected
s_ED2KOldState = CamuleDlg::ED2KHighID
s_EKadOldState = CamuleDlg::EKadOK
#4 0x0000000000763104 in MuleNotify::ShowConnState () at ../../src/GuiEvents.cpp:500
No locals.
#5 0x000000000046b790 in MuleNotify::CMuleNotifier1<long>::Notify (this=0x7fffbae57500) at ../../src/GuiEvents.h:223
---Type <return> to continue, or q <return> to quit---
No locals.
#6 0x0000000000763f82 in MuleNotify::HandleNotification (ntf=@0x7fffbae57500) at ../../src/GuiEvents.cpp:45
No locals.
#7 0x000000000046c52a in MuleNotify::DoNotify<long, unsigned char> (func=0x7630e0 <MuleNotify::ShowConnState(long)>, arg1=9 '\t')
at ../../src/GuiEvents.h:374
No locals.
#8 0x00000000004588a0 in CamuleApp::ShowConnectionState (this=0x2d48dc0) at ../../src/amule.cpp:2132
state = 9 '\t'
old_state = 5 '\005'
#9 0x000000000064dd71 in Kademlia::CUDPFirewallTester::SetUDPFWCheckResult (succeeded=true, testCancelled=false, fromIP=1426050231,
incomingPort=14672) at ../../src/kademlia/kademlia/UDPFirewallTester.cpp:148
requested = true
__FUNCTION__ = "SetUDPFWCheckResult"
#10 0x000000000065251f in Kademlia::CKademliaUDPListener::Process2FirewallUDP (this=0x59208d0, packetData=0x7fffbae58ed2 "", lenPacket=3,
ip=1426050231) at ../../src/kademlia/net/KademliaUDPListener.cpp:2269
errorCode = 0 '\0'
incomingPort = 14672
__FUNCTION__ = "Process2FirewallUDP"
#11 0x000000000066a7a5 in Kademlia::CKademliaUDPListener::ProcessPacket (this=0x59208d0, data=0x7fffbae58ed0 "�b", lenData=5,
ip=1426050231, port=59952, validReceiverKey=true, senderKey=@0x7fffbae58c80) at ../../src/kademlia/net/KademliaUDPListener.cpp:409
curCon = true
opcode = 98 'b'
packetData = (const uint8_t *) 0x7fffbae58ed2 ""
lenPacket = 3
#12 0x000000000062b853 in Kademlia::CKademlia::ProcessPacket (data=0x7fffbae58ed0 "�b", lenData=5, ip=1426050231, port=59952,
validReceiverKey=true, senderKey=@0x7fffbae58c80) at ../../src/kademlia/kademlia/Kademlia.cpp:292
No locals.
#13 0x00000000004d7c4e in CClientUDPSocket::OnPacketReceived (this=0x3f81400, ip=3083665236, port=59952,
buffer=0x7fffbae58ec0 "R��kY0\221��\232��\206b��b", length=21) at ../../src/ClientUDPSocket.cpp:100
decryptedBuffer = (uint8_t *) 0x7fffbae58ed0 "�b"
receiverVerifyKey = 2409195588
senderVerifyKey = 2203258165
packetLen = 5
protocol = 228 '�'
opcode = 98 'b'
__FUNCTION__ = "OnPacketReceived"
#14 0x000000000059b49f in CMuleUDPSocket::OnReceive (this=0x3f81400, errorCode=0) at ../../src/MuleUDPSocket.cpp:183
buffer = "R��kY0\221��\232��\206b��b\000P9�7\213I9�H\235f*ew\234a!6�?Yȱdk�a\027�I�!\000\000\000\000\000�W)�B\177\000\000\034\217��\177\000\000\000\000\000\000\000\000\000\000`\217��\177\000\000\001\000\000\000\000\000\000\000\035\001\000\000\000\000\000\000��\b", '\0' <repeats 12 times>, "κ:�B\177", '\0' <repeats 18 times>, " �+�B\177\000\000�\217��\177\000\000\000\000\000\000\000\000\000\000\035\001\000\000\016", '\0' <repeats 27 times>, "\035\001\000\000\016", '\0' <repeats 11 times>, "\035\001\000\000\016\000\000\000�\217�"...
addr = {<wxIPaddress> = {<wxSockAddress> = {<wxObject> = {_vptr.wxObject = 0x7f42b0eb7a50, static ms_classInfo = {
m_className = 0x7f42b0a2ac38, m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
static sm_first = 0x7f42b180f180, m_next = 0x7f42b0c84d00, static sm_classTable = 0x2d1b4d0}, m_refData = 0x0},
static ms_classInfo = {m_className = 0x7f42b0caf620, m_objectSize = 24, m_objectConstructor = 0, m_baseInfo1 = 0x7f42b0c84c00,
m_baseInfo2 = 0x0, static sm_first = 0x7f42b180f180, m_next = 0x7f42b0eb9840, static sm_classTable = 0x2d1b4d0},
m_address = 0x67337d0}, static ms_classInfo = {m_className = 0x7f42b0caf658, m_objectSize = 24, m_objectConstructor = 0,
m_baseInfo1 = 0x7f42b0eb9740, m_baseInfo2 = 0x0, static sm_first = 0x7f42b180f180, m_next = 0x7f42b0eb9740,
static sm_classTable = 0x2d1b4d0}}, static ms_classInfo = {m_className = 0x7f42b0caf688, m_objectSize = 32,
m_objectConstructor = 0x7f42b0ca4060 <wxIPV4address::wxCreateObject()>, m_baseInfo1 = 0x7f42b0eb9780, m_baseInfo2 = 0x0,
static sm_first = 0x7f42b180f180, m_next = 0x7f42b0eb9780, static sm_classTable = 0x2d1b4d0}, m_origHostname = {<wxStringBase> = {
static npos = 18446744073709551615, m_pchData = 0x7f42b0a2fc58}, <No data fields>}}
length = 21
error = false
lastError = 0
ip = 3083665236
port = 59952
#15 0x00000000004d8753 in CClientUDPSocket::OnReceive (this=0x3f81400, errorCode=0) at ../../src/ClientUDPSocket.cpp:69
No locals.
---Type <return> to continue, or q <return> to quit---
#16 0x0000000000457cb9 in CamuleApp::UDPSocketHandler (this=0x2d48dc0, event=@0xa588ea0) at ../../src/amule.cpp:2206
socket = (class CMuleUDPSocket *) 0x3f81400
__FUNCTION__ = "UDPSocketHandler"
#17 0x00007f42b09fb579 in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=0x1, event=@0xa588ea0)
at ../src/common/event.cpp:1231
tableId1 = <value optimized out>
tableId2 = <value optimized out>
#18 0x00007f42b09fcb67 in wxEventHashTable::HandleEvent (this=<value optimized out>, event=@0xa588ea0, self=0x2d48dc0)
at ../src/common/event.cpp:906
n = 2
count = 3
eventType = <value optimized out>
eTTnode = (wxEventHashTable::EventTypeTable * const) 0x40dd940
#19 0x00007f42b09fcca9 in wxEvtHandler::ProcessEvent (this=0x2d48dc0, event=@0xa588ea0) at ../src/common/event.cpp:1293
__FUNCTION__ = "ProcessEvent"
#20 0x00007f42b09fc9a6 in wxEvtHandler::ProcessPendingEvents (this=0x2d48dc0) at ../src/common/event.cpp:1191
event = {m_ptr = 0xa588ea0}
n = 1
__FUNCTION__ = "ProcessPendingEvents"
#21 0x00007f42b095281e in wxAppConsole::ProcessPendingEvents (this=<value optimized out>) at ../src/common/appbase.cpp:294
handler = (class wxEvtHandler *) 0x2d48dc0
#22 0x00007f42b11376fb in wxAppBase::ProcessIdle (this=0x0) at ../src/common/appcmn.cpp:435
event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x1c, static ms_classInfo = {m_className = 0x7f42b0a2ac38, m_objectSize = 16,
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x7f42b180f180, m_next = 0x7f42b0c84d00,
static sm_classTable = 0x2d1b4d0}, m_refData = 0x3f88490}, m_eventObject = 0x1c, m_eventType = -1385999432, m_timeStamp = 0,
m_id = -1376811871, m_callbackUserData = 0x0, m_propagationLevel = -1297951487, m_skipped = 66, m_isCommandEvent = 127,
static ms_classInfo = {m_className = 0x7f42b0a3cbb0, m_objectSize = 64, m_objectConstructor = 0, m_baseInfo1 = 0x7f42b0c84c00,
m_baseInfo2 = 0x0, static sm_first = 0x7f42b180f180, m_next = 0x7f42b0c86ba0, static sm_classTable = 0x2d1b4d0}},
m_requestMore = false, static sm_idleMode = wxIDLE_PROCESS_ALL, static ms_classInfo = {m_className = 0x7f42b120cc88, m_objectSize = 64,
m_objectConstructor = 0x7f42b107b8d0 <wxIdleEvent::wxCreateObject()>, m_baseInfo1 = 0x7f42b0c86be0, m_baseInfo2 = 0x0,
static sm_first = 0x7f42b180f180, m_next = 0x7f42b1514120, static sm_classTable = 0x2d1b4d0}}
needMore = false
#23 0x00007f42b1089c32 in wxapp_idle_callback () at ../src/gtk/app.cpp:206
idleID_save = 16100414
moreIdles = true
#24 0x00007f42ad64120a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x00007f42ad6448e0 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007f42ad644dad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0x00007f42af4e2bc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x00007f42b10a32a8 in wxEventLoop::Run (this=0x5921450) at ../src/gtk/evtloop.cpp:76
exitcode = <value optimized out>
__FUNCTION__ = "Run"
#29 0x00007f42b1137438 in wxAppBase::MainLoop (this=0x2d48dc0) at ../src/common/appcmn.cpp:312
mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x5921450}, m_pp = 0x2d48e38, m_pOld = 0x0}
#30 0x00007f42b0992ccd in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at ../src/common/init.cpp:460
No locals.
#31 0x00000000006a7b99 in main (argc=1, argv=0x7fffbae5d468) at ../../src/amule-gui.cpp:94
No locals.
Current language: auto; currently c++