Bug 255785

Summary: ktorrent crashing when uploading at high speed
Product: [Applications] ktorrent Reporter: Antonio Bulgheroni <antonio.bulgheroni>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: antonio.bulgheroni
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antonio Bulgheroni 2010-11-01 07:21:29 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-61.fc13.i686.PAE i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
When uploading at "high" speed, say 30kB/s, it is very likely to crash. 

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77a5780 (LWP 1798))]

Thread 10 (Thread 0xb55ffb70 (LWP 1801)):
[KCrash Handler]
#6  QObjectPrivate::_q_reregisterTimers (this=0x2993d0, pointer=0xb8fdbb0) at kernel/qobject.cpp:1578
#7  0x0595fed0 in QObject::qt_metacall (this=0xa54b328, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xa761998) at .moc/release-shared/moc_qobject.cpp:110
#8  0x05950bcb in QMetaObject::metacall (object=0xa54b328, cl=QMetaObject::InvokeMetaMethod, idx=3, argv=0xa761998) at kernel/qmetaobject.cpp:237
#9  0x0595b187 in QMetaCallEvent::placeMetaCall (this=0xb3cea28, object=0xa54b328) at kernel/qobject.cpp:561
#10 0x0595c09e in QObject::event (this=0xa54b328, e=0xb3cea28) at kernel/qobject.cpp:1248
#11 0x0609377c in QApplicationPrivate::notify_helper (this=0x9f60b98, receiver=0xa54b328, e=0xb3cea28) at kernel/qapplication.cpp:4306
#12 0x0609a1d6 in QApplication::notify (this=0xbff45d80, receiver=0xa54b328, e=0xb3cea28) at kernel/qapplication.cpp:3710
#13 0x08076fcd in kt::App::notify (this=0xbff45d80, receiver=0xa54b328, event=0xb3cea28) at /usr/src/debug/ktorrent-4.0.3/ktorrent/app.cpp:97
#14 0x0594c133 in QCoreApplication::notifyInternal (this=0xbff45d80, receiver=0xa54b328, event=0xb3cea28) at kernel/qcoreapplication.cpp:726
#15 0x0594e5bc in sendEvent (receiver=0x0, event_type=0, data=0x9ff3e00) at kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ff3e00) at kernel/qcoreapplication.cpp:1367
#17 0x0594e73e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#18 0x05974950 in sendPostedEvents (s=0xb4a00d68) at kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=0xb4a00d68) at kernel/qeventdispatcher_glib.cpp:276
#20 0x009f7525 in g_main_dispatch (context=0xb4a004e8) at gmain.c:1960
#21 IA__g_main_context_dispatch (context=0xb4a004e8) at gmain.c:2513
#22 0x009fb268 in g_main_context_iterate (context=0x830490, block=1, dispatch=1, self=0xb4a01d40) at gmain.c:2591
#23 0x009fb449 in IA__g_main_context_iteration (context=0xb4a004e8, may_block=1) at gmain.c:2654
#24 0x05974446 in QEventDispatcherGlib::processEvents (this=0xb4a00468, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#25 0x0594a80a in QEventLoop::processEvents (this=0xb55ff210, flags=...) at kernel/qeventloop.cpp:149
#26 0x0594ab4a in QEventLoop::exec (this=0xb55ff210, flags=...) at kernel/qeventloop.cpp:201
#27 0x058582fe in QThread::exec (this=0x9ff0ac0) at thread/qthread.cpp:487
#28 0x077fac0f in utp::UTPServerThread::run (this=0x9ff0ac0) at /usr/src/debug/libktorrent-1.0.3/src/utp/utpserverthread.cpp:44
#29 0x0585a74f in QThreadPrivate::start (arg=0x9ff0ac0) at thread/qthread_unix.cpp:248
#30 0x0082d919 in start_thread (arg=0xb55ffb70) at pthread_create.c:301
#31 0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 9 (Thread 0xb49ffb70 (LWP 1802)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x001e60a1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x077c58d5 in dht::RPCServerThread::run (this=0x9f66318) at /usr/src/debug/libktorrent-1.0.3/src/dht/rpcserver.cpp:107
#3  0x0585a74f in QThreadPrivate::start (arg=0x9f66318) at thread/qthread_unix.cpp:248
#4  0x0082d919 in start_thread (arg=0xb49ffb70) at pthread_create.c:301
#5  0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 8 (Thread 0xad3dbb70 (LWP 2030)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x008315d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x02404c25 in ?? () from /usr/lib/libxine.so.1
#3  0x0082d919 in start_thread (arg=0xad3dbb70) at pthread_create.c:301
#4  0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 7 (Thread 0xac9dab70 (LWP 2031)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x001e2df6 in __poll (fds=0xab2fad8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00a0864c in IA__g_poll (fds=0xab2fad8, nfds=1, timeout=-1) at gpoll.c:127
#3  0x009fb044 in g_main_context_poll (context=0x830490, block=1, dispatch=1, self=0xaa602a8) at gmain.c:2904
#4  g_main_context_iterate (context=0x830490, block=1, dispatch=1, self=0xaa602a8) at gmain.c:2586
#5  0x009fb449 in IA__g_main_context_iteration (context=0xaa61850, may_block=1) at gmain.c:2654
#6  0x0597447f in QEventDispatcherGlib::processEvents (this=0xaa6d230, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x0594a80a in QEventLoop::processEvents (this=0xac9da200, flags=...) at kernel/qeventloop.cpp:149
#8  0x0594ab4a in QEventLoop::exec (this=0xac9da200, flags=...) at kernel/qeventloop.cpp:201
#9  0x058582fe in QThread::exec (this=0xaa5f748) at thread/qthread.cpp:487
#10 0x0239e0cb in Phonon::Xine::XineThread::run (this=0xaa5f748) at /usr/src/debug/phonon-4.4.2/xine/xinethread.cpp:143
#11 0x0585a74f in QThreadPrivate::start (arg=0xaa5f748) at thread/qthread_unix.cpp:248
#12 0x0082d919 in start_thread (arg=0xac9dab70) at pthread_create.c:301
#13 0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xabfd9b70 (LWP 2032)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x001e2df6 in __poll (fds=0xb3e07078, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x075ecce3 in ?? () from /usr/lib/libpulse.so.0
#3  0x075d94ca in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x075dad54 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x075dae34 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x075eca84 in ?? () from /usr/lib/libpulse.so.0
#7  0x07591863 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0082d919 in start_thread (arg=0xabfd9b70) at pthread_create.c:301
#9  0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xa75d7b70 (LWP 2033)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x0083122c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x02416e18 in ?? () from /usr/lib/libxine.so.1
#3  0x0082d919 in start_thread (arg=0xa75d7b70) at pthread_create.c:301
#4  0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xa5f09b70 (LWP 2057)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x001e2df6 in __poll (fds=0xb4a0f120, nfds=17, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0776cb7e in net::Poll::poll (this=0x9f3a8c8, timeout=-1) at /usr/src/debug/libktorrent-1.0.3/src/net/poll.cpp:99
#3  0x07768f7a in net::DownloadThread::waitForSocketReady (this=0x9f3a8c0) at /usr/src/debug/libktorrent-1.0.3/src/net/downloadthread.cpp:128
#4  0x07769060 in net::DownloadThread::update (this=0x9f3a8c0) at /usr/src/debug/libktorrent-1.0.3/src/net/downloadthread.cpp:48
#5  0x07769a18 in net::NetworkThread::run (this=0x9f3a8c0) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#6  0x0585a74f in QThreadPrivate::start (arg=0x9f3a8c0) at thread/qthread_unix.cpp:248
#7  0x0082d919 in start_thread (arg=0xa5f09b70) at pthread_create.c:301
#8  0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xa5508b70 (LWP 2058)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x008315d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0585a00f in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:398
#3  0x0585a164 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:424
#4  0x07768a32 in net::UploadThread::update (this=0x9f3acc8) at /usr/src/debug/libktorrent-1.0.3/src/net/uploadthread.cpp:89
#5  0x07769a18 in net::NetworkThread::run (this=0x9f3acc8) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#6  0x0585a74f in QThreadPrivate::start (arg=0x9f3acc8) at thread/qthread_unix.cpp:248
#7  0x0082d919 in start_thread (arg=0xa5508b70) at pthread_create.c:301
#8  0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xa4b07b70 (LWP 2059)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x0083122c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0585b6af in wait (this=0xa923744, mutex=0xa923740, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa923744, mutex=0xa923740, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0776c852 in net::ReverseResolverThread::run (this=0xa923738) at /usr/src/debug/libktorrent-1.0.3/src/net/reverseresolver.cpp:123
#5  0x0585a74f in QThreadPrivate::start (arg=0xa923738) at thread/qthread_unix.cpp:248
#6  0x0082d919 in start_thread (arg=0xa4b07b70) at pthread_create.c:301
#7  0x001edcce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb77a5780 (LWP 1798)):
#0  0x0071c424 in __kernel_vsyscall ()
#1  0x008315d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x0585a00f in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:398
#3  0x0585a164 in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:424
#4  0x023c5114 in Phonon::Xine::Backend::~Backend (this=0xaa64938, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/xine/backend.cpp:111
#5  0x023c5343 in Phonon::Xine::Backend::~Backend (this=0xaa64938, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/xine/backend.cpp:123
#6  0x07680c57 in Phonon::FactoryPrivate::~FactoryPrivate (this=0xaa5a5e0, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:218
#7  0x07680e03 in Phonon::FactoryPrivate::~FactoryPrivate (this=0xaa5a5e0, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:222
#8  0x0767f7b6 in destroy () at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:84
#9  0x0767bb9c in Phonon::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0x76b2d90, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/phonon/globalstatic_p.h:55
#10 0x0013e42f in __run_exit_handlers (status=1) at exit.c:78
#11 exit (status=1) at exit.c:100
#12 0x061077dc in qt_xio_errhandler () at kernel/qapplication_x11.cpp:744
#13 0x06bb8cdb in KApplication::xioErrhandler (this=0xbff45d80, dpy=0x9f63ea0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:408
#14 0x06bb8d17 in kde_xio_errhandler (dpy=0x9f63ea0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:125
#15 0x008bea57 in _XIOError (dpy=0x9f63ea0) at XlibInt.c:3138
#16 0x008c6a43 in process_responses (dpy=<value optimized out>, wait_for_first_event=0, current_error=0x0, current_request=0) at xcb_io.c:247
#17 0x008c73e7 in _XEventsQueued (dpy=0x9f63ea0, mode=2) at xcb_io.c:263
#18 0x008af9fb in XEventsQueued (dpy=0x9f63ea0, mode=2) at Pending.c:44
#19 0x061424cf in x11EventSourcePrepare (s=0x9f63ae8, timeout=0xbff45adc) at kernel/qguieventdispatcher_glib.cpp:79
#20 0x009faa6a in IA__g_main_context_prepare (context=<value optimized out>, priority=0xbff45b5c) at gmain.c:2280
#21 0x009fae81 in g_main_context_iterate (context=0x9f62e90, block=1, dispatch=1, self=0x9f60218) at gmain.c:2571
#22 0x009fb449 in IA__g_main_context_iteration (context=0x9f62e90, may_block=1) at gmain.c:2654
#23 0x05974446 in QEventDispatcherGlib::processEvents (this=0x9f39650, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#24 0x06142336 in QGuiEventDispatcherGlib::processEvents (this=0x9f39650, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x0594a80a in QEventLoop::processEvents (this=0xbff45cf4, flags=...) at kernel/qeventloop.cpp:149
#26 0x0594ab4a in QEventLoop::exec (this=0xbff45cf4, flags=...) at kernel/qeventloop.cpp:201
#27 0x0594e807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#28 0x06093828 in QApplication::exec () at kernel/qapplication.cpp:3585
#29 0x08066e88 in main (argc=) at /usr/src/debug/ktorrent-4.0.3/ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2010-11-01 09:31:15 UTC
Was fixed in 4.0.4

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