Bug 290028

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

Description wolf_inthemist 2011-12-28 17:28:54 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic i686
Distribution: Linux Mint 9 Isadora

-- Information about the crash:
ktorrent closes when opening new torrent file from firefox. 

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb61f3b70 (LWP 3013)):
#0  0x0021f422 in __kernel_vsyscall ()
#1  0x06785971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x00d10aac in dht::RPCServerThread::run (this=0x83039d0) at ../../libbtcore/dht/rpcserver.cpp:107
#3  0x0627932e in QThreadPrivate::start (arg=0x83039d0) at thread/qthread_unix.cpp:248
#4  0x00eb096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x0678ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb3ea8b70 (LWP 3033)):
#0  0x0021f422 in __kernel_vsyscall ()
#1  0x0677eb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0130e718 in ?? () from /lib/tls/i686/cmov/libresolv.so.2
#3  0x0130c8a3 in __libc_res_nquery () from /lib/tls/i686/cmov/libresolv.so.2
#4  0x0130ce8b in ?? () from /lib/tls/i686/cmov/libresolv.so.2
#5  0x0130d2b5 in __libc_res_nsearch () from /lib/tls/i686/cmov/libresolv.so.2
#6  0x01541bd6 in _nss_dns_gethostbyname3_r () from /lib/tls/i686/cmov/libnss_dns.so.2
#7  0x01541f2b in _nss_dns_gethostbyname2_r () from /lib/tls/i686/cmov/libnss_dns.so.2
#8  0x067a3b0d in gethostbyname2_r () from /lib/tls/i686/cmov/libc.so.6
#9  0x06765010 in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0x06766a65 in getaddrinfo () from /lib/tls/i686/cmov/libc.so.6
#11 0x00ac571a in QHostInfoAgent::fromName (hostName=...) at kernel/qhostinfo_unix.cpp:211
#12 0x00ab9d99 in QHostInfo::fromName (name=...) at kernel/qhostinfo.cpp:226
#13 0x003c0f7d in QtConcurrent::StoredFunctorCall1<QHostInfo, QHostInfo (*)(QString const&), QString>::runFunctor (this=0x8712c08) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:274
#14 0x003c1621 in QtConcurrent::RunFunctionTask<QHostInfo>::run (this=0x8712c08) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:103
#15 0x0626e25c in QThreadPoolThread::run (this=0x8aa65f8) at concurrent/qthreadpool.cpp:106
#16 0x0627932e in QThreadPrivate::start (arg=0x8aa65f8) at thread/qthread_unix.cpp:248
#17 0x00eb096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x0678ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb36a7b70 (LWP 3044)):
#0  0x0021f422 in __kernel_vsyscall ()
#1  0x00eb5342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x06278c1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#3  0x06278d73 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:424
#4  0x00cadcb3 in net::DownloadThread::update (this=0x81a7560) at ../../libbtcore/net/downloadthread.cpp:110
#5  0x00cae6b8 in net::NetworkThread::run (this=0x81a7560) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0627932e in QThreadPrivate::start (arg=0x81a7560) at thread/qthread_unix.cpp:248
#7  0x00eb096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0678ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb46a9b70 (LWP 3045)):
#0  0x0021f422 in __kernel_vsyscall ()
#1  0x00eb5015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0627a287 in QWaitConditionPrivate::wait (this=0x81a78f8, mutex=0x81a78fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x81a78f8, mutex=0x81a78fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00cad3a9 in net::UploadThread::update (this=0x81a78c0) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x00cae6b8 in net::NetworkThread::run (this=0x81a78c0) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0627932e in QThreadPrivate::start (arg=0x81a78c0) at thread/qthread_unix.cpp:248
#7  0x00eb096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0678ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb56abb70 (LWP 3046)):
#0  0x0021f422 in __kernel_vsyscall ()
#1  0x00eb5015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0627a287 in QWaitConditionPrivate::wait (this=0x89cdfcc, mutex=0x89cdfc8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x89cdfcc, mutex=0x89cdfc8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00cb1baa in net::ReverseResolverThread::run (this=0x89cdfc0) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0x0627932e in QThreadPrivate::start (arg=0x89cdfc0) at thread/qthread_unix.cpp:248
#6  0x00eb096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0678ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77bbaa0 (LWP 3011)):
[KCrash Handler]
#6  0x067cf161 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x00d7aff4 in ?? () from /usr/lib/libbtcore.so.12
#8  0x00ccaeea in Packet (this=0x8703cc0, index=13780, begin=16384, len=16384, ch=0x85694b8) at ../../libbtcore/download/packet.cpp:85
#9  0x00cc73bf in bt::PacketWriter::sendChunk (this=0x8a5d170, index=13780, begin=16384, len=16384, ch=0x85694b8) at ../../libbtcore/peer/packetwriter.cpp:195
#10 0x00cc5a04 in bt::PeerUploader::update (this=0x8ba2ff8, cman=..., opt_unchoked=4294967295) at ../../libbtcore/peer/peeruploader.cpp:83
#11 0x00ce9df8 in bt::Uploader::update (this=0x85d1388, opt_unchoked=4294967295) at ../../libbtcore/torrent/uploader.cpp:48
#12 0x00cf39c1 in bt::TorrentControl::update (this=0x8463a88) at ../../libbtcore/torrent/torrentcontrol.cpp:160
#13 0x08071a63 in kt::Core::update (this=0x82de278) at ../../ktorrent/core.cpp:849
#14 0x08077308 in kt::Core::qt_metacall (this=0x82de278, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfedab2c) at ./core.moc:155
#15 0x06380c9a in QMetaObject::metacall (object=0x82de278, cl=15349, idx=21, argv=0xbfedab2c) at kernel/qmetaobject.cpp:237
#16 0x0638f3d5 in QMetaObject::activate (sender=0x82de28c, m=0x648f5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#17 0x063e0aa7 in QTimer::timeout (this=0x82de28c) at .moc/release-shared/moc_qtimer.cpp:134
#18 0x0639760e in QTimer::timerEvent (this=0x82de28c, e=0xbfedb060) at kernel/qtimer.cpp:271
#19 0x0638c254 in QObject::event (this=0x82de28c, e=0x8c0b8e0) at kernel/qobject.cpp:1212
#20 0x0343d4dc in QApplicationPrivate::notify_helper (this=0x81c98f0, receiver=0x82de28c, e=0xbfedb060) at kernel/qapplication.cpp:4300
#21 0x0344405e in QApplication::notify (this=0xbfedb3b4, receiver=0x82de28c, e=0xbfedb060) at kernel/qapplication.cpp:3704
#22 0x0068140a in KApplication::notify (this=0xbfedb3b4, receiver=0x82de28c, event=0xbfedb060) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x0637ba3b in QCoreApplication::notifyInternal (this=0xbfedb3b4, receiver=0x82de28c, event=0xbfedb060) at kernel/qcoreapplication.cpp:704
#24 0x063aad66 in QCoreApplication::sendEvent (this=0x81ce934) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x81ce934) at kernel/qeventdispatcher_unix.cpp:603
#26 0x063a78e4 in timerSourceDispatch (source=0x81ce900) at kernel/qeventdispatcher_glib.cpp:184
#27 0x074215e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x074252d8 in ?? () from /lib/libglib-2.0.so.0
#29 0x074254b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x063a75d5 in QEventDispatcherGlib::processEvents (this=0x81a6380, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#31 0x034fd135 in QGuiEventDispatcherGlib::processEvents (this=0x81a6380, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x0637a059 in QEventLoop::processEvents (this=0xbfedb324, flags=) at kernel/qeventloop.cpp:149
#33 0x0637a4aa in QEventLoop::exec (this=0xbfedb324, flags=...) at kernel/qeventloop.cpp:201
#34 0x0637e69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x0343d577 in QApplication::exec () at kernel/qapplication.cpp:3579
#36 0x08067a51 in main (argc=6, argv=0xbfedb784) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 273441, bug 265450.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-12-29 12:14:01 UTC

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