Bug 247207 - ktorrent crashes
Summary: ktorrent crashes
Status: RESOLVED DUPLICATE of bug 245796
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-08-10 07:14 UTC by Graham Murray
Modified: 2010-08-10 20:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2010-08-10 07:14:12 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-04119-g90c8327 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
There was no user interaction at the time of the crash, the following are the last few entries in the log.
Tue Aug 10 02:49:30 2010: QM Starting: Ильмера - Секреты -- Jamendo - OGG Vorbis q7 - 2010.07.25 [www.jamendo.com]
Tue Aug 10 02:49:30 2010: FreeBytes 152.7 GiB
Tue Aug 10 02:49:30 2010: Downloaded 25.3 MiB
Tue Aug 10 02:49:30 2010: Remaining 0 B
Tue Aug 10 02:49:30 2010: Starting download Ильмера - Секреты -- Jamendo - OGG Vorbis q7 - 2010.07.25 [www.jamendo.com]
Tue Aug 10 02:49:30 2010: Loading list of peers from /home/graham/.kde4/share/apps/ktorrent/tor26/peer_list
Tue Aug 10 02:49:30 2010: Loading 0 active chunk downloads
Tue Aug 10 02:49:30 2010: DHT: Doing announce 
Tue Aug 10 02:49:30 2010: Doing tracker request to url (via KIO): http://tracker.jamendo.com/announce.php?peer_id=-KT4020-dbykFAnBhD5F&port=6881&uploaded=0&downloaded=0&left=26532963&compact=1&numwant=200&key=93295867&event=started&info_hash=%a5%80%dd%f3%c3d%2c%e6%d0%afL%e3%07%87SC%0b%92!n
Tue Aug 10 02:49:30 2010: QM Stopping: clementine s - My soul -- Jamendo - OGG Vorbis q7 - 2010.05.04 [www.jamendo.com]
Tue Aug 10 02:49:30 2010: Doing tracker request to url (via KIO): http://tracker.jamendo.com/announce.php?peer_id=-KT4020-dbykFAnBhD5F&port=6881&uploaded=0&downloaded=0&left=10991483&compact=1&numwant=0&key=93295867&event=stopped&info_hash=%82G%3ey%80h%5c%fd%0em%b0%bb%a0x%1e%40%c3e%25%c8
Tue Aug 10 02:49:30 2010: Saving 0 chunk downloads
Tue Aug 10 02:49:30 2010: Saving list of peers to /home/graham/.kde4/share/apps/ktorrent/tor43/peer_list


The crash can be reproduced some of the time.

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

Thread 6 (Thread 0xb2aa8b70 (LWP 21504)):
#0  0xb7704424 in __kernel_vsyscall ()
#1  0xb5ba84c5 in *__GI___poll (fds=0xb5c27ff4, nfds=1, timeout=5) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb51a621c in IA__g_poll (fds=0x9e9c3a0, nfds=1, timeout=5) at gpoll.c:127
#3  0xb5198c4c in g_main_context_poll (context=0x9e9ad10, block=<value optimized out>, dispatch=1, self=0x9e9c378) at gmain.c:2904
#4  g_main_context_iterate (context=0x9e9ad10, block=<value optimized out>, dispatch=1, self=0x9e9c378) at gmain.c:2586
#5  0xb5199079 in IA__g_main_context_iteration (context=0x9e9ad10, may_block=1) at gmain.c:2654
#6  0xb69bb3bf in QEventDispatcherGlib::processEvents (this=0x9e969f0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0xb698d88a in QEventLoop::processEvents (this=0xb2aa8290, flags=) at kernel/qeventloop.cpp:149
#8  0xb698dcea in QEventLoop::exec (this=0xb2aa8290, flags=...) at kernel/qeventloop.cpp:201
#9  0xb688e18e in QThread::exec (this=0x9e32430) at thread/qthread.cpp:487
#10 0xb7678bdf in utp::UTPServerThread::run (this=0x9e32430) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/utp/utpserverthread.cpp:44
#11 0xb6890f6f in QThreadPrivate::start (arg=0x9e32430) at thread/qthread_unix.cpp:248
#12 0xb67dd9e0 in start_thread (arg=0xb2aa8b70) at pthread_create.c:297
#13 0xb5bb2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xb22a7b70 (LWP 21505)):
#0  0xb7704424 in __kernel_vsyscall ()
#1  0xb5bab981 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb763c503 in dht::RPCServerThread::run (this=0x9e82800) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/dht/rpcserver.cpp:107
#3  0xb6890f6f in QThreadPrivate::start (arg=0x9e82800) at thread/qthread_unix.cpp:248
#4  0xb67dd9e0 in start_thread (arg=0xb22a7b70) at pthread_create.c:297
#5  0xb5bb2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xab8ffb70 (LWP 21551)):
#0  0xb7704424 in __kernel_vsyscall ()
#1  0xb5b6e1e6 in gettimeofday () at ../sysdeps/unix/syscall-template.S:82
#2  0xb75bb626 in bt::Now () at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/util/functions.cpp:171
#3  0xb75d2bfb in net::DownloadThread::update (this=0x9d678b0) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/net/downloadthread.cpp:53
#4  0xb75d37a8 in net::NetworkThread::run (this=0x9d678b0) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/net/networkthread.cpp:48
#5  0xb6890f6f in QThreadPrivate::start (arg=0x9d678b0) at thread/qthread_unix.cpp:248
#6  0xb67dd9e0 in start_thread (arg=0xab8ffb70) at pthread_create.c:297
#7  0xb5bb2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xab0feb70 (LWP 21552)):
#0  0xb7704424 in __kernel_vsyscall ()
#1  0xb67e2125 in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb6890512 in QMutexPrivate::wait (this=0x9d67848, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0xb688b9f2 in QMutex::lock (this=0x8115894) at thread/qmutex.cpp:167
#4  0xb75d0e81 in net::SocketMonitor::lock (this=0x8115890) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/net/socketmonitor.cpp:82
#5  0xb75d1eb3 in net::UploadThread::waitForSocketsReady (this=0x9d67cb8) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/net/uploadthread.cpp:112
#6  0xb75d2130 in net::UploadThread::update (this=0x9d67cb8) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/net/uploadthread.cpp:45
#7  0xb75d37a8 in net::NetworkThread::run (this=0x9d67cb8) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/net/networkthread.cpp:48
#8  0xb6890f6f in QThreadPrivate::start (arg=0x9d67cb8) at thread/qthread_unix.cpp:248
#9  0xb67dd9e0 in start_thread (arg=0xab0feb70) at pthread_create.c:297
#10 0xb5bb2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xaa8fdb70 (LWP 21553)):
#0  0xb7704424 in __kernel_vsyscall ()
#1  0xb67e2125 in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb6891f9f in QWaitConditionPrivate::wait (this=0xb5f88ec, mutex=0xb5f88e8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xb5f88ec, mutex=0xb5f88e8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb75d6eda in net::ReverseResolverThread::run (this=0xb5f88e0) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/net/reverseresolver.cpp:123
#5  0xb6890f6f in QThreadPrivate::start (arg=0xb5f88e0) at thread/qthread_unix.cpp:248
#6  0xb67dd9e0 in start_thread (arg=0xaa8fdb70) at pthread_create.c:297
#7  0xb5bb2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb4a8b710 (LWP 21501)):
[KCrash Handler]
#6  0xb75dd825 in bt::Authenticate::stop (this=0xa991a30) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/peer/authenticate.cpp:220
#7  0xb75f3b8f in ~PeerConnector (this=0xa167b48, __in_chrg=<value optimized out>) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/peer/peerconnector.cpp:42
#8  0xb75e7b14 in bt::PeerManager::stop (this=0xa0c99a8) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/peer/peermanager.cpp:546
#9  0xb761eaa7 in bt::TorrentControl::stop (this=0xa0c8b78, wjob=0x0) at /usr/src/debug/net-libs/libktorrent-1.0.2/libktorrent-1.0.2/src/torrent/torrentcontrol.cpp:486
#10 0xb751da3d in kt::QueueManager::stopSafely (this=0x9e2a4d8, tc=0xa0c8b78, wjob=0x0) at /usr/src/debug/net-p2p/ktorrent-4.0.2/ktorrent-4.0.2/libktcore/torrent/queuemanager.cpp:752
#11 0xb7520737 in kt::QueueManager::orderQueue (this=0x9e2a4d8) at /usr/src/debug/net-p2p/ktorrent-4.0.2/ktorrent-4.0.2/libktcore/torrent/queuemanager.cpp:604
#12 0xb7520e51 in kt::QueueManager::checkStalledTorrents (this=0x9e2a4d8, now=1281404970611, min_stall_time=15)
    at /usr/src/debug/net-p2p/ktorrent-4.0.2/ktorrent-4.0.2/libktcore/torrent/queuemanager.cpp:819
#13 0x0806be24 in kt::Core::update (this=0x9e2a848) at /usr/src/debug/net-p2p/ktorrent-4.0.2/ktorrent-4.0.2/ktorrent/core.cpp:1045
#14 0x08073ff6 in kt::Core::qt_metacall (this=0x9e2a848, _c=QMetaObject::InvokeMetaMethod, _id=177805872, _a=0xbff27c2c)
    at /usr/src/debug/net-p2p/ktorrent-4.0.2/ktorrent-4.0.2_build/ktorrent/core.moc:167
#15 0xb69945fa in QMetaObject::metacall (object=0x9e2a848, cl=169226464, idx=22, argv=0xbff27c2c) at kernel/qmetaobject.cpp:237
#16 0xb69a3235 in QMetaObject::activate (sender=0x9e2a85c, m=0xb6aa45a4, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3287
#17 0xb69f5da8 in QTimer::timeout (this=0x9e2a85c) at .moc/release-shared/moc_qtimer.cpp:134
#18 0xb69ab0be in QTimer::timerEvent (this=0x9e2a85c, e=0xbff28140) at kernel/qtimer.cpp:271
#19 0xb699fc1c in QObject::event (this=0x9e2a85c, e=0x0) at kernel/qobject.cpp:1204
#20 0xb5e9aac4 in QApplicationPrivate::notify_helper (this=0x9d89a98, receiver=0x9e2a85c, e=0xbff28140) at kernel/qapplication.cpp:4302
#21 0xb5ea16ae in QApplication::notify (this=0xbff28490, receiver=0x9e2a85c, e=0xbff28140) at kernel/qapplication.cpp:3706
#22 0x0807a8ec in kt::App::notify (this=0xa1630e0, receiver=0x0, event=0xa991a30) at /usr/src/debug/net-p2p/ktorrent-4.0.2/ktorrent-4.0.2/ktorrent/app.cpp:97
#23 0xb698f2b2 in QCoreApplication::notifyInternal (this=0xbff28490, receiver=0x9e2a85c, event=0xbff28140) at kernel/qcoreapplication.cpp:726
#24 0xb69bea5e in QCoreApplication::sendEvent (this=0x9d8f634) at kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x9d8f634) at kernel/qeventdispatcher_unix.cpp:603
#26 0xb69bb6e8 in timerSourceDispatch (source=0x9d8f668) at kernel/qeventdispatcher_glib.cpp:184
#27 idleTimerSourceDispatch (source=0x9d8f668) at kernel/qeventdispatcher_glib.cpp:231
#28 0xb519507c in g_main_dispatch (context=0x9d8b290) at gmain.c:1960
#29 IA__g_main_context_dispatch (context=0x9d8b290) at gmain.c:2513
#30 0xb5198e88 in g_main_context_iterate (context=0x9d8b290, block=<value optimized out>, dispatch=1, self=0x9d88640) at gmain.c:2591
#31 0xb5199079 in IA__g_main_context_iteration (context=0x9d8b290, may_block=1) at gmain.c:2654
#32 0xb69bb376 in QEventDispatcherGlib::processEvents (this=0x9d66640, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#33 0xb5f57ed6 in QGuiEventDispatcherGlib::processEvents (this=0x9d66640, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb698d88a in QEventLoop::processEvents (this=0xbff28404, flags=) at kernel/qeventloop.cpp:149
#35 0xb698dcea in QEventLoop::exec (this=0xbff28404, flags=...) at kernel/qeventloop.cpp:201
#36 0xb6992f81 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#37 0xb5e9ab68 in QApplication::exec () at kernel/qapplication.cpp:3581
#38 0x08069c61 in main (argc=1, argv=0xbff28884) at /usr/src/debug/net-p2p/ktorrent-4.0.2/ktorrent-4.0.2/ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2010-08-10 20:03:09 UTC

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