Application: ktorrent (4.0.0) KDE Platform Version: 4.4.3 (KDE 4.4.3) Qt Version: 4.6.2 Operating System: Linux 2.6.33.4-95.fc13.i686 i686 -- Information about the crash: After some time of normal seeding KTorrent suddenly crashed when I didn't do any actions in KTorrent. -- Backtrace: Application: KTorrent (ktorrent), signal: Aborted [Current thread is 1 (Thread 0xb7763780 (LWP 17418))] Thread 4 (Thread 0xb54ffb70 (LWP 17420)): #0 0x007c8416 in __kernel_vsyscall () #1 0x00c63251 in select () from /lib/libc.so.6 #2 0x00e4bd03 in dht::RPCServerThread::run (this=0x82597c0) at /usr/src/debug/libktorrent-1.0.0/src/dht/rpcserver.cpp:107 #3 0x05d4cccf in ?? () from /usr/lib/libQtCore.so.4 #4 0x00755919 in start_thread () from /lib/libpthread.so.0 #5 0x00c6ae5e in clone () from /lib/libc.so.6 Thread 3 (Thread 0xafefab70 (LWP 17450)): #0 0x007c8416 in __kernel_vsyscall () #1 0x0075923c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x05d4c342 in ?? () from /usr/lib/libQtCore.so.4 #3 0x05d4899a in QMutex::lock() () from /usr/lib/libQtCore.so.4 #4 0x00dee7b1 in net::SocketMonitor::lock (this=0x8107a10) at /usr/src/debug/libktorrent-1.0.0/src/net/socketmonitor.cpp:82 #5 0x00df0076 in net::DownloadThread::update (this=0x81bd840) at /usr/src/debug/libktorrent-1.0.0/src/net/downloadthread.cpp:51 #6 0x00df0a18 in net::NetworkThread::run (this=0x81bd840) at /usr/src/debug/libktorrent-1.0.0/src/net/networkthread.cpp:48 #7 0x05d4cccf in ?? () from /usr/lib/libQtCore.so.4 #8 0x00755919 in start_thread () from /lib/libpthread.so.0 #9 0x00c6ae5e in clone () from /lib/libc.so.6 Thread 2 (Thread 0xaf4f9b70 (LWP 17451)): [KCrash Handler] #6 0x007c8416 in __kernel_vsyscall () #7 0x00bb7d71 in raise () from /lib/libc.so.6 #8 0x00bb964a in abort () from /lib/libc.so.6 #9 0x00bf5d9d in __libc_message () from /lib/libc.so.6 #10 0x00bfc1e1 in malloc_printerr () from /lib/libc.so.6 #11 0x00875d52 in operator delete(void*) () from /usr/lib/libstdc++.so.6 #12 0x00e0cd4b in bt::Packet::~Packet (this=0x8e771a0, __in_chrg=<value optimized out>) at /usr/src/debug/libktorrent-1.0.0/src/download/packet.cpp:99 #13 0x00e08541 in bt::PacketWriter::onReadyToWrite (this=0x8ee53c8, data= 0xa03c048 "\251\322\363\245o\305J\367!\231\177\261_J\226\233H\020\364\b\b\254\"4^~\177\250\231\025\211Im\346\272\231m\352\371\200g\307\257?\334\023\375\353\200\205\331\004\034\310o\350 \267q}\\\241\330]\235L\204\372\203\026\250(\240\021\264H\220!2\343,\245\260\344\344\326\253\274Gtx\271?*I\225\313\352\215\330\n\261n\223\071\300\352\232\071\026:\304\223\303\257\351\310Qv\306\341\037\031\234\214_ 9\030\060\300H\356K\242\363\a", max_to_write=16393) at /usr/src/debug/libktorrent-1.0.0/src/peer/packetwriter.cpp:260 #14 0x00df5abd in mse::StreamSocket::onReadyToWrite (this=0x8d93198, data= 0xa03c048 "\251\322\363\245o\305J\367!\231\177\261_J\226\233H\020\364\b\b\254\"4^~\177\250\231\025\211Im\346\272\231m\352\371\200g\307\257?\334\023\375\353\200\205\331\004\034\310o\350 \267q}\\\241\330]\235L\204\372\203\026\250(\240\021\264H\220!2\343,\245\260\344\344\326\253\274Gtx\271?*I\225\313\352\215\330\n\261n\223\071\300\352\232\071\026:\304\223\303\257\351\310Qv\306\341\037\031\234\214_ 9\030\060\300H\356K\242\363\a", max_to_write=16393) at /usr/src/debug/libktorrent-1.0.0/src/mse/streamsocket.cpp:299 #15 0x00deb7d9 in net::BufferedSocket::writeBuffered (this=0x8dd0650, max=0, now=1274795271792) at /usr/src/debug/libktorrent-1.0.0/src/net/bufferedsocket.cpp:196 #16 0x00df182e in net::SocketGroup::processUnlimited (this=0x81bdef8, up=true, now=1274795271792) at /usr/src/debug/libktorrent-1.0.0/src/net/socketgroup.cpp:51 #17 0x00df1ad5 in net::SocketGroup::process (this=0x81bdef8, up=<value optimized out>, now=1274795271792, global_allowance=@0xaf4f91ec) at /usr/src/debug/libktorrent-1.0.0/src/net/socketgroup.cpp:192 #18 0x00df1c7e in net::SocketGroup::upload (this=0x81bdef8, global_allowance=@0xaf4f91ec, now=1274795271792) at /usr/src/debug/libktorrent-1.0.0/src/net/socketgroup.cpp:115 #19 0x00def413 in net::UploadThread::doGroup (this=0x81bdc48, g=0x81bdef8, allowance=@0xaf4f91ec, now=1274795271792) at /usr/src/debug/libktorrent-1.0.0/src/net/uploadthread.cpp:106 #20 0x00df079d in net::NetworkThread::doGroups (this=0x81bdc48, num_ready=2, now=1274795271792, limit=0) at /usr/src/debug/libktorrent-1.0.0/src/net/networkthread.cpp:155 #21 0x00defa2a in net::UploadThread::update (this=0x81bdc48) at /usr/src/debug/libktorrent-1.0.0/src/net/uploadthread.cpp:81 #22 0x00df0a18 in net::NetworkThread::run (this=0x81bdc48) at /usr/src/debug/libktorrent-1.0.0/src/net/networkthread.cpp:48 #23 0x05d4cccf in ?? () from /usr/lib/libQtCore.so.4 #24 0x00755919 in start_thread () from /lib/libpthread.so.0 #25 0x00c6ae5e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb7763780 (LWP 17418)): #0 0x007c8416 in __kernel_vsyscall () #1 0x0075923c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x05d4c342 in ?? () from /usr/lib/libQtCore.so.4 #3 0x05d4899a in QMutex::lock() () from /usr/lib/libQtCore.so.4 #4 0x00deef58 in relock (this=0x8107a10, sock=0x9d587b0) at /usr/include/QtCore/qmutex.h:120 #5 QMutexLocker (this=0x8107a10, sock=0x9d587b0) at /usr/include/QtCore/qmutex.h:102 #6 net::SocketMonitor::add (this=0x8107a10, sock=0x9d587b0) at /usr/src/debug/libktorrent-1.0.0/src/net/socketmonitor.cpp:108 #7 0x00df6115 in mse::StreamSocket::startMonitoring (this=0x8962590, rdr=0x8272440, wrt=0x90b6cd8) at /usr/src/debug/libktorrent-1.0.0/src/mse/streamsocket.cpp:99 #8 0x00dfecc7 in bt::Peer::Peer (this=0x90dc9d8, sock=0x8962590, peer_id=..., num_chunks=12502, chunk_size=262144, support=1, local=false, pman=0x878ccb0) at /usr/src/debug/libktorrent-1.0.0/src/peer/peer.cpp:106 #9 0x00e01373 in bt::PeerManager::createPeer (this=0x878ccb0, sock=0x8962590, peer_id=..., support=1, local=<value optimized out>) at /usr/src/debug/libktorrent-1.0.0/src/peer/peermanager.cpp:343 #10 0x00e015b1 in bt::PeerManager::newConnection (this=0x878ccb0, sock=0x8962590, peer_id=..., support=1) at /usr/src/debug/libktorrent-1.0.0/src/peer/peermanager.cpp:318 #11 0x00dfa0d2 in bt::ServerAuthenticate::handshakeReceived (this=0x99968f0, full=true) at /usr/src/debug/libktorrent-1.0.0/src/peer/serverauthenticate.cpp:112 #12 0x00df8b33 in bt::AuthenticateBase::onReadyRead (this=0x99968f0) at /usr/src/debug/libktorrent-1.0.0/src/peer/authenticatebase.cpp:136 #13 0x00df8788 in mse::EncryptedServerAuthenticate::onReadyRead (this=0x99968f0) at /usr/src/debug/libktorrent-1.0.0/src/mse/encryptedserverauthenticate.cpp:347 #14 0x00dfa4ad in bt::AuthenticationMonitor::handleData (this=0x8107760) at /usr/src/debug/libktorrent-1.0.0/src/peer/authenticationmonitor.cpp:127 #15 0x00dfa5bb in bt::AuthenticationMonitor::update (this=0x8107760) at /usr/src/debug/libktorrent-1.0.0/src/peer/authenticationmonitor.cpp:102 #16 0x08068c1d in kt::Core::update (this=0x824fce8) at /usr/src/debug/ktorrent-4.0.0/ktorrent/core.cpp:1011 #17 0x08070ced in kt::Core::qt_metacall (this=0x824fce8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfba801c) at /usr/src/debug/ktorrent-4.0.0/i686-redhat-linux-gnu/ktorrent/core.moc:167 #18 0x05e47bfb in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #19 0x05e56a1f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #20 0x05e9e828 in QTimer::timeout() () from /usr/lib/libQtCore.so.4 #21 0x05e5c8ee in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4 #22 0x05e52ec4 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #23 0x06afe27c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #24 0x06b04cd6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #25 0x010a1d9b in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #26 0x05e43223 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #27 0x05e6e14e in ?? () from /usr/lib/libQtCore.so.4 #28 0x05e6b6d8 in ?? () from /usr/lib/libQtCore.so.4 #29 0x0147d525 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #30 0x01481268 in ?? () from /lib/libglib-2.0.so.0 #31 0x01481449 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #32 0x05e6b396 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #33 0x06bac9f6 in ?? () from /usr/lib/libQtGui.so.4 #34 0x05e418fa in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #35 0x05e41c3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #36 0x05e44307 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #37 0x06afe328 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #38 0x08066d01 in main (argc=) at /usr/src/debug/ktorrent-4.0.0/ktorrent/main.cpp:173 Reported using DrKonqi
Has this happened more times ?
(In reply to comment #1) > Has this happened more times ? Yes. I see this crash at first in 4.0 beta2: http://nucleo.fedorapeople.org/ktorrent-4b2.kcrash
That is a different crash which is fixed in 4.0
It's not really clear what could be causing this.
(In reply to comment #3) > That is a different crash which is fixed in 4.0 That crash in 4.0 beta2 was in the similar situation - it crashed when seeding and I didn't do any other in KTorrent.
*** Bug 241077 has been marked as a duplicate of this bug. ***
Same here, random crashes during seeding, without any user interaction it just crashes.
*** Bug 242449 has been marked as a duplicate of this bug. ***
Can you upgrade to 4.0.2 and libktorrent 1.0.2 and see if this still happens ?
No crashes since update to KTorrent 4.0.1/libktorrent 1.0.1. KTorrent 4.0.2/libktorrent 1.0.2 at this moment not crashes too.
Closing this bug then