Bug 240735

Summary: Ktorrent is crashing after some time of usage.Sometimes it takes few minutes, sometimes 4-7 hours.
Product: [Applications] ktorrent Reporter: obundra
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description obundra 2010-06-04 16:22:30 UTC
Application that crashed: ktorrent
Version of the application: 3.3
KDE Version: 4.3.5 (KDE 4.3.5) "release 0"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-0.2-default i686

What I was doing when the application crashed:
Sometimes it crashes after few minutes, sometimes after many hours(about 4-6).

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

Thread 5 (Thread 0xb323bb70 (LWP 23740)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5dc85b1 in select () from /lib/libc.so.6
#2  0xb777cfcc in dht::RPCServerThread::run() () from /usr/lib/libbtcore.so.12
#3  0xb6997623 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb69336e5 in start_thread () from /lib/libpthread.so.0
#5  0xb6933600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xb226db70 (LWP 23755)):
#0  0xb7718efe in net::DownloadThread::update() () from /usr/lib/libbtcore.so.12
#1  0xb7719938 in net::NetworkThread::run() () from /usr/lib/libbtcore.so.12
#2  0xb6997623 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb69336e5 in start_thread () from /lib/libpthread.so.0
#4  0xb6933600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xb126bb70 (LWP 23756)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6937d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6998750 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb77185c4 in net::UploadThread::update() () from /usr/lib/libbtcore.so.12
#4  0xb7719938 in net::NetworkThread::run() () from /usr/lib/libbtcore.so.12
#5  0xb6997623 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb69336e5 in start_thread () from /lib/libpthread.so.0
#7  0xb6933600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xb3a3fb70 (LWP 23757)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6937d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6998750 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb771cec8 in net::ReverseResolverThread::run() () from /usr/lib/libbtcore.so.12
#4  0xb6997623 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb69336e5 in start_thread () from /lib/libpthread.so.0
#6  0xb6933600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb4ff6700 (LWP 23738)):
[KCrash Handler]
#6  0xb5d74a81 in memcpy () from /lib/libc.so.6
#7  0xb6999c55 in QByteArray::QByteArray(char const*, int) () from /usr/lib/libQtCore.so.4
#8  0xb770122a in bt::SHA1HashGen::update(unsigned char const*, unsigned int) () from /usr/lib/libbtcore.so.12
#9  0xb773b1e7 in bt::ChunkDownload::updateHash() () from /usr/lib/libbtcore.so.12
#10 0xb773c115 in bt::ChunkDownload::piece(bt::Piece const&, bool&) () from /usr/lib/libbtcore.so.12
#11 0xb7743348 in bt::Downloader::pieceReceived(bt::Piece const&) () from /usr/lib/libbtcore.so.12
#12 0xb772a7ce in bt::PeerManager::pieceReceived(bt::Piece const&) () from /usr/lib/libbtcore.so.12
#13 0xb7728e7a in bt::Peer::packetReady(unsigned char const*, unsigned int) () from /usr/lib/libbtcore.so.12
#14 0xb7732f69 in bt::PacketReader::update() () from /usr/lib/libbtcore.so.12
#15 0xb7728ba9 in bt::Peer::update() () from /usr/lib/libbtcore.so.12
#16 0xb772cd06 in bt::PeerManager::update() () from /usr/lib/libbtcore.so.12
#17 0xb775f798 in bt::TorrentControl::update() () from /usr/lib/libbtcore.so.12
#18 0x08072286 in kt::Core::update() ()
#19 0x080783c8 in kt::Core::qt_metacall(QMetaObject::Call, int, void**) ()
#20 0xb6aa4864 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#21 0xb6aa5585 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb6ae0715 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#23 0xb6aaa196 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb6a9e51b in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb60b98fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb60c134e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb70fd521 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb6a8e32e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#29 0xb6abd356 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb6aba325 in ?? () from /usr/lib/libQtCore.so.4
#31 0xb53b64c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb53b9d98 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb53b9ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb6aba011 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb615b29a in ?? () from /usr/lib/libQtGui.so.4
#36 0xb6a8c98d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb6a8cdd9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb6a8f270 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb60b9774 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0x08067a01 in main ()

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-04 17:09:34 UTC
Please install the debug packages for ktorrent and libktorrent and provide a new backtrace
Comment 2 Joris Guisson 2010-06-04 18:59:30 UTC

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