Bug 241692 - KTorrent crash after some time
Summary: KTorrent crash after some time
Status: RESOLVED DUPLICATE of bug 241469
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 03:06 UTC by Alexey Shildyakov
Modified: 2010-06-14 19:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shildyakov 2010-06-14 03:06:10 UTC
Application: ktorrent (4.0.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.33-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
Crash after some time running

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Current thread is 1 (Thread 0x7f44598ce760 (LWP 31223))]

Thread 6 (Thread 0x7f444aa00710 (LWP 31227)):
[KCrash Handler]
#5  0x00007f44560a1e09 in QApplicationPrivate::notify_helper (this=0x1b800a0, receiver=0x7f4445fb8e30, e=0x7f444a9ffba0) at kernel/qapplication.cpp:4302
#6  0x00007f44560a840b in QApplication::notify (this=0x7fff90cc35c0, receiver=0x7f4445fb8e30, e=0x7f444a9ffba0) at kernel/qapplication.cpp:4185
#7  0x00007f445855c6c8 in KApplication::notify (this=0x7fff90cc35c0, receiver=0x7f4445fb8e30, event=0x7f444a9ffba0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#8  0x00007f4456f1bd6b in QCoreApplication::notifyInternal (this=0x7fff90cc35c0, receiver=0x7f4445fb8e30, event=0x7f444a9ffba0) at kernel/qcoreapplication.cpp:726
#9  0x00007f4456f488ba in QCoreApplication::sendEvent (this=0x7f4444000c40) at kernel/qcoreapplication.h:215
#10 QTimerInfoList::activateTimers (this=0x7f4444000c40) at kernel/qeventdispatcher_unix.cpp:603
#11 0x00007f4456f45658 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#12 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#13 0x00007f44514d407b in g_main_dispatch (context=0x1c4fa60) at gmain.c:1960
#14 IA__g_main_context_dispatch (context=0x1c4fa60) at gmain.c:2513
#15 0x00007f44514d7e08 in g_main_context_iterate (context=0x1c4fa60, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#16 0x00007f44514d7fc2 in IA__g_main_context_iteration (context=0x1c4fa60, may_block=1) at gmain.c:2654
#17 0x00007f4456f452fe in QEventDispatcherGlib::processEvents (this=0x1c5e740, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#18 0x00007f4456f1a692 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#19 0x00007f4456f1aa5d in QEventLoop::exec (this=0x7f444a9ffe20, flags=) at kernel/qeventloop.cpp:201
#20 0x00007f4456e2b63b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#21 0x00007f4456e2e0d5 in QThreadPrivate::start (arg=0x1c5e7a0) at thread/qthread_unix.cpp:248
#22 0x00007f4456b9e914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#23 0x00007f44554b027d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f444a1ff710 (LWP 31238)):
#0  0x00007f44554a99e3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f44594590c2 in dht::RPCServerThread::run (this=0x1c3c110) at /var/tmp/portage/net-libs/libktorrent-1.0.0/work/libktorrent-1.0.0/src/dht/rpcserver.cpp:107
#2  0x00007f4456e2e0d5 in QThreadPrivate::start (arg=0x1c3c110) at thread/qthread_unix.cpp:248
#3  0x00007f4456b9e914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f44554b027d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f443aada710 (LWP 31923)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f4456e2da5a in thread_sleep (ti=0x7f443aad9dd0) at thread/qthread_unix.cpp:398
#2  0x00007f4456e2dbb0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f44593f98fd in net::DownloadThread::update (this=0x1b550e0) at /var/tmp/portage/net-libs/libktorrent-1.0.0/work/libktorrent-1.0.0/src/net/downloadthread.cpp:91
#4  0x00007f44593fa1a9 in net::NetworkThread::run (this=0x1b550e0) at /var/tmp/portage/net-libs/libktorrent-1.0.0/work/libktorrent-1.0.0/src/net/networkthread.cpp:48
#5  0x00007f4456e2e0d5 in QThreadPrivate::start (arg=0x1b550e0) at thread/qthread_unix.cpp:248
#6  0x00007f4456b9e914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007f44554b027d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f443a2d9710 (LWP 31924)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f4456e2da5a in thread_sleep (ti=0x7f443a2d8dd0) at thread/qthread_unix.cpp:398
#2  0x00007f4456e2dbb0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f44593f8efd in net::UploadThread::update (this=0x1b55730) at /var/tmp/portage/net-libs/libktorrent-1.0.0/work/libktorrent-1.0.0/src/net/uploadthread.cpp:89
#4  0x00007f44593fa1a9 in net::NetworkThread::run (this=0x1b55730) at /var/tmp/portage/net-libs/libktorrent-1.0.0/work/libktorrent-1.0.0/src/net/networkthread.cpp:48
#5  0x00007f4456e2e0d5 in QThreadPrivate::start (arg=0x1b55730) at thread/qthread_unix.cpp:248
#6  0x00007f4456b9e914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007f44554b027d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f4439ad8710 (LWP 31925)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4456e2f0cb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f443449d100, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f443449d100, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f44593fd2d2 in net::ReverseResolverThread::run (this=0x7f443449d0f0) at /var/tmp/portage/net-libs/libktorrent-1.0.0/work/libktorrent-1.0.0/src/net/reverseresolver.cpp:123
#4  0x00007f4456e2e0d5 in QThreadPrivate::start (arg=0x7f443449d0f0) at thread/qthread_unix.cpp:248
#5  0x00007f4456b9e914 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f44554b027d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f44598ce760 (LWP 31223)):
#0  0x00007f44554a75c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f444f325bf2 in _xcb_conn_wait (c=0x1bb3650, cond=<value optimized out>, vector=0x7fff90cc3228, count=0x7fff90cc3224) at xcb_conn.c:316
#2  0x00007f444f326117 in _xcb_out_send (c=0x1bb3650, vector=0x7fff90cc3228, count=0x7fff90cc3224) at xcb_out.c:338
#3  0x00007f444f32638c in xcb_writev (c=0x1bb3650, vector=0x7fff90cc3270, count=3, requests=18446744073709551615) at xcb_out.c:286
#4  0x00007f44536d5d54 in _XSend (dpy=0x1ba3fe0, data=0x0, size=<value optimized out>) at xcb_io.c:427
#5  0x00007f44536d6651 in _XEventsQueued (dpy=0x7fff90cc3190, mode=<value optimized out>) at xcb_io.c:294
#6  0x00007f44536bedcb in XEventsQueued (dpy=0x1ba3fe0, mode=2) at Pending.c:43
#7  0x00007f4456150d47 in x11EventSourcePrepare (s=0x1b8d400, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#8  0x00007f44514d759d in IA__g_main_context_prepare (context=0x1b8bed0, priority=<value optimized out>) at gmain.c:2280
#9  0x00007f44514d79f2 in g_main_context_iterate (context=0x1b8bed0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571
#10 0x00007f44514d7fc2 in IA__g_main_context_iteration (context=0x1b8bed0, may_block=1) at gmain.c:2654
#11 0x00007f4456f452fe in QEventDispatcherGlib::processEvents (this=0x1b743c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#12 0x00007f4456150b26 in QGuiEventDispatcherGlib::processEvents (this=0x7fff90cc3190, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007f4456f1a692 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#14 0x00007f4456f1aa5d in QEventLoop::exec (this=0x7fff90cc3520, flags=) at kernel/qeventloop.cpp:201
#15 0x00007f4456f1f69b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#16 0x000000000042a56b in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-4.0.0/work/ktorrent-4.0.0/ktorrent/main.cpp:173

This bug may be a duplicate of or related to bug 240393.

Possible duplicates by query: bug 241678, bug 241628, bug 241598, bug 241577, bug 241570.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-14 19:59:10 UTC

*** This bug has been marked as a duplicate of bug 241469 ***