Application that crashed: ktorrent Version of the application: 3.2.4 KDE Version: 4.3.4 (KDE 4.3.4) Qt Version: 4.5.2 Operating System: Linux 2.6.31-17-generic x86_64 Distribution: Ubuntu 9.10 What I was doing when the application crashed: Ktorrent continiously crashes without warning at random intervals -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault The current source language is "auto; currently c". [Current thread is 1 (Thread 0x7f00ce1dd750 (LWP 9357))] Thread 3 (Thread 0x7f00bc33f910 (LWP 9364)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007f00cbf51c93 in QMutexPrivate::wait (this=0x5024380, timeout=-1) at thread/qmutex_unix.cpp:80 #2 0x00007f00cbf4d865 in QMutex::lock (this=0x38f1c60) at thread/qmutex.cpp:207 #3 0x00007f00cdd323ac in bt::PacketReader::onDataReady (this=0x38f1c40, buf=0x7f00cdfdcaa0 "\377\377\372J)\330\036\064F\266E\231\267\316\375/\024\b\260\037$\340\243\311-\252\220w \230\301I\307\226\231\067p8\001d\031\f \232EBj%\262\373!c\344\343@\307\200T\233\f+#1Y\204\327D\300*mu\377\377\375!\023\305\204D\t\271(\230\210r<psj \027\204\255`y\257\211W", size=68) at ../../libbtcore/peer/packetreader.cpp:223 #4 0x00007f00cdd18455 in net::BufferedSocket::readBuffered (this=0x4785b10, max_bytes_to_read=68, now=1264057219968) at ../../libbtcore/net/bufferedsocket.cpp:110 #5 0x00007f00cdd1dcd5 in net::SocketGroup::processLimited (this=0x9cbdc0, up=<value optimized out>, now=<value optimized out>, allowance=@0x7f00bc33ef8c) at ../../libbtcore/net/socketgroup.cpp:79 #6 0x00007f00cdd1de0c in net::SocketGroup::process (this=0x50243cc, up=128, now=1, global_allowance=@0x7f00bc33ef8c) at ../../libbtcore/net/socketgroup.cpp:188 #7 0x00007f00cdd1c857 in net::NetworkThread::doGroupsLimited (this=0x9cb530, num_ready=<value optimized out>, now=<value optimized out>, allowance=@0x7f00bc33efec) at ../../libbtcore/net/networkthread.cpp:111 #8 0x00007f00cdd1cc21 in net::NetworkThread::doGroups (this=0x9cb530, num_ready=29, now=1264057219968, limit=<value optimized out>) at ../../libbtcore/net/networkthread.cpp:190 #9 0x00007f00cdd1c4d2 in net::DownloadThread::update (this=0x9cb530) at ../../libbtcore/net/downloadthread.cpp:102 #10 0x00007f00cdd1cc89 in net::NetworkThread::run (this=0x9cb530) at ../../libbtcore/net/networkthread.cpp:48 #11 0x00007f00cbf52445 in QThreadPrivate::start (arg=0x9cb530) at thread/qthread_unix.cpp:188 #12 0x00007f00c7585a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300 #13 0x00007f00ca90580d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f00b40be910 (LWP 9365)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007f00cbf51c93 in QMutexPrivate::wait (this=0x9cb4b0, timeout=-1) at thread/qmutex_unix.cpp:80 #2 0x00007f00cbf4d845 in QMutex::lock (this=0x7f00cdfe0ac8) at thread/qmutex.cpp:169 #3 0x00007f00cdd1ba5a in net::UploadThread::update (this=0x9cbe40) at ../../libbtcore/net/uploadthread.cpp:44 #4 0x00007f00cdd1cc89 in net::NetworkThread::run (this=0x9cbe40) at ../../libbtcore/net/networkthread.cpp:48 #5 0x00007f00cbf52445 in QThreadPrivate::start (arg=0x9cbe40) at thread/qthread_unix.cpp:188 #6 0x00007f00c7585a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300 #7 0x00007f00ca90580d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () The current source language is "auto; currently asm". Thread 1 (Thread 0x7f00ce1dd750 (LWP 9357)): [KCrash Handler] #5 memcpy () at ../sysdeps/x86_64/memcpy.S:267 #6 0x00007f00ca325276 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2 #7 0x00007f00ca33c9d4 in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2 #8 0x00007f00cdd392d2 in bt::ChunkDownload::updateHash (this=0x4c99290) at ../../libbtcore/download/chunkdownload.cpp:562 #9 0x00007f00cdd3a055 in bt::ChunkDownload::piece (this=0x4c99290, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:133 #10 0x00007f00cdd408be in bt::Downloader::pieceReceived (this=0x3351f90, p=...) at ../../libbtcore/download/downloader.cpp:133 #11 0x00007f00cdd29091 in bt::Peer::packetReady (this=0x5769db0, packet=0x46ed760 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:269 #12 0x00007f00cdd31f95 in bt::PacketReader::update (this=0x38f1c40) at ../../libbtcore/peer/packetreader.cpp:131 #13 0x00007f00cdd28dd5 in bt::Peer::update (this=0x5769db0) at ../../libbtcore/peer/peer.cpp:474 #14 0x00007f00cdd2c7c0 in bt::PeerManager::update (this=0x3353090) at ../../libbtcore/peer/peermanager.cpp:117 #15 0x00007f00cdd5d4cc in bt::TorrentControl::update (this=0x331d4f0) at ../../libbtcore/torrent/torrentcontrol.cpp:178 #16 0x000000000042c1c2 in kt::Core::update (this=0xc424a0) at ../../ktorrent/core.cpp:877 #17 0x0000000000431d2c in kt::Core::qt_metacall (this=0xc424a0, _c=QMetaObject::InvokeMetaMethod, _id=217, _a=0x7ffffd76f960) at ./core.moc:148 #18 0x00007f00cc04dddc in QMetaObject::activate (sender=0xc424c8, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x5ac) at kernel/qobject.cpp:3113 #19 0x00007f00cc047d83 in QObject::event (this=0xc424c8, e=0x7f00c402e000) at kernel/qobject.cpp:1075 #20 0x00007f00cb4e0efc in QApplicationPrivate::notify_helper (this=0xa03b20, receiver=0xc424c8, e=0x7ffffd76ff60) at kernel/qapplication.cpp:4056 #21 0x00007f00cb4e81ce in QApplication::notify (this=0x7ffffd770290, receiver=0xc424c8, e=0x7ffffd76ff60) at kernel/qapplication.cpp:4021 #22 0x00007f00ccf0ee56 in KApplication::notify (this=0x7ffffd770290, receiver=0xc424c8, event=0x7ffffd76ff60) at ../../kdeui/kernel/kapplication.cpp:302 #23 0x00007f00cc038c2c in QCoreApplication::notifyInternal (this=0x7ffffd770290, receiver=0xc424c8, event=0x7ffffd76ff60) at kernel/qcoreapplication.cpp:610 #24 0x00007f00cc063862 in QCoreApplication::sendEvent (this=0x9f8f00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #25 QTimerInfoList::activateTimers (this=0x9f8f00) at kernel/qeventdispatcher_unix.cpp:572 #26 0x00007f00cc06125d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165 #27 0x00007f00c68b0bce in g_main_dispatch (context=0x9f8120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960 #28 IA__g_main_context_dispatch (context=0x9f8120) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513 #29 0x00007f00c68b4598 in g_main_context_iterate (context=0x9f8120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591 #30 0x00007f00c68b46c0 in IA__g_main_context_iteration (context=0x9f8120, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654 #31 0x00007f00cc0611a6 in QEventDispatcherGlib::processEvents (this=0x9c8530, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #32 0x00007f00cb5754be in QGuiEventDispatcherGlib::processEvents (this=0x498b0c2, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #33 0x00007f00cc037532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #34 0x00007f00cc037904 in QEventLoop::exec (this=0x7ffffd770200, flags=) at kernel/qeventloop.cpp:201 #35 0x00007f00cc039ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #36 0x0000000000424ef2 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:171 The current source language is "auto; currently c". Reported using DrKonqi
This is fixed in KTorrent 3.3. Regards *** This bug has been marked as a duplicate of bug 186621 ***