Bug 296953 - Ktorrent freezes
Summary: Ktorrent freezes
Status: RESOLVED DUPLICATE of bug 295719
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-28 09:17 UTC by Germano Massullo
Modified: 2012-03-28 17:16 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 Germano Massullo 2012-03-28 09:17:55 UTC
After I open KTorrent 4.2.0 (Fedora 16 KDE 64bit) , it freezes.
To collect some useful infos, I caused a crash with killall -SIGABRT ktorrent.
Here is the backtrace







Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f05efce8840 (LWP 2661))]

Thread 6 (Thread 0x7f05e322c700 (LWP 2759)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003b147b86ec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3b1517cc20) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x0000003b147b8819 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00000033cb6a52da in ?? () from /usr/lib64/nvidia/libGL.so.1
#4  0x0000003ced007d90 in start_thread (arg=0x7f05e322c700) at pthread_create.c:309
#5  0x0000003cec8f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f05dbbc2700 (LWP 2760)):
#0  0x0000003ced009de5 in __pthread_mutex_lock (mutex=0x7f05dc0009a8) at pthread_mutex_lock.c:65
#1  0x0000003cee8436f9 in g_main_context_acquire (context=0x7f05dc0009a0) at gmain.c:2528
#2  0x0000003cee844df1 in g_main_context_iterate (context=0x7f05dc0009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3033
#3  0x0000003cee84549c in g_main_context_iteration (context=0x7f05dc0009a0, may_block=1) at gmain.c:3152
#4  0x00000033c03a7dc6 in QEventDispatcherGlib::processEvents (this=0x7f05dc002070, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000033c0378182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000033c03783d7 in QEventLoop::exec (this=0x7f05dbbc1c80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000033c0278b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000033c027bb6b in QThreadPrivate::start (arg=0x4694880) at thread/qthread_unix.cpp:298
#9  0x00000033cb6a52da in ?? () from /usr/lib64/nvidia/libGL.so.1
#10 0x0000003ced007d90 in start_thread (arg=0x7f05dbbc2700) at pthread_create.c:309
#11 0x0000003cec8f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f058b7f6700 (LWP 2778)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00000033c027a63b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xe601d0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xe601d0, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00000033c027654d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x0000003b1027e190 in update (this=0xe603a0) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:51
#5  net::DownloadThread::update (this=0xe603a0) at /usr/src/debug/libktorrent-1.2.0/src/net/downloadthread.cpp:46
#6  0x0000003b1027e389 in net::NetworkThread::run (this=0xe603a0) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#7  0x00000033c027bb6b in QThreadPrivate::start (arg=0xe603a0) at thread/qthread_unix.cpp:298
#8  0x00000033cb6a52da in ?? () from /usr/lib64/nvidia/libGL.so.1
#9  0x0000003ced007d90 in start_thread (arg=0x7f058b7f6700) at pthread_create.c:309
#10 0x0000003cec8f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f058aff5700 (LWP 2779)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00000033c027a63b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x3811c20) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x3811c20, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00000033c027654d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x0000003b102ae308 in lockInline (this=0x4d38900) at /usr/include/QtCore/qmutex.h:188
#5  QMutexLocker (m=0x4d38900, this=0x7f058aff4b20) at /usr/include/QtCore/qmutex.h:109
#6  bt::HttpConnection::dataSent (this=0x4d388d0) at /usr/src/debug/libktorrent-1.2.0/src/download/httpconnection.cpp:171
#7  0x0000003b102832eb in net::StreamSocket::write (this=0x4d57a90, max=<optimized out>, now=<optimized out>) at /usr/src/debug/libktorrent-1.2.0/src/net/streamsocket.cpp:74
#8  0x0000003b1027f3e3 in net::SocketGroup::processUnlimited (this=<optimized out>, up=true, now=1332921618316) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:51
#9  0x0000003b1027f738 in net::SocketGroup::process (this=0xe4fa20, up=<optimized out>, now=<optimized out>, global_allowance=@0x7f058aff4c1c) at /usr/src/debug/libktorrent-1.2.0/src/net/socketgroup.cpp:192
#10 0x0000003b1027e964 in net::NetworkThread::doGroups (this=0xe607a0, num_ready=<optimized out>, now=1332921618316, limit=<optimized out>) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:155
#11 0x0000003b1027dc75 in update (this=0xe607a0) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:81
#12 net::UploadThread::update (this=0xe607a0) at /usr/src/debug/libktorrent-1.2.0/src/net/uploadthread.cpp:43
#13 0x0000003b1027e389 in net::NetworkThread::run (this=0xe607a0) at /usr/src/debug/libktorrent-1.2.0/src/net/networkthread.cpp:48
#14 0x00000033c027bb6b in QThreadPrivate::start (arg=0xe607a0) at thread/qthread_unix.cpp:298
#15 0x00000033cb6a52da in ?? () from /usr/lib64/nvidia/libGL.so.1
#16 0x0000003ced007d90 in start_thread (arg=0x7f058aff5700) at pthread_create.c:309
#17 0x0000003cec8f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f058a7f4700 (LWP 2780)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000033c027c07b in wait (time=18446744073709551615, this=0x46d9ab0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3fa1a80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003b10280d8a in net::ReverseResolverThread::run (this=0x3fa1a70) at /usr/src/debug/libktorrent-1.2.0/src/net/reverseresolver.cpp:124
#4  0x00000033c027bb6b in QThreadPrivate::start (arg=0x3fa1a70) at thread/qthread_unix.cpp:298
#5  0x00000033cb6a52da in ?? () from /usr/lib64/nvidia/libGL.so.1
#6  0x0000003ced007d90 in start_thread (arg=0x7f058a7f4700) at pthread_create.c:309
#7  0x0000003cec8f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f05efce8840 (LWP 2661)):
[KCrash Handler]
#6  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#7  0x00000033c027a63b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x35d7500) at thread/qmutex_unix.cpp:99
#8  QMutexPrivate::wait (this=0x35d7500, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#9  0x00000033c027654d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#10 0x0000003b10282f55 in net::TrafficShapedSocket::updateSpeeds (this=0x4d57a90, now=1332921618318) at /usr/src/debug/libktorrent-1.2.0/src/net/trafficshapedsocket.cpp:99
#11 0x0000003b102aec2b in bt::HttpConnection::getDownloadRate (this=0x4d388d0) at /usr/src/debug/libktorrent-1.2.0/src/download/httpconnection.cpp:314
#12 0x0000003b102a04a4 in bt::WebSeed::getDownloadRate (this=<optimized out>) at /usr/src/debug/libktorrent-1.2.0/src/download/webseed.cpp:122
#13 0x0000003b102aad39 in bt::Downloader::downloadRate (this=0x20175a0) at /usr/src/debug/libktorrent-1.2.0/src/download/downloader.cpp:527
#14 0x0000003b102be8a2 in bt::TorrentControl::updateStatus (this=0x2011b40) at /usr/src/debug/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:990
#15 0x0000003b102c7fee in bt::TorrentControl::update (this=0x2011b40) at /usr/src/debug/libktorrent-1.2.0/src/torrent/torrentcontrol.cpp:219
#16 0x000000000042b3bd in kt::Core::update (this=0xf8a910) at /usr/src/debug/ktorrent-4.2.0/ktorrent/core.cpp:1046
#17 0x000000000043290a in kt::Core::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/ktorrent-4.2.0/x86_64-redhat-linux-gnu/ktorrent/core.moc:141
#18 0x00000033c038cce1 in QMetaObject::activate (sender=0xf8a938, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00000033c0391c49 in QObject::event (this=0xf8a938, e=<optimized out>) at kernel/qobject.cpp:1157
#20 0x0000003b0c7c9994 in notify_helper (e=0x7fff5d266a60, receiver=0xf8a938, this=0xe8d240) at kernel/qapplication.cpp:4550
#21 QApplicationPrivate::notify_helper (this=0xe8d240, receiver=0xf8a938, e=0x7fff5d266a60) at kernel/qapplication.cpp:4522
#22 0x0000003b0c7ce813 in QApplication::notify (this=0x7fff5d266d70, receiver=0xf8a938, e=0x7fff5d266a60) at kernel/qapplication.cpp:4411
#23 0x0000000000439061 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/ktorrent-4.2.0/ktorrent/app.cpp:99
#24 0x00000033c037904c in QCoreApplication::notifyInternal (this=0x7fff5d266d70, receiver=0xf8a938, event=0x7fff5d266a60) at kernel/qcoreapplication.cpp:876
#25 0x00000033c03a9b52 in sendEvent (event=0x7fff5d266a60, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#26 QTimerInfoList::activateTimers (this=0xe827a0) at kernel/qeventdispatcher_unix.cpp:611
#27 0x00000033c03a752d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#28 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#29 0x00000033c03a7551 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#30 0x0000003cee844acd in g_main_dispatch (context=0xe8af60) at gmain.c:2441
#31 g_main_context_dispatch (context=0xe8af60) at gmain.c:3011
#32 0x0000003cee8452c8 in g_main_context_iterate (context=0xe8af60, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#33 0x0000003cee84549c in g_main_context_iteration (context=0xe8af60, may_block=1) at gmain.c:3152
#34 0x00000033c03a7d5f in QEventDispatcherGlib::processEvents (this=0xe1b640, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#35 0x0000003b0c86c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#36 0x00000033c0378182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00000033c03783d7 in QEventLoop::exec (this=0x7fff5d266d00, flags=...) at kernel/qeventloop.cpp:204
#38 0x00000033c037cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#39 0x0000000000427ca1 in main (argc=5, argv=0x7fff5d267be8) at /usr/src/debug/ktorrent-4.2.0/ktorrent/main.cpp:177
Comment 1 Joris Guisson 2012-03-28 17:16:34 UTC
Already fixed

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