Bug 207596

Summary: ktorrent, kde4, crash, background, download
Product: [Applications] ktorrent Reporter: HelixiR <didekridek>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description HelixiR 2009-09-16 17:57:00 UTC
Application that crashed: ktorrent
Version of the application: 3.2.3
KDE Version: 4.3.1 (KDE 4.3.1) "release 163"
Qt Version: 4.5.2
Operating System: Linux 2.6.31-rc9-7-default i686

What I was doing when the application crashed:
Background download one torrent, and ktorrent crash.
KDE 4.3.1 (KDE 4.3.1) "release 163"
Opensuse 11.2
Qt version 4.5.2

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

Thread 3 (Thread 0xb2495b70 (LWP 3587)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6604bae in poll () from /lib/libc.so.6
#2  0xb7f1feeb in net::DownloadThread::waitForSocketReady (this=0x810dc80, timeout=50) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/downloadthread.cpp:188
#3  0xb7f1ffd8 in net::DownloadThread::update (this=0x810dc80) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/downloadthread.cpp:53
#4  0xb7f20a88 in net::NetworkThread::run (this=0x810dc80) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/networkthread.cpp:48
#5  0xb71d8603 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb71756e5 in start_thread () from /lib/libpthread.so.0
#7  0xb7175600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xb1c94b70 (LWP 3588)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7179d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb71d9730 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb7f1f704 in net::UploadThread::update (this=0x810df30) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/uploadthread.cpp:73
#4  0xb7f20a88 in net::NetworkThread::run (this=0x810df30) at /usr/src/debug/ktorrent-3.2.3/libbtcore/net/networkthread.cpp:48
#5  0xb71d8603 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb71756e5 in start_thread () from /lib/libpthread.so.0
#7  0xb7175600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb5820700 (LWP 3581)):
[KCrash Handler]
#6  0xb65b48d1 in memcpy () from /lib/libc.so.6
#7  0xb6435658 in QCA::MemoryRegion::Private::Private(QByteArray const&, bool) () from /usr/lib/libqca.so.2
#8  0xb6432d03 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0xb644b1c2 in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#10 0xb7f0a881 in bt::SHA1HashGen::update (this=0x868edbc, data=0xb3651496 "\032,\032\257\257\250\207\061\024\026\"'\236", len=16384)
    at /usr/src/debug/ktorrent-3.2.3/libbtcore/util/sha1hashgen.cpp:238
#11 0xb7f412b7 in bt::ChunkDownload::updateHash (this=0x868ed38) at /usr/src/debug/ktorrent-3.2.3/libbtcore/download/chunkdownload.cpp:562
#12 0xb7f4215d in bt::ChunkDownload::piece (this=0x868ed38, p=..., ok=@0xbf8a33ef) at /usr/src/debug/ktorrent-3.2.3/libbtcore/download/chunkdownload.cpp:133
#13 0xb7f48ec8 in bt::Downloader::pieceReceived (this=0x8314658, p=...) at /usr/src/debug/ktorrent-3.2.3/libbtcore/download/downloader.cpp:133
#14 0xb7f30a8e in bt::PeerManager::pieceReceived (this=0x81ddc38, p=...) at /usr/src/debug/ktorrent-3.2.3/libbtcore/peer/peermanager.cpp:669
#15 0xb7f2f3ea in bt::Peer::packetReady (this=0x87c3d48, packet=0x8617198 "\a", len=16393) at /usr/src/debug/ktorrent-3.2.3/libbtcore/peer/peer.cpp:269
#16 0xb7f390d6 in bt::PacketReader::update (this=0x85b59c0) at /usr/src/debug/ktorrent-3.2.3/libbtcore/peer/packetreader.cpp:131
#17 0xb7f2f109 in bt::Peer::update (this=0x87c3d48) at /usr/src/debug/ktorrent-3.2.3/libbtcore/peer/peer.cpp:474
#18 0xb7f32f86 in bt::PeerManager::update (this=0x81ddc38) at /usr/src/debug/ktorrent-3.2.3/libbtcore/peer/peermanager.cpp:117
#19 0xb7f694d6 in bt::TorrentControl::update (this=0x81d38e8) at /usr/src/debug/ktorrent-3.2.3/libbtcore/torrent/torrentcontrol.cpp:178
#20 0x0806d6aa in kt::Core::update (this=0x8216718) at /usr/src/debug/ktorrent-3.2.3/ktorrent/core.cpp:877
#21 0x080734e6 in kt::Core::qt_metacall (this=0x8216718, _c=InvokeMetaMethod, _id=16384, _a=0xbf8a373c) at /usr/src/debug/ktorrent-3.2.3/build/ktorrent/core.moc:148
#22 0xb72e6324 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#23 0xb72e7045 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#24 0xb7322005 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#25 0xb72ebc56 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#26 0xb72dffdb in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#27 0xb68fa94c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0xb690239e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb7937301 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb72cfe3e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0xb72fec46 in ?? () from /usr/lib/libQtCore.so.4
#32 0xb72fbb5e in ?? () from /usr/lib/libQtCore.so.4
#33 0xb5bdf442 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb5be2d18 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb5be2e3e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb72fbaa8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb699c23a in ?? () from /usr/lib/libQtGui.so.4
#38 0xb72ce45d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0xb72ce8a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0xb72d0d40 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#41 0xb68fa7c4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#42 0x08065cf8 in main (argc=5, argv=0xbf8a42b4) at /usr/src/debug/ktorrent-3.2.3/ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-16 19:12:48 UTC
Thanks

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