Bug 235873 - ktorrent crashed and left the HD spinning forever
Summary: ktorrent crashed and left the HD spinning forever
Status: RESOLVED DUPLICATE of bug 227400
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 04:26 UTC by Filipe
Modified: 2010-05-01 10:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filipe 2010-05-01 04:26:57 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I left ktorrent downloading one torrent and uploading others. When I arrived home the HD read/write led was on forever. The HD is a 1TB Segate 3.5" Sata in a external case connected to the computer thru USB with NTFS filesystem. This is the second time it happens. The first time the whole HD was corrupted and for my relief ntfsfix recovered the partition. This time no corruption happened.

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0x7fe903eb0710 (LWP 3062)):
#0  0x00007fe90d17cfb3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fe9110e268e in dht::RPCServerThread::run (this=0xb69340) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007fe90eafb775 in QThreadPrivate::start (arg=0xb69340) at thread/qthread_unix.cpp:248
#3  0x00007fe90e86b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fe90d18469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe8efe46710 (LWP 3079)):
#0  0x00007fe90d177f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe911088aa9 in net::DownloadThread::waitForSocketReady (this=0xa30950) at ../../libbtcore/net/downloadthread.cpp:188
#2  0x00007fe911088b66 in net::DownloadThread::update (this=0x1050ee0) at ../../libbtcore/net/downloadthread.cpp:53
#3  0x00007fe9110896e9 in net::NetworkThread::run (this=0xa30950) at ../../libbtcore/net/networkthread.cpp:48
#4  0x00007fe90eafb775 in QThreadPrivate::start (arg=0xa30950) at thread/qthread_unix.cpp:248
#5  0x00007fe90e86b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fe90d18469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe8ef645710 (LWP 3080)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe90eafc72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xa30f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xa30f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe91108860c in net::UploadThread::update (this=0xa30eb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007fe9110896e9 in net::NetworkThread::run (this=0xa30eb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007fe90eafb775 in QThreadPrivate::start (arg=0xa30eb0) at thread/qthread_unix.cpp:248
#6  0x00007fe90e86b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fe90d18469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe8eee44710 (LWP 3081)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe90eafc72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fe8fc6e4700, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fe8fc6e4700, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe91108c342 in net::ReverseResolverThread::run (this=0x7fe8fc6e46f0) at ../../libbtcore/net/reverseresolver.cpp:123
#4  0x00007fe90eafb775 in QThreadPrivate::start (arg=0x7fe8fc6e46f0) at thread/qthread_unix.cpp:248
#5  0x00007fe90e86b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fe90d18469d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe911558760 (LWP 3060)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:161
#6  0x00007fe9110e7d82 in bt::Chunk::readPiece (this=<value optimized out>, off=<value optimized out>, len=16380, data=0x7fe8fc6c6eed "\177") at /usr/include/bits/string3.h:52
#7  0x00007fe91109f584 in bt::PacketWriter::sendChunk (this=0x7fe8fc716030, index=200, begin=294912, len=16384, ch=<value optimized out>) at ../../libbtcore/peer/packetwriter.cpp:195
#8  0x00007fe91109dcc7 in bt::PeerUploader::update (this=0x7fe8fc716000, cman=..., opt_unchoked=<value optimized out>) at ../../libbtcore/peer/peeruploader.cpp:83
#9  0x00007fe9110bf5f6 in bt::Uploader::update (this=0x7fe8fc0fb920, opt_unchoked=4) at ../../libbtcore/torrent/uploader.cpp:48
#10 0x00007fe9110c8296 in bt::TorrentControl::update (this=0x7fe8fc126ab0) at ../../libbtcore/torrent/torrentcontrol.cpp:160
#11 0x0000000000430d9b in kt::Core::update (this=0xb0ee90) at ../../ktorrent/core.cpp:849
#12 0x0000000000436926 in kt::Core::qt_metacall (this=0xb0ee90, _c=QMetaObject::InvokeMetaMethod, _id=-60002579, _a=0x7fff8862fcb0) at ./core.moc:155
#13 0x00007fe90ec02e3f in QMetaObject::activate (sender=0xb0eeb8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfffffffc) at kernel/qobject.cpp:3293
#14 0x00007fe90ebffa63 in QObject::event (this=0xb0eeb8, e=0x7fff88630400) at kernel/qobject.cpp:1212
#15 0x00007fe90dd8c22c in QApplicationPrivate::notify_helper (this=0xa62d40, receiver=0xb0eeb8, e=0x7fff88630400) at kernel/qapplication.cpp:4300
#16 0x00007fe90dd926fb in QApplication::notify (this=0x7fff88630730, receiver=0xb0eeb8, e=0x7fff88630400) at kernel/qapplication.cpp:4183
#17 0x00007fe910236526 in KApplication::notify (this=0x7fff88630730, receiver=0xb0eeb8, event=0x7fff88630400) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007fe90ebf006c in QCoreApplication::notifyInternal (this=0x7fff88630730, receiver=0xb0eeb8, event=0x7fff88630400) at kernel/qcoreapplication.cpp:704
#19 0x00007fe90ec1cd42 in QCoreApplication::sendEvent (this=0xa65aa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0xa65aa0) at kernel/qeventdispatcher_unix.cpp:603
#21 0x00007fe90ec19848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#23 0x00007fe9098078c2 in g_main_dispatch (context=0xa64920) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#24 IA__g_main_context_dispatch (context=0xa64920) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#25 0x00007fe90980b748 in g_main_context_iterate (context=0xa64920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#26 0x00007fe90980b8fc in IA__g_main_context_iteration (context=0xa64920, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#27 0x00007fe90ec19513 in QEventDispatcherGlib::processEvents (this=0xa2e980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x00007fe90de3c46e in QGuiEventDispatcherGlib::processEvents (this=0x7fe8fc6c6eed, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fe90ebee992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007fe90ebeed6c in QEventLoop::exec (this=0x7fff886306a0, flags=) at kernel/qeventloop.cpp:201
#31 0x00007fe90ebf2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#32 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

Reported using DrKonqi
Comment 1 Joris Guisson 2010-05-01 10:11:11 UTC

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