I started amuled and amulegui in gdb.
amuled segfaulted (I don't know when, I wasn't at home), while amulegui keeped on running normally.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087323056 (LWP 4525)]
0x403ae3cb in free () from /lib/tls/libc.so.6
(gdb) bt
#0 0x403ae3cb in free () from /lib/tls/libc.so.6
#1 0x403afc4c in malloc () from /lib/tls/libc.so.6
#2 0x402ee2fe in operator new () from /usr/lib/libstdc++.so.5
#3 0x402ee42f in operator new[] () from /usr/lib/libstdc++.so.5
#4 0x0808dddc in CClientUDPSocket::SendControlData (this=0x86c8900,
maxNumberOfBytesToSend=83) at ClientUDPSocket.cpp:324
#5 0x081808d6 in UploadBandwidthThrottler::Entry (this=0x868aa88)
at UploadBandwidthThrottler.cpp:438
#6 0x4014ce1b in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_base-2.6.so.0
#7 0x4014ccef in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8 0x40030ccd in start_thread () from /lib/tls/libpthread.so.0
#9 0x40418b0e in clone () from /lib/tls/libc.so.6
(gdb) bt full
#0 0x403ae3cb in free () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x403afc4c in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x402ee2fe in operator new () from /usr/lib/libstdc++.so.5
No symbol table info available.
#3 0x402ee42f in operator new[] () from /usr/lib/libstdc++.so.5
No symbol table info available.
#4 0x0808dddc in CClientUDPSocket::SendControlData (this=0x86c8900,
maxNumberOfBytesToSend=83) at ClientUDPSocket.cpp:324
sendbuffer = 0x8183229 "ÉÃ\220U\211å]Ã\220U\211å\203ì(\215Uè\213E\f\211D
$\b\213E\b\211D$\004\211\024$èeäÿÿ\203ì\004\215Eè\211\004$èóìÿÿÉÃ\220U\211å\203ì
\bÇ\004$\004"
cur_packet = {packet = 0x41647ae0, dwTime = 2464683876,
dwIP = 1039139415, nPort = 4672}
lock =
sentBytes = 0
returnVal = {success = false, sentBytesStandardPackets = 141078776,
sentBytesControlPackets = 141079288}
#5 0x081808d6 in UploadBandwidthThrottler::Entry (this=0x868aa88)
at UploadBandwidthThrottler.cpp:438
socketSentBytes = {success = false,
sentBytesStandardPackets = 141078776, sentBytesControlPackets = 141079288}
---Type to continue, or q to quit---
lastSpentBytes = 4
socket = (class ThrottledControlSocket *) 0x86c8a24
spentBytes = 0
spentOverhead = 0
sendLock =
maxSlot = 4
timeSinceLastLoop = 4
minFragSize = 1300
doubleSendSize = 2600
bytesToSpend = 83
TIME_BETWEEN_UPLOAD_LOOPS = 1
sleepTime = 2
thisLoopTick = 2464683919
lastLoopTick = 2464683919
realBytesToSpend = 83375
allowedDataRate = 27648
rememberedSlotCounter = 1
lastTickReachedBandwidth = 2464683915
sendLock =
#6 0x4014ce1b in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#7 0x4014ccef in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
---Type to continue, or q to quit---
No symbol table info available.
#8 0x40030ccd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9 0x40418b0e in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb) thread apply all bt
Thread 4 (Thread 1095838640 (LWP 4528)):
#0 0x40035b1c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1 0x401550c8 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#2 0x401550f5 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#3 0x4014d40f in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#4 0x0817f08e in CTimer::CTimerThread::Entry (this=0x843db60) at Timer.cpp:102
#5 0x4014ce1b in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_base-2.6.so.0
#6 0x4014ccef in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#7 0x40030ccd in start_thread () from /lib/tls/libpthread.so.0
#8 0x40418b0e in clone () from /lib/tls/libc.so.6
Thread 2 (Thread 1087323056 (LWP 4525)):
#0 0x403ae3cb in free () from /lib/tls/libc.so.6
#1 0x403afc4c in malloc () from /lib/tls/libc.so.6
#2 0x402ee2fe in operator new () from /usr/lib/libstdc++.so.5
#3 0x402ee42f in operator new[] () from /usr/lib/libstdc++.so.5
#4 0x0808dddc in CClientUDPSocket::SendControlData (this=0x86c8900,
maxNumberOfBytesToSend=83) at ClientUDPSocket.cpp:324
#5 0x081808d6 in UploadBandwidthThrottler::Entry (this=0x868aa88)
at UploadBandwidthThrottler.cpp:438
#6 0x4014ce1b in wxThreadInternal::PthreadStart ()
---Type to continue, or q to quit---
from /usr/lib/libwx_base-2.6.so.0
#7 0x4014ccef in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#8 0x40030ccd in start_thread () from /lib/tls/libpthread.so.0
#9 0x40418b0e in clone () from /lib/tls/libc.so.6
Thread 1 (Thread 1078477856 (LWP 4520)):
#0 0x40410f87 in select () from /lib/tls/libc.so.6
#1 0x08064668 in CAmuledGSocketFuncTable::RunSelect (this=0x84372c0)
at amuled.cpp:268
#2 0x0806502b in CamuleDaemonApp::OnRun (this=0x84370d0) at amuled.cpp:399
#3 0x400ea638 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#4 0x080640a8 in main (argc=1, argv=0xbfffe6b4) at amuled.cpp:124
#0 0x403ae3cb in free () from /lib/tls/libc.so.6
thanx for your great job
tindal