[Pkg-amule-devel] Bug#772592: Bug#772592: amule: occasional segmentation fault

Dmitry Smirnov onlyjob at debian.org
Tue Dec 9 00:06:10 UTC 2014


On Mon, 8 Dec 2014 22:51:28 Sandro Tosi wrote:
> no well maybe it is known but just mention it SIGSEGV without proving
> even a location memory or so it is hard to say if someone else already
> spotted it or now
> 
> > Thanks, I'll run it in GDB and try to wait long enough for it to crash.
 
Here is backtrace -- it didn't take long this time:

~~~~
(gdb) thread apply all bt

Thread 5 (Thread 0x7fffea5a1700 (LWP 10521)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffff5e761e6 in wxConditionInternal::WaitTimeout(unsigned long) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#2  0x00007ffff5e76d6a in wxSemaphoreInternal::WaitTimeout(unsigned long) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#3  0x00000000005dca1e in CTimerThread::Entry (this=0x41fa4e0) at ../../src/Timer.cpp:66
#4  0x00007ffff5e774e5 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#5  0x00007ffff7bc70a4 in start_thread (arg=0x7fffea5a1700) at pthread_create.c:309
#6  0x00007ffff5070ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fffec5a7700 (LWP 10517)):
#0  g_source_unref_internal (source=source at entry=0x7fffe00008c0, context=context at entry=0xa85020, have_lock=have_lock at entry=1) at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:2027
#1  0x00007ffff2e5d1a9 in g_source_destroy_internal (source=0x7fffe00008c0, context=0xa85020, have_lock=0) at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:1201
#2  0x00007ffff2e5e925 in g_source_remove (tag=385801) at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:2239
#3  0x00007ffff6515af7 in GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#4  0x00007ffff6114712 in GSocket::Write(char const*, int) () from /usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0
#5  0x00007ffff610fe78 in wxSocketBase::_Write(void const*, unsigned int) () from /usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0
#6  0x00007ffff610feb4 in wxSocketBase::Write(void const*, unsigned int) () from /usr/lib/x86_64-linux-gnu/libwx_baseu_net-2.8.so.0
#7  0x00000000005aa514 in Write (nbytes=46, buffer=0x4507990, this=0x436eb80) at ../../src/LibSocket.h:266
#8  CSocketClientProxy::Write (this=this at entry=0x436eb80, buffer=0x4507990, nbytes=nbytes at entry=46) at ../../src/Proxy.cpp:1324
#9  0x00000000004a401f in CEncryptedStreamSocket::Write (this=this at entry=0x436eb80, lpBuf=<optimized out>, nBufLen=nBufLen at entry=46) at ../../src/EncryptedStreamSocket.cpp:210
#10 0x00000000004a2bc3 in CEMSocket::Send (this=0x436eb80, maxNumberOfBytesToSend=<optimized out>, minFragSize=<optimized out>, onlyAllowedToSendControlPacket=true) at ../../src/EMSocket.cpp:563
#11 0x0000000000480eb9 in SendControlData (minFragSize=<optimized out>, maxNumberOfBytesToSend=<optimized out>, this=0x436eb80) at ../../src/EMSocket.h:69
#12 CClientTCPSocket::SendControlData (this=0x436eb80, maxNumberOfBytesToSend=<optimized out>, overchargeMaxBytesToSend=<optimized out>) at ../../src/ClientTCPSocket.cpp:2045
#13 0x00000000004eb016 in UploadBandwidthThrottler::Entry (this=0x36c74c0) at ../../src/UploadBandwidthThrottler.cpp:381
#14 0x00007ffff5e774e5 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#15 0x00007ffff7bc70a4 in start_thread (arg=0x7fffec5a7700) at pthread_create.c:309
#16 0x00007ffff5070ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffff7f84a00 (LWP 10502)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff2ea39a9 in g_mutex_lock_slowpath (mutex=mutex at entry=0xa85020) at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread-posix.c:1314
#2  0x00007ffff2ea4372 in g_mutex_lock (mutex=mutex at entry=0xa85020) at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gthread-posix.c:1338
#3  0x00007ffff2e5f76f in g_main_context_check (context=context at entry=0xa85020, max_priority=2147483647, fds=fds at entry=0x45add60, n_fds=n_fds at entry=13)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:3568
#4  0x00007ffff2e5fe83 in g_main_context_iterate (context=0xa85020, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:3778
#5  0x00007ffff2e60272 in g_main_loop_run (loop=0x41fec40) at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmain.c:3975
#6  0x00007ffff4a6d4b7 in IA__gtk_main () at /build/gtk+2.0-Gthrko/gtk+2.0-2.24.25/gtk/gtkmain.c:1257
#7  0x00007ffff65149ea in wxEventLoop::Run() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#8  0x00007ffff659e8ab in wxAppBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#9  0x00007ffff5e1d2fa in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#10 0x0000000000441452 in main (argc=1, argv=<optimized out>) at ../../src/amule-gui.cpp:93
~~~~

-- 
Regards,
 Dmitry Smirnov.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-amule-devel/attachments/20141208/75302191/attachment-0001.sig>


More information about the Pkg-amule-devel mailing list