Bug 254384 - ktorrent crashes suddenly with Bus Error
Summary: ktorrent crashes suddenly with Bus Error
Status: RESOLVED DUPLICATE of bug 241598
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-10-16 16:46 UTC by cmertes
Modified: 2010-10-16 19:19 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 cmertes 2010-10-16 16:46:42 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-25-generic x86_64
Distribution: Linux Mint 9 Isadora

-- Information about the crash:
Ktorrent was downloading in the background to an encrypted ext4 disk mounted to /media/something when it suddenly crashed and wouldn't reopen.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f95a5e18710 (LWP 24073)):
#0  0x00007f95baca0fe3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f95bec0768e in dht::RPCServerThread::run (this=0x1d4c4d0) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007f95bc620775 in QThreadPrivate::start (arg=0x1d4c4d0) at thread/qthread_unix.cpp:248
#3  0x00007f95bc3909ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f95baca86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f959e7fc710 (LWP 24130)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f95bc6200e5 in thread_sleep (ti=0x7f959e7fbdb0) at thread/qthread_unix.cpp:398
#2  0x00007f95bc620250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f95bebadda7 in net::DownloadThread::update (this=0x1ab8a60) at ../../libbtcore/net/downloadthread.cpp:110
#4  0x00007f95bebae6e9 in net::NetworkThread::run (this=0x1ab8a60) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f95bc620775 in QThreadPrivate::start (arg=0x1ab8a60) at thread/qthread_unix.cpp:248
#6  0x00007f95bc3909ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f95baca86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f959ffff710 (LWP 24131)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f95bc62172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1ab9030, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1ab9030, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f95bebad60c in net::UploadThread::update (this=0x1ab8fc0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f95bebae6e9 in net::NetworkThread::run (this=0x1ab8fc0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f95bc620775 in QThreadPrivate::start (arg=0x1ab8fc0) at thread/qthread_unix.cpp:248
#6  0x00007f95bc3909ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f95baca86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f959f7fe710 (LWP 24132)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f95bc62172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x411ee90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x411ee90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f95bebb1342 in net::ReverseResolverThread::run (this=0x411ee80) at ../../libbtcore/net/reverseresolver.cpp:123
#4  0x00007f95bc620775 in QThreadPrivate::start (arg=0x411ee80) at thread/qthread_unix.cpp:248
#5  0x00007f95bc3909ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f95baca86fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f95bf064760 (LWP 24071)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:162
#6  0x00007f95bebcd844 in bt::ChunkDownload::piece (this=0x462d0c0, p=..., ok=@0x7fff8702383f) at /usr/include/bits/string3.h:52
#7  0x00007f95bebd3d3e in bt::Downloader::pieceReceived (this=0x40ff5f0, p=...) at ../../libbtcore/download/downloader.cpp:126
#8  0x00007f95bebbb681 in bt::Peer::packetReady (this=0x4bb68f0, packet=0x7f95a003d1c0 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#9  0x00007f95bebc4c78 in bt::PacketReader::update (this=0x4499900) at ../../libbtcore/peer/packetreader.cpp:141
#10 0x00007f95bebbb045 in bt::Peer::update (this=0x4bb68f0) at ../../libbtcore/peer/peer.cpp:462
#11 0x00007f95bebbf0d0 in bt::PeerManager::update (this=0x4169bc0) at ../../libbtcore/peer/peermanager.cpp:119
#12 0x00007f95bebed25a in bt::TorrentControl::update (this=0x41696c0) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#13 0x0000000000430d9b in kt::Core::update (this=0x1d48760) at ../../ktorrent/core.cpp:849
#14 0x0000000000436926 in kt::Core::qt_metacall (this=0x1d48760, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fff87023c00) at ./core.moc:155
#15 0x00007f95bc727e3f in QMetaObject::activate (sender=0x1d48788, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfffffff9) at kernel/qobject.cpp:3293
#16 0x00007f95bc724a63 in QObject::event (this=0x1d48788, e=0x7fff87024350) at kernel/qobject.cpp:1212
#17 0x00007f95bb8b122c in QApplicationPrivate::notify_helper (this=0x1ae5610, receiver=0x1d48788, e=0x7fff87024350) at kernel/qapplication.cpp:4300
#18 0x00007f95bb8b76fb in QApplication::notify (this=0x7fff87024680, receiver=0x1d48788, e=0x7fff87024350) at kernel/qapplication.cpp:4183
#19 0x00007f95bdd5b526 in KApplication::notify (this=0x7fff87024680, receiver=0x1d48788, event=0x7fff87024350) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f95bc71506c in QCoreApplication::notifyInternal (this=0x7fff87024680, receiver=0x1d48788, event=0x7fff87024350) at kernel/qcoreapplication.cpp:704
#21 0x00007f95bc741d42 in QCoreApplication::sendEvent (this=0x1aee380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x1aee380) at kernel/qeventdispatcher_unix.cpp:603
#23 0x00007f95bc73e848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#25 0x00007f95b732a8c2 in g_main_dispatch (context=0x1aed520) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x1aed520) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#27 0x00007f95b732e748 in g_main_context_iterate (context=0x1aed520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#28 0x00007f95b732e8fc in IA__g_main_context_iteration (context=0x1aed520, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#29 0x00007f95bc73e513 in QEventDispatcherGlib::processEvents (this=0x1ae2970, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007f95bb96146e in QGuiEventDispatcherGlib::processEvents (this=0x7f95b4247000, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f95bc713992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f95bc713d6c in QEventLoop::exec (this=0x7fff870245f0, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f95bc717aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 253893, bug 253878, bug 253849, bug 253817, bug 251826.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-16 19:19:06 UTC

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