Bug 253817

Summary: Random KTorrent crashes
Product: [Applications] ktorrent Reporter: stardragon88
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description stardragon88 2010-10-11 10:29:52 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.34.7-0.3-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
KTorrent started crashing randomly (and often). Similar previuos bug report appeared closed.

The interval between crashes seems to be decreasing - first it was days of KTorrent working perfectly fine, then hours between crashes and now it takes mere few minutes. I can't remember changing any significant system or application settings before crashes started, although I did add and then deleted a couple of RSS feeds in KTorrent. Logging out of KDE and then back in didn't help.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Bus error
[Current thread is 1 (Thread 0xb47f7710 (LWP 24801))]

Thread 4 (Thread 0xb142ab70 (LWP 24833)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6886125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb68fc25c in ?? () from /usr/lib/libQtCore.so.4
#3  0xb68f87aa in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0xb76e1a3e in net::SocketMonitor::lock (this=0x81158d0) at /usr/src/debug/libktorrent-1.0.3/src/net/socketmonitor.cpp:82
#5  0xb76e34a1 in net::DownloadThread::update (this=0x811e418) at /usr/src/debug/libktorrent-1.0.3/src/net/downloadthread.cpp:51
#6  0xb76e3718 in net::NetworkThread::run (this=0x811e418) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#7  0xb68fd27a in ?? () from /usr/lib/libQtCore.so.4
#8  0xb6881b25 in start_thread () from /lib/libpthread.so.0
#9  0xb5bef46e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb0c29b70 (LWP 24834)):
#0  net::UploadThread::waitForSocketsReady (this=0x811e820) at /usr/src/debug/libktorrent-1.0.3/src/net/uploadthread.cpp:122
#1  0xb76e2c2e in net::UploadThread::update (this=0x811e820) at /usr/src/debug/libktorrent-1.0.3/src/net/uploadthread.cpp:45
#2  0xb76e3718 in net::NetworkThread::run (this=0x811e820) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#3  0xb68fd27a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6881b25 in start_thread () from /lib/libpthread.so.0
#5  0xb5bef46e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xafaffb70 (LWP 24835)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5be475e in poll () from /lib/libc.so.6
#2  0xb5c247c3 in wait_on_socket () from /lib/libc.so.6
#3  0xb5c2562c in __nscd_open_socket () from /lib/libc.so.6
#4  0xb5c230a5 in nscd_gethst_r () from /lib/libc.so.6
#5  0xb5c2384a in __nscd_gethostbyaddr_r () from /lib/libc.so.6
#6  0xb5c070be in gethostbyaddr_r@@GLIBC_2.1.2 () from /lib/libc.so.6
#7  0xb5c0f912 in getnameinfo () from /lib/libc.so.6
#8  0xb76e64d3 in net::ReverseResolver::resolve (this=0xa2efc20, addr=...) at /usr/src/debug/libktorrent-1.0.3/src/net/reverseresolver.cpp:64
#9  0xb76e6575 in net::ReverseResolver::run (this=0xa2efc20) at /usr/src/debug/libktorrent-1.0.3/src/net/reverseresolver.cpp:73
#10 0xb76e698e in net::ReverseResolverThread::run (this=0xa599b58) at /usr/src/debug/libktorrent-1.0.3/src/net/reverseresolver.cpp:118
#11 0xb68fd27a in ?? () from /usr/lib/libQtCore.so.4
#12 0xb6881b25 in start_thread () from /lib/libpthread.so.0
#13 0xb5bef46e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb47f7710 (LWP 24801)):
[KCrash Handler]
#7  0xb5b94411 in memcpy () from /lib/libc.so.6
#8  0xb7709a08 in bt::ChunkDownload::piece (this=0xa2ee1e0, p=..., ok=@0xbffa68cf) at /usr/include/bits/string3.h:52
#9  0xb770ec2f in bt::Downloader::pieceReceived (this=0x9437cb0, p=...) at /usr/src/debug/libktorrent-1.0.3/src/download/downloader.cpp:134
#10 0xb76f724e in bt::PeerManager::pieceReceived (this=0x940cbf0, p=...) at /usr/src/debug/libktorrent-1.0.3/src/peer/peermanager.cpp:674
#11 0xb76f5f63 in bt::Peer::packetReady (this=0xb1e8e78, packet=0xb966348 "\a", len=16393) at /usr/src/debug/libktorrent-1.0.3/src/peer/peer.cpp:283
#12 0xb76ff309 in bt::PacketReader::update (this=0xa09b9d8) at /usr/src/debug/libktorrent-1.0.3/src/peer/packetreader.cpp:141
#13 0xb76f3a29 in bt::Peer::update (this=0xb1e8e78) at /usr/src/debug/libktorrent-1.0.3/src/peer/peer.cpp:538
#14 0xb76f8ca1 in bt::PeerManager::update (this=0x940cbf0) at /usr/src/debug/libktorrent-1.0.3/src/peer/peermanager.cpp:144
#15 0xb772c912 in bt::TorrentControl::update (this=0x9416888) at /usr/src/debug/libktorrent-1.0.3/src/torrent/torrentcontrol.cpp:163
#16 0x0806c256 in _start ()

Possible duplicates by query: bug 251303, bug 247984, bug 246320, bug 243561, bug 241628.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-11 18:46:26 UTC

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