Bug 273441 - Crash when external disk lost
Summary: Crash when external disk lost
Status: RESOLVED DUPLICATE of bug 266842
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: 2011-05-16 21:04 UTC by olivier.delance
Modified: 2011-05-19 18:07 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 olivier.delance 2011-05-16 21:04:43 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
After having a look, I discovered that the external drives disconnected from my netbook, and lead to crash of ktorrent.

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb7532b70 (LWP 4028)):
#0  0x00bb9416 in __kernel_vsyscall ()
#1  0x00dabf76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x013c584b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x013b51af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x013b592b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0494d304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x013de2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x01927e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00dba73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xb3dc1b70 (LWP 4031)):
#0  0x00bb9416 in __kernel_vsyscall ()
#1  0x00db3681 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x00f54291 in dht::RPCServerThread::run (this=0x9bcf0d0) at ../../src/dht/rpcserver.cpp:107
#3  0x07013da2 in QThreadPrivate::start (arg=0x9bcf0d0) at thread/qthread_unix.cpp:320
#4  0x01927e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0x00dba73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0x995c1b70 (LWP 4107)):
#0  0x00bb9416 in __kernel_vsyscall ()
#1  0x0192c48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00dc83fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x07012daa in QMutexPrivate::wait (this=0x996c570, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x0700f492 in QMutex::lock (this=0x81118b4) at thread/qmutex.cpp:167
#5  0x00ef1560 in net::SocketMonitor::lock (this=0x81118b0) at ../../src/net/socketmonitor.cpp:82
#6  0x00ef2f65 in net::DownloadThread::update (this=0x996c678) at ../../src/net/downloadthread.cpp:51
#7  0x00ef31e8 in net::NetworkThread::run (this=0x996c678) at ../../src/net/networkthread.cpp:48
#8  0x07013da2 in QThreadPrivate::start (arg=0x996c678) at thread/qthread_unix.cpp:320
#9  0x01927e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x00dba73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb1dbdb70 (LWP 4108)):
#0  0x00ef2714 in net::UploadThread::update (this=0x996c9d8) at ../../src/net/uploadthread.cpp:57
#1  0x00ef31e8 in net::NetworkThread::run (this=0x996c9d8) at ../../src/net/networkthread.cpp:48
#2  0x07013da2 in QThreadPrivate::start (arg=0x996c9d8) at thread/qthread_unix.cpp:320
#3  0x01927e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#4  0x00dba73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0x9c4c0b70 (LWP 4109)):
#0  0x00bb9416 in __kernel_vsyscall ()
#1  0x00da9e9b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0x00d52563 in _IO_file_underflow () from /lib/i386-linux-gnu/libc.so.6
#3  0x00d5372b in _IO_default_uflow () from /lib/i386-linux-gnu/libc.so.6
#4  0x00d53528 in __uflow () from /lib/i386-linux-gnu/libc.so.6
#5  0x00d4722c in _IO_getline_info () from /lib/i386-linux-gnu/libc.so.6
#6  0x00d47171 in _IO_getline () from /lib/i386-linux-gnu/libc.so.6
#7  0x00d4611a in fgets () from /lib/i386-linux-gnu/libc.so.6
#8  0x07928e08 in ?? () from /lib/libnss_mdns4.so.2
#9  0x0792957b in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x00dd1e02 in gethostbyaddr_r () from /lib/i386-linux-gnu/libc.so.6
#11 0x00dd74e2 in getnameinfo () from /lib/i386-linux-gnu/libc.so.6
#12 0x00ef5e4b in net::ReverseResolver::resolve (this=0xa64f48e8, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x00ef5ee3 in net::ReverseResolver::run (this=0xa64f48e8) at ../../src/net/reverseresolver.cpp:73
#14 0x00ef62fe in net::ReverseResolverThread::run (this=0x97458c80) at ../../src/net/reverseresolver.cpp:118
#15 0x07013da2 in QThreadPrivate::start (arg=0x97458c80) at thread/qthread_unix.cpp:320
#16 0x01927e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00dba73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa6dffb70 (LWP 11074)):
#0  0x00bafd41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x07069dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x071364f2 in updateCurrentTime (this=0xb230928c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb230928c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x07134d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa6dff0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x07134dcd in timerSourcePrepare (source=0xb2309258, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x013b3fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x013b4e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x013b5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x07135577 in QEventDispatcherGlib::processEvents (this=0xa5ed9a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x07107289 in QEventLoop::processEvents (this=0xa6dff290, flags=...) at kernel/qeventloop.cpp:149
#12 0x07107522 in QEventLoop::exec (this=0xa6dff290, flags=...) at kernel/qeventloop.cpp:201
#13 0x070112a0 in QThread::exec (this=0xac275698) at thread/qthread.cpp:492
#14 0x070e8fdb in QInotifyFileSystemWatcherEngine::run (this=0xac275698) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x07013da2 in QThreadPrivate::start (arg=0xac275698) at thread/qthread_unix.cpp:320
#16 0x01927e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00dba73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7761930 (LWP 4027)):
[KCrash Handler]
#7  0x00dfeab0 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00f5a337 in bt::Chunk::readPiece (this=0x9e21d68, off=1359872, len=16384, data=0xb22201d5 "") at /usr/include/bits/string3.h:52
#9  0x00f1507a in bt::Packet::Packet (this=0xb309e770, index=55, begin=1359872, len=16384, ch=0x9e21d68) at ../../src/download/packet.cpp:85
#10 0x00f0fbef in bt::PacketWriter::sendChunk (this=0xb2062230, index=55, begin=1359872, len=16384, ch=0x9e21d68) at ../../src/peer/packetwriter.cpp:195
#11 0x00f0efdc in bt::PeerUploader::update (this=0xb234d250, cman=..., opt_unchoked=45249) at ../../src/peer/peeruploader.cpp:83
#12 0x00f31028 in bt::Uploader::update (this=0x9e2c938, opt_unchoked=45249) at ../../src/torrent/uploader.cpp:48
#13 0x00f3cd71 in bt::TorrentControl::update (this=0x9e16b68) at ../../src/torrent/torrentcontrol.cpp:173
#14 0x0806a063 in kt::Core::update (this=0xb6c07d78) at ../../ktorrent/core.cpp:1025
#15 0x08070895 in kt::Core::qt_metacall (this=0xb6c07d78, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfa0573c) at ./core.moc:169
#16 0x0710e6ba in QMetaObject::metacall (object=0xb6c07d78, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfa0573c) at kernel/qmetaobject.cpp:237
#17 0x0711e4ff in QMetaObject::activate (sender=0xb6c07d8c, m=0x72435a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#18 0x0716b2f7 in QTimer::timeout (this=0xb6c07d8c) at .moc/release-shared/moc_qtimer.cpp:134
#19 0x071243ee in QTimer::timerEvent (this=0xb6c07d8c, e=0xbfa05c3c) at kernel/qtimer.cpp:271
#20 0x0711d214 in QObject::event (this=0xb6c07d8c, e=0xbfa05c3c) at kernel/qobject.cpp:1190
#21 0x03611d24 in QApplicationPrivate::notify_helper (this=0x99bc6c0, receiver=0xb6c07d8c, e=0xbfa05c3c) at kernel/qapplication.cpp:4462
#22 0x036168ce in QApplication::notify (this=0xbfa05f60, receiver=0xb6c07d8c, e=0xbfa05c3c) at kernel/qapplication.cpp:3862
#23 0x08077a57 in kt::App::notify (this=0xbfa05f60, receiver=0xb6c07d8c, event=0xbfa05c3c) at ../../ktorrent/app.cpp:97
#24 0x071080bb in QCoreApplication::notifyInternal (this=0xbfa05f60, receiver=0xb6c07d8c, event=0xbfa05c3c) at kernel/qcoreapplication.cpp:731
#25 0x071381e4 in sendEvent (this=0x99c219c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x99c219c) at kernel/qeventdispatcher_unix.cpp:604
#27 0x07134e27 in timerSourceDispatch (source=0x99c1100) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=0x99c1100) at kernel/qeventdispatcher_glib.cpp:231
#29 0x013b4aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0x013b5270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x013b5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x0713553c in QEventDispatcherGlib::processEvents (this=0x9966aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#33 0x036c5775 in QGuiEventDispatcherGlib::processEvents (this=0x9966aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x07107289 in QEventLoop::processEvents (this=0xbfa05ed4, flags=...) at kernel/qeventloop.cpp:149
#35 0x07107522 in QEventLoop::exec (this=0xbfa05ed4, flags=...) at kernel/qeventloop.cpp:201
#36 0x0710becc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#37 0x0360f8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#38 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 265450, bug 261347, bug 260347, bug 258038, bug 258034.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-19 18:07:41 UTC

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