Bug 267793

Summary: Seemingly random ktorrent crash
Product: [Applications] ktorrent Reporter: George R. Goffe <grgoffe>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description George R. Goffe 2011-03-06 15:08:48 UTC
Application: ktorrent (4.1rc1)
KDE Platform Version: 4.5.5 (KDE 4.5.5) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.i686 i686
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
Ktorrent was running on a different desktop. There was nothing special going on. No recent changes have been made.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Bus error
__kernel_vsyscall () at arch/x86/vdso/vdso32/int80.S:16
16		ret
[Current thread is 1 (Thread 0xb7717ab0 (LWP 7476))]

Thread 5 (Thread 0xb5750b70 (LWP 7482)):
#0  __kernel_vsyscall () at arch/x86/vdso/vdso32/int80.S:16
#1  0x007b539b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x4298a057 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#3  0x007b0e99 in start_thread (arg=0xb5750b70) at pthread_create.c:301
#4  0x006c3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xab3fab70 (LWP 7934)):
#0  0x067f4312 in net::DownloadThread::update (this=0x87299d8) at /tools/ktorrent/libktorrent-1.1rc1/src/net/downloadthread.cpp:59
#1  0x067f4548 in net::NetworkThread::run (this=0x87299d8) at /tools/ktorrent/libktorrent-1.1rc1/src/net/networkthread.cpp:48
#2  0x04ea1e6a in QThreadPrivate::start (arg=0x87299d8) at thread/qthread_unix.cpp:285
#3  0x007b0e99 in start_thread (arg=0xab3fab70) at pthread_create.c:301
#4  0x006c3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xaabf9b70 (LWP 7935)):
#0  __kernel_vsyscall () at arch/x86/vdso/vdso32/int80.S:16
#1  0x007b539b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x04ea0e8a in QMutexPrivate::wait (this=0x8729970, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x04e9d4b2 in QMutex::lock (this=0x8729958) at thread/qmutex.cpp:167
#4  0x067f2800 in net::SocketMonitor::lock (this=0x8114c30) at /tools/ktorrent/libktorrent-1.1rc1/src/net/socketmonitor.cpp:108
#5  0x067f3a35 in net::UploadThread::update (this=0x8729de8) at /tools/ktorrent/libktorrent-1.1rc1/src/net/uploadthread.cpp:49
#6  0x067f4548 in net::NetworkThread::run (this=0x8729de8) at /tools/ktorrent/libktorrent-1.1rc1/src/net/networkthread.cpp:48
#7  0x04ea1e6a in QThreadPrivate::start (arg=0x8729de8) at thread/qthread_unix.cpp:285
#8  0x007b0e99 in start_thread (arg=0xaabf9b70) at pthread_create.c:301
#9  0x006c3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xaa3f8b70 (LWP 7936)):
#0  __kernel_vsyscall () at arch/x86/vdso/vdso32/int80.S:16
#1  0x007b539b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x04ea2567 in wait (this=0x95fdca4, mutex=0x95fdca0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x95fdca4, mutex=0x95fdca0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x067f7747 in net::ReverseResolverThread::run (this=0x95fdc98) at /tools/ktorrent/libktorrent-1.1rc1/src/net/reverseresolver.cpp:123
#5  0x04ea1e6a in QThreadPrivate::start (arg=0x95fdc98) at thread/qthread_unix.cpp:285
#6  0x007b0e99 in start_thread (arg=0xaa3f8b70) at pthread_create.c:301
#7  0x006c3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7717ab0 (LWP 7476)):
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:399
#8  0x06876957 in bt::PieceData::write (this=0x94c84b8, buf=0x97f3701 "", buf_size=16384, off=0) at /tools/ktorrent/libktorrent-1.1rc1/src/diskio/piecedata.cpp:70
#9  0x0681fe5a in bt::ChunkDownload::piece (this=0x899ed50, p=..., ok=@0xbf93e60f) at /tools/ktorrent/libktorrent-1.1rc1/src/download/chunkdownload.cpp:110
#10 0x06824f9a in bt::Downloader::pieceReceived (this=0x899a4f0, p=...) at /tools/ktorrent/libktorrent-1.1rc1/src/download/downloader.cpp:138
#11 0x0680af12 in bt::PeerManager::pieceReceived (this=0x8973740, p=...) at /tools/ktorrent/libktorrent-1.1rc1/src/peer/peermanager.cpp:537
#12 0x06809dac in bt::Peer::packetReady (this=0x8c182e8, packet=0x97f36f8 "\a", len=16393) at /tools/ktorrent/libktorrent-1.1rc1/src/peer/peer.cpp:276
#13 0x06813ad9 in bt::PacketReader::update (this=0x8c23b40) at /tools/ktorrent/libktorrent-1.1rc1/src/peer/packetreader.cpp:141
#14 0x06807c0c in bt::Peer::update (this=0x8c182e8) at /tools/ktorrent/libktorrent-1.1rc1/src/peer/peer.cpp:531
#15 0x0680d4ca in bt::PeerManager::Private::update (this=0x897fcd0) at /tools/ktorrent/libktorrent-1.1rc1/src/peer/peermanager.cpp:729
#16 0x0680d630 in bt::PeerManager::update (this=0x8973740) at /tools/ktorrent/libktorrent-1.1rc1/src/peer/peermanager.cpp:138
#17 0x068448ad in bt::TorrentControl::update (this=0x8973428) at /tools/ktorrent/libktorrent-1.1rc1/src/torrent/torrentcontrol.cpp:164
#18 0x0806bd23 in kt::Core::update (this=0x88769c0) at /tools/ktorrent/ktorrent-4.1rc1/ktorrent/core.cpp:1051
#19 0x08072a21 in kt::Core::qt_metacall (this=0x88769c0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbf93e9ac) at /tools/ktorrent/ktorrent-4.1rc1/build/ktorrent/core.moc:162
#20 0x04f9fbeb in QMetaObject::metacall (object=0x88769c0, cl=QMetaObject::InvokeMetaMethod, idx=20, argv=0xbf93e9ac) at kernel/qmetaobject.cpp:237
#21 0x04faf0c7 in QMetaObject::activate (sender=0x88769d4, m=0x50d5ac4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#22 0x04ffd828 in QTimer::timeout (this=0x88769d4) at .moc/release-shared/moc_qtimer.cpp:134
#23 0x04fb5d1e in QTimer::timerEvent (this=0x88769d4, e=0xbf93eebc) at kernel/qtimer.cpp:271
#24 0x04faea24 in QObject::event (this=0x88769d4, e=0xbf93eebc) at kernel/qobject.cpp:1175
#25 0x054e126c in QApplicationPrivate::notify_helper (this=0x874efe0, receiver=0x88769d4, e=0xbf93eebc) at kernel/qapplication.cpp:4445
#26 0x054e5ed2 in QApplication::notify (this=0xbf93f1f0, receiver=0x88769d4, e=0xbf93eebc) at kernel/qapplication.cpp:3845
#27 0x080794c7 in kt::App::notify (this=0xbf93f1f0, receiver=0x88769d4, event=0xbf93eebc) at /tools/ktorrent/ktorrent-4.1rc1/ktorrent/app.cpp:97
#28 0x04f993b3 in QCoreApplication::notifyInternal (this=0xbf93f1f0, receiver=0x88769d4, event=0xbf93eebc) at kernel/qcoreapplication.cpp:732
#29 0x04fc9d31 in sendEvent (this=0x8756f74) at kernel/qcoreapplication.h:215
#30 QTimerInfoList::activateTimers (this=0x8756f74) at kernel/qeventdispatcher_unix.cpp:603
#31 0x04fc6988 in timerSourceDispatch (source=0x8756fa8) at kernel/qeventdispatcher_glib.cpp:184
#32 idleTimerSourceDispatch (source=0x8756fa8) at kernel/qeventdispatcher_glib.cpp:231
#33 0x003e6192 in g_main_dispatch (context=0x8755b10) at gmain.c:2149
#34 g_main_context_dispatch (context=0x8755b10) at gmain.c:2702
#35 0x003e6978 in g_main_context_iterate (context=0x8755b10, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#36 0x003e6c35 in g_main_context_iteration (context=0x8755b10, may_block=1) at gmain.c:2843
#37 0x04fc70ad in QEventDispatcherGlib::processEvents (this=0x87287a0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#38 0x05594406 in QGuiEventDispatcherGlib::processEvents (this=0x87287a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#39 0x04f9854a in QEventLoop::processEvents (this=0xbf93f164, flags=...) at kernel/qeventloop.cpp:149
#40 0x04f987fa in QEventLoop::exec (this=0xbf93f164, flags=...) at kernel/qeventloop.cpp:201
#41 0x04f9d3a7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#42 0x054df078 in QApplication::exec () at kernel/qapplication.cpp:3719
#43 0x080690c1 in main (argc=) at /tools/ktorrent/ktorrent-4.1rc1/ktorrent/main.cpp:177

Reported using DrKonqi
Comment 1 Joris Guisson 2011-03-06 17:04:36 UTC

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