Bug 262446

Summary: Crashes every 15 minutes
Product: [Applications] ktorrent Reporter: serialtux
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description serialtux 2011-01-07 19:43:02 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
The only thing I was doing was downloading torrents.  Computer was idle other than that.  It seems to happen after screen is locked from timeout.

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb754eb70 (LWP 21571)):
#0  0x03d67e24 in g_thread_self () from /lib/libglib-2.0.so.0
#1  0x03d3f5c2 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#2  0x03d411ee in ?? () from /lib/libglib-2.0.so.0
#3  0x03d41ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0x0191d6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#5  0x03d6848f in ?? () from /lib/libglib-2.0.so.0
#6  0x00158cc9 in start_thread () from /lib/libpthread.so.0
#7  0x0648769e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb470eb70 (LWP 21573)):
#0  0x00c19416 in __kernel_vsyscall ()
#1  0x0015d4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x06d79ef2 in QMutexPrivate::wait (this=0x8d5b8a8, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x06d755ea in QMutex::lock (this=0x8d5cbe4) at thread/qmutex.cpp:204
#4  0x0094f183 in QMutexLocker (this=0x8d5cbb8) at /usr/include/qt4/QtCore/qmutex.h:102
#5  utp::Connection::handleTimeout (this=0x8d5cbb8) at ../../src/utp/connection.cpp:606
#6  0x0094f3fd in utp::Connection::timerEvent (this=0x8d5cbb8, event=0xb470e010) at ../../src/utp/connection.cpp:680
#7  0x06e8f504 in QObject::event (this=0x8d5cbb8, e=0x23) at kernel/qobject.cpp:1183
#8  0x02e5cfdc in QApplicationPrivate::notify_helper (this=0x830b418, receiver=0x8d5cbb8, e=0xb470e010) at kernel/qapplication.cpp:4396
#9  0x02e6304e in QApplication::notify (this=0xbf8993b0, receiver=0x8d5cbb8, e=0xb470e010) at kernel/qapplication.cpp:3798
#10 0x080783dc in kt::App::notify (this=0x80, receiver=0x23, event=0xfffffe00) at ../../ktorrent/app.cpp:97
#11 0x06e7cb3b in QCoreApplication::notifyInternal (this=0xbf8993b0, receiver=0x8d5cbb8, event=0xb470e010) at kernel/qcoreapplication.cpp:732
#12 0x06eaead6 in sendEvent (this=0x84c1d34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#13 QTimerInfoList::activateTimers (this=0x84c1d34) at kernel/qeventdispatcher_unix.cpp:602
#14 0x06eab8a7 in timerSourceDispatch (source=0x84c1d68) at kernel/qeventdispatcher_glib.cpp:184
#15 idleTimerSourceDispatch (source=0x84c1d68) at kernel/qeventdispatcher_glib.cpp:231
#16 0x03d3d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#17 0x03d41668 in ?? () from /lib/libglib-2.0.so.0
#18 0x03d41848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#19 0x06eab565 in QEventDispatcherGlib::processEvents (this=0x847a1e0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#20 0x06e7b609 in QEventLoop::processEvents (this=0xb470e290, flags=) at kernel/qeventloop.cpp:149
#21 0x06e7ba8a in QEventLoop::exec (this=0xb470e290, flags=...) at kernel/qeventloop.cpp:201
#22 0x06d77b7e in QThread::exec (this=0x8478838) at thread/qthread.cpp:490
#23 0x0094c39e in utp::UTPServerThread::run (this=0x8478838) at ../../src/utp/utpserverthread.cpp:44
#24 0x06d7adf9 in QThreadPrivate::start (arg=0x8478838) at thread/qthread_unix.cpp:266
#25 0x00158cc9 in start_thread () from /lib/libpthread.so.0
#26 0x0648769e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xacdffb70 (LWP 21584)):
#0  0x00c19416 in __kernel_vsyscall ()
#1  0x0015d4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x06d79ef2 in QMutexPrivate::wait (this=0x82e7910, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x06d755ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0x0089f890 in net::SocketMonitor::lock (this=0x8116890) at ../../src/net/socketmonitor.cpp:82
#5  0x008a15c5 in net::DownloadThread::update (this=0x82e7978) at ../../src/net/downloadthread.cpp:51
#6  0x008a2178 in net::NetworkThread::run (this=0x82e7978) at ../../src/net/networkthread.cpp:48
#7  0x06d7adf9 in QThreadPrivate::start (arg=0x82e7978) at thread/qthread_unix.cpp:266
#8  0x00158cc9 in start_thread () from /lib/libpthread.so.0
#9  0x0648769e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xac5feb70 (LWP 21585)):
#0  0x00c19416 in __kernel_vsyscall ()
#1  0x00160169 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0x0015b5cb in _L_lock_748 () from /lib/libpthread.so.0
#3  0x0015b3f1 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x03d3e901 in g_main_context_wakeup () from /lib/libglib-2.0.so.0
#5  0x06eab37d in QEventDispatcherGlib::wakeUp (this=0x847a1e0) at kernel/qeventdispatcher_glib.cpp:571
#6  0x06e7f88c in QCoreApplication::postEvent (receiver=0x8d5cbb8, event=0xadedccb8, priority=0) at kernel/qcoreapplication.cpp:1195
#7  0x06e7faac in QCoreApplication::postEvent (receiver=0x8d5cbb8, event=0xadedccb8) at kernel/qcoreapplication.cpp:1094
#8  0x06e8f2e6 in queued_activate (sender=<value optimized out>, signal=<value optimized out>, c=0x8d58de8, argv=0xac5fdeac, semaphore=0x0) at kernel/qobject.cpp:3158
#9  0x06e955e6 in QMetaObject::activate (sender=0x8d5cbb8, m=0x9920c0, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3251
#10 0x00883aa7 in utp::Connection::doDelayedStartTimer (this=0x8d5cbb8) at moc_connection.cpp:90
#11 0x0094c5c8 in utp::Connection::startTimer (this=0x8d5cbb8) at ../../src/utp/connection.cpp:667
#12 0x0094ec3c in utp::Connection::close (this=0x8d5cbb8) at ../../src/utp/connection.cpp:586
#13 0x0095135c in utp::UTPSocket::close (this=0x8d55e50) at ../../src/utp/utpsocket.cpp:59
#14 0x00951094 in utp::UTPSocket::send (this=0x8d55e50, buf=0x8d9e071 "", len=88) at ../../src/utp/utpsocket.cpp:178
#15 0x0089bc02 in net::BufferedSocket::sendOutputBuffer (this=0x8d58640, max=88, now=1294425344281) at ../../src/net/bufferedsocket.cpp:157
#16 0x0089bd4d in net::BufferedSocket::writeBuffered (this=0x8d58640, max=88, now=1294425344281) at ../../src/net/bufferedsocket.cpp:184
#17 0x008a34c3 in net::SocketGroup::processLimited (this=0x82e8038, up=true, now=1294425344281, allowance=@0xac5fe1bc) at ../../src/net/socketgroup.cpp:77
#18 0x008a36bb in net::SocketGroup::process (this=0x82e8038, up=false, now=549895022828, global_allowance=@0xac5fe1bc) at ../../src/net/socketgroup.cpp:188
#19 0x008a37ce in net::SocketGroup::upload (this=0x82e8038, global_allowance=@0xac5fe1bc, now=1294425344281) at ../../src/net/socketgroup.cpp:115
#20 0x008a0772 in net::UploadThread::doGroup (this=0x82e7d80, g=0x82e8038, allowance=@0xac5fe1bc, now=1292785156096) at ../../src/net/uploadthread.cpp:106
#21 0x008a1d20 in net::NetworkThread::doGroupsLimited (this=0x82e7d80, num_ready=260, now=1294425344281, allowance=@0xac5fe25c) at ../../src/net/networkthread.cpp:111
#22 0x008a20b5 in net::NetworkThread::doGroups (this=0x82e7d80, num_ready=260, now=1294425344281, limit=10240) at ../../src/net/networkthread.cpp:190
#23 0x008a0d3a in net::UploadThread::update (this=0x82e7d80) at ../../src/net/uploadthread.cpp:81
#24 0x008a2178 in net::NetworkThread::run (this=0x82e7d80) at ../../src/net/networkthread.cpp:48
#25 0x06d7adf9 in QThreadPrivate::start (arg=0x82e7d80) at thread/qthread_unix.cpp:266
#26 0x00158cc9 in start_thread () from /lib/libpthread.so.0
#27 0x0648769e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xabdfdb70 (LWP 21586)):
#0  0x00c19416 in __kernel_vsyscall ()
#1  0x06478df6 in poll () from /lib/libc.so.6
#2  0x00c0c759 in ?? () from /lib/libresolv.so.2
#3  0x00c0a8d3 in __libc_res_nquery () from /lib/libresolv.so.2
#4  0x05b77f73 in _nss_dns_gethostbyaddr2_r () from /lib/libnss_dns.so.2
#5  0x05b780ca in _nss_dns_gethostbyaddr_r () from /lib/libnss_dns.so.2
#6  0x0649e9cf in gethostbyaddr_r () from /lib/libc.so.6
#7  0x064a3f2b in getnameinfo () from /lib/libc.so.6
#8  0x008a555b in net::ReverseResolver::resolve (this=0x9a364a8, addr=...) at ../../src/net/reverseresolver.cpp:64
#9  0x008a55f3 in net::ReverseResolver::run (this=0x9a364a8) at ../../src/net/reverseresolver.cpp:73
#10 0x008a5815 in net::ReverseResolverThread::run (this=0x8903670) at ../../src/net/reverseresolver.cpp:118
#11 0x06d7adf9 in QThreadPrivate::start (arg=0x8903670) at thread/qthread_unix.cpp:266
#12 0x00158cc9 in start_thread () from /lib/libpthread.so.0
#13 0x0648769e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb778b710 (LWP 21570)):
[KCrash Handler]
#7  0x0642cfb6 in ?? () from /lib/libc.so.6
#8  0xbf89866c in ?? ()
#9  0x07c2b167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x008878ff in bt::SHA1HashGen::update (this=0x8efcfe0, data=0xb4b65000 "]Z\210\264f\024\av\227\370\276\270u", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x008c931d in bt::ChunkDownload::updateHash (this=0x8efcf70) at ../../src/download/chunkdownload.cpp:555
#12 0x008cb615 in bt::ChunkDownload::piece (this=0x8efcf70, p=..., ok=@0xbf8987bf) at ../../src/download/chunkdownload.cpp:127
#13 0x008d2219 in bt::Downloader::pieceReceived (this=0x87487c8, p=...) at ../../src/download/downloader.cpp:134
#14 0x008b5bef in bt::PeerManager::pieceReceived (this=0x8721d70, p=...) at ../../src/peer/peermanager.cpp:674
#15 0x008b39da in bt::Peer::packetReady (this=0xa65248a8, packet=0xa4b7c0e0 "\a", len=16393) at ../../src/peer/peer.cpp:283
#16 0x008bf489 in bt::PacketReader::update (this=0xa7400748) at ../../src/peer/packetreader.cpp:141
#17 0x008b2609 in bt::Peer::update (this=0xa65248a8) at ../../src/peer/peer.cpp:538
#18 0x008b837e in bt::PeerManager::update (this=0x8721d70) at ../../src/peer/peermanager.cpp:144
#19 0x008eed2d in bt::TorrentControl::update (this=0x8718d68) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x080690f3 in kt::Core::update (this=0x846ffe0) at ../../ktorrent/core.cpp:1030
#21 0x080716cd in kt::Core::qt_metacall (this=0x846ffe0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf898b5c) at ./core.moc:167
#22 0x06e828ca in QMetaObject::metacall (object=0x846ffe0, cl=3072, idx=22, argv=0xbf898b5c) at kernel/qmetaobject.cpp:237
#23 0x06e956ad in QMetaObject::activate (sender=0x846fff4, m=0x6faf5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#24 0x06ee71e7 in QTimer::timeout (this=0x846fff4) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x06e9b1ce in QTimer::timerEvent (this=0x846fff4, e=0xbf899060) at kernel/qtimer.cpp:271
#26 0x06e8f504 in QObject::event (this=0x846fff4, e=0xbdac528) at kernel/qobject.cpp:1183
#27 0x02e5cfdc in QApplicationPrivate::notify_helper (this=0x830b418, receiver=0x846fff4, e=0xbf899060) at kernel/qapplication.cpp:4396
#28 0x02e6304e in QApplication::notify (this=0xbf8993b0, receiver=0x846fff4, e=0xbf899060) at kernel/qapplication.cpp:3798
#29 0x080783dc in kt::App::notify (this=0xc00, receiver=0xbdac528, event=0x0) at ../../ktorrent/app.cpp:97
#30 0x06e7cb3b in QCoreApplication::notifyInternal (this=0xbf8993b0, receiver=0x846fff4, event=0xbf899060) at kernel/qcoreapplication.cpp:732
#31 0x06eaead6 in sendEvent (this=0x830dd54) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x830dd54) at kernel/qeventdispatcher_unix.cpp:602
#33 0x06eab8a7 in timerSourceDispatch (source=0x830dd88) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x830dd88) at kernel/qeventdispatcher_glib.cpp:231
#35 0x03d3d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x03d41668 in ?? () from /lib/libglib-2.0.so.0
#37 0x03d41848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x06eab565 in QEventDispatcherGlib::processEvents (this=0x82e66d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x02f1ebe5 in QGuiEventDispatcherGlib::processEvents (this=0x82e66d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x06e7b609 in QEventLoop::processEvents (this=0xbf899324, flags=) at kernel/qeventloop.cpp:149
#41 0x06e7ba8a in QEventLoop::exec (this=0xbf899324, flags=...) at kernel/qeventloop.cpp:201
#42 0x06e8000f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x02e5be07 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x08066e91 in main (argc=5, argv=0xbf8997b4) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 262378, bug 262037, bug 261102, bug 261009, bug 260359.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-01-07 20:53:38 UTC

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