10424 with stus change in EMsocket.cpp memory usage at 439 MiB
[New Thread 0x7fffe64a4700 (LWP 19706)]
[New Thread 0x7fffe93e6700 (LWP 19707)]
[Thread 0x7fffe8be5700 (LWP 19700) exited]
[Thread 0x7fffe64a4700 (LWP 19706) exited]
[New Thread 0x7fffe64a4700 (LWP 20997)]
[Thread 0x7fffe64a4700 (LWP 20997) exited]
(amule:19676): GLib-CRITICAL **: g_source_attach: assertion `!SOURCE_DESTROYED (source)' failed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe6ca5700 (LWP 19703)]
__pthread_mutex_lock (mutex=0x545345445f45435a) at pthread_mutex_lock.c:50
50 pthread_mutex_lock.c: No such file or directory.
in pthread_mutex_lock.c
(gdb) bt
#0 __pthread_mutex_lock (mutex=0x545345445f45435a) at pthread_mutex_lock.c:50
#1 0x00007ffff29ffb8a in ?? () from /lib/libglib-2.0.so.0
#2 0x00007ffff29f77c0 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
#3 0x00007ffff45978e6 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
#4 0x00007ffff62b6d26 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5 0x00007ffff5ed981e in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6 0x00007ffff5ed5738 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7 0x00007ffff5ed588c in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8 0x00000000007532ae in CSocketClientProxy::Write (this=0x78f6c00, buffer=0x77b8690, nbytes=46) at Proxy.cpp:1309
#9 0x0000000000521264 in CEncryptedStreamSocket::Write (this=0x78f6c00, lpBuf=0x77b8690, nBufLen=46) at EncryptedStreamSocket.cpp:210
#10 0x000000000051e4cf in CEMSocket::Send (this=0x78f6c00, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
at EMSocket.cpp:572
#11 0x00000000004bd6a8 in CEMSocket::SendControlData (this=0x78f6c00, maxNumberOfBytesToSend=6, minFragSize=536) at EMSocket.h:69
#12 0x00000000004bd29e in CClientTCPSocket::SendControlData (this=0x78f6c00, maxNumberOfBytesToSend=6, overchargeMaxBytesToSend=536)
at ClientTCPSocket.cpp:2124
#13 0x00000000005e3dad in UploadBandwidthThrottler::Entry (this=0x765a900) at UploadBandwidthThrottler.cpp:381
#14 0x00007ffff5c48431 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#15 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#16 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
(gdb) bt full
#0 __pthread_mutex_lock (mutex=0x545345445f45435a) at pthread_mutex_lock.c:50
__PRETTY_FUNCTION__ = "__pthread_mutex_lock"
type = <value optimised out>
#1 0x00007ffff29ffb8a in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff29f77c0 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff45978e6 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#4 0x00007ffff62b6d26 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#5 0x00007ffff5ed981e in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#6 0x00007ffff5ed5738 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#7 0x00007ffff5ed588c in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
No symbol table info available.
#8 0x00000000007532ae in CSocketClientProxy::Write (this=0x78f6c00, buffer=0x77b8690, nbytes=46) at Proxy.cpp:1309
lock = {m_isOk = true, m_mutex = @0x78f6d48}
#9 0x0000000000521264 in CEncryptedStreamSocket::Write (this=0x78f6c00, lpBuf=0x77b8690, nBufLen=46) at EncryptedStreamSocket.cpp:210
No locals.
#10 0x000000000051e4cf in CEMSocket::Send (this=0x78f6c00, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
at EMSocket.cpp:572
tosend = 46
result = 0
bWasLongTimeSinceSend = false
sentControlPacketBytesThisCall = 0
returnVal = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
lock = {m_isOk = true, m_mutex = @0x78f70b8}
anErrorHasOccured = false
sentStandardPacketBytesThisCall = 0
#11 0x00000000004bd6a8 in CEMSocket::SendControlData (this=0x78f6c00, maxNumberOfBytesToSend=6, minFragSize=536) at EMSocket.h:69
No locals.
#12 0x00000000004bd29e in CClientTCPSocket::SendControlData (this=0x78f6c00, maxNumberOfBytesToSend=6, overchargeMaxBytesToSend=536)
at ClientTCPSocket.cpp:2124
returnStatus = {success = 110, sentBytesStandardPackets = 0, sentBytesControlPackets = 124102928}
#13 0x00000000005e3dad in UploadBandwidthThrottler::Entry (this=0x765a900) at UploadBandwidthThrottler.cpp:381
socketSentBytes = {success = false, sentBytesStandardPackets = 0, sentBytesControlPackets = 0}
socket = 0x78f7020
slots = 2
spentBytes = 0
spentOverhead = 0
sendLock = {m_isOk = true, m_mutex = @0x765a920}
minBytesToSpend = 1608
timeSinceLastLoop = 131
minFragSize = 536
doubleSendSize = 536
sleepTime = 131
thisLoopTick = 1677323844
bytesToSpend = 6
extraSleepTime = 1
TIME_BETWEEN_UPLOAD_LOOPS = 1
lastLoopTick = 1677323844
---Type <return> to continue, or q <return> to quit---
allowedDataRate = 4096
rememberedSlotCounter = 2
sendLock = {m_isOk = false, m_mutex = @0x0}
#14 0x00007ffff5c48431 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
__res = <value optimised out>
pd = 0x7fffe6ca5700
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737065408256, -2250598487927506680, 140737488346256, 140737065408960, 140737354125376, 3,
2250543131655977224, 2250581424366991624}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = <value optimised out>
robust = <value optimised out>
freesize = <value optimised out>
__PRETTY_FUNCTION__ = "start_thread"
#16 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt
Thread 14 (Thread 0x7fffe93e6700 (LWP 19707)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1 0x00007ffff5c46d36 in wxConditionInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#2 0x00007ffff5c47d07 in wxSemaphoreInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#3 0x000000000079c624 in CTimerThread::Entry (this=0x7fffe04d45b0) at Timer.cpp:66
#4 0x00007ffff5c48431 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#5 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#6 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 11 (Thread 0x7fffe6ca5700 (LWP 19703)):
#0 __pthread_mutex_lock (mutex=0x545345445f45435a) at pthread_mutex_lock.c:50
#1 0x00007ffff29ffb8a in ?? () from /lib/libglib-2.0.so.0
#2 0x00007ffff29f77c0 in g_io_add_watch_full () from /lib/libglib-2.0.so.0
#3 0x00007ffff45978e6 in gdk_input_add_full () from /usr/lib/libgdk-x11-2.0.so.0
#4 0x00007ffff62b6d26 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#5 0x00007ffff5ed981e in GSocket::Write(char const*, int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#6 0x00007ffff5ed5738 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#7 0x00007ffff5ed588c in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/libwx_baseu_net-2.8.so.0
#8 0x00000000007532ae in CSocketClientProxy::Write (this=0x78f6c00, buffer=0x77b8690, nbytes=46) at Proxy.cpp:1309
#9 0x0000000000521264 in CEncryptedStreamSocket::Write (this=0x78f6c00, lpBuf=0x77b8690, nBufLen=46) at EncryptedStreamSocket.cpp:210
#10 0x000000000051e4cf in CEMSocket::Send (this=0x78f6c00, maxNumberOfBytesToSend=536, minFragSize=536, onlyAllowedToSendControlPacket=true)
at EMSocket.cpp:572
#11 0x00000000004bd6a8 in CEMSocket::SendControlData (this=0x78f6c00, maxNumberOfBytesToSend=6, minFragSize=536) at EMSocket.h:69
#12 0x00000000004bd29e in CClientTCPSocket::SendControlData (this=0x78f6c00, maxNumberOfBytesToSend=6, overchargeMaxBytesToSend=536)
at ClientTCPSocket.cpp:2124
#13 0x00000000005e3dad in UploadBandwidthThrottler::Entry (this=0x765a900) at UploadBandwidthThrottler.cpp:381
#14 0x00007ffff5c48431 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#15 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#16 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
Thread 8 (Thread 0x7fffe9be7700 (LWP 19698)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1 0x00007ffff6bd583c in WorkerThread (arg=0x7ffff6ffc8e0) at src/ThreadPool.c:504
#2 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#3 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 7 (Thread 0x7fffea3e8700 (LWP 19697)):
#0 0x00007ffff51232c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007ffff6de40f3 in RunMiniServer (miniSock=0xd04ce0) at src/genlib/miniserver/miniserver.c:420
#2 0x00007ffff6bd5b16 in WorkerThread (arg=0x7ffff6ffc550) at src/ThreadPool.c:560
#3 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#4 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7fffeabe9700 (LWP 19696)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1 0x00007ffff6bd583c in WorkerThread (arg=0x7ffff6ffc550) at src/ThreadPool.c:504
#2 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#3 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
---Type <return> to continue, or q <return> to quit---
#4 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7fffeb3ea700 (LWP 19695)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1 0x00007ffff6bd583c in WorkerThread (arg=0x7ffff6ffc1d0) at src/ThreadPool.c:504
#2 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#3 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffebbeb700 (LWP 19694)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1 0x00007ffff6bd583c in WorkerThread (arg=0x7ffff6ffc1d0) at src/ThreadPool.c:504
#2 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#3 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fffecbed700 (LWP 19692)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1 0x00007ffff6bd676d in TimerThreadWorker (arg=<value optimised out>) at src/TimerThread.c:106
#2 0x00007ffff6bd5b16 in WorkerThread (arg=0x7ffff6ffc8e0) at src/ThreadPool.c:560
#3 0x00007ffff7bc6971 in start_thread (arg=<value optimised out>) at pthread_create.c:304
#4 0x00007ffff512a92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fb8940 (LWP 19676)):
#0 0x00007ffff511e203 in __poll (fds=<value optimised out>, nfds=<value optimised out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff629d8b4 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2 0x00007ffff2a04009 in ?? () from /lib/libglib-2.0.so.0
#3 0x00007ffff2a047b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4 0x00007ffff49563e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#5 0x00007ffff62b5578 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#6 0x00007ffff633ab0b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7 0x00007ffff5bef695 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#8 0x0000000000659f46 in main (argc=1, argv=0x7fffffffe2d8) at amule-gui.cpp:93
(gdb)