Bug 254383 - ktorrent crashed
Summary: ktorrent crashed
Status: RESOLVED DUPLICATE of bug 247984
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:44 UTC by Prasad Murthy
Modified: 2010-10-16 19:21 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 Prasad Murthy 2010-10-16 16:44:02 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Downloading torrents.no other foreground application was running

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77c6710 (LWP 20349))]

Thread 7 (Thread 0xb4dffb70 (LWP 20354)):
#0  0x00f45416 in __kernel_vsyscall ()
#1  0x0097cde6 in __poll (fds=0xa14ff4, nfds=1, timeout=4) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0748fa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0748243c in ?? () from /lib/libglib-2.0.so.0
#4  0x07482848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x07d3c59f in QEventDispatcherGlib::processEvents (this=0x86857a8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x07d0c609 in QEventLoop::processEvents (this=0xb4dff290, flags=) at kernel/qeventloop.cpp:149
#7  0x07d0ca8a in QEventLoop::exec (this=0xb4dff290, flags=...) at kernel/qeventloop.cpp:201
#8  0x07c08b7e in QThread::exec (this=0x86857e8) at thread/qthread.cpp:490
#9  0x00bd739e in utp::UTPServerThread::run (this=0x86857e8) at ../../src/utp/utpserverthread.cpp:44
#10 0x07c0bdf9 in QThreadPrivate::start (arg=0x86857e8) at thread/qthread_unix.cpp:266
#11 0x002d8cc9 in start_thread (arg=0xb4dffb70) at pthread_create.c:304
#12 0x0098b6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb45feb70 (LWP 20355)):
#0  0x00f45416 in __kernel_vsyscall ()
#1  0x00984381 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x00b998db in dht::RPCServerThread::run (this=0x86d7198) at ../../src/dht/rpcserver.cpp:107
#3  0x07c0bdf9 in QThreadPrivate::start (arg=0x86d7198) at thread/qthread_unix.cpp:266
#4  0x002d8cc9 in start_thread (arg=0xb45feb70) at pthread_create.c:304
#5  0x0098b6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaefeeb70 (LWP 20452)):
#0  net::DownloadThread::update (this=0x85be978) at ../../src/net/downloadthread.cpp:59
#1  0x00b2d178 in net::NetworkThread::run (this=0x85be978) at ../../src/net/networkthread.cpp:48
#2  0x07c0bdf9 in QThreadPrivate::start (arg=0x85be978) at thread/qthread_unix.cpp:266
#3  0x002d8cc9 in start_thread (arg=0xaefeeb70) at pthread_create.c:304
#4  0x0098b6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaf7efb70 (LWP 20453)):
#0  0x00f45416 in __kernel_vsyscall ()
#1  0x002dd4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x07c0aef2 in QMutexPrivate::wait (this=0x85be910, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x07c065ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0x00b2a890 in net::SocketMonitor::lock (this=0x8116890) at ../../src/net/socketmonitor.cpp:82
#5  0x00b2b882 in net::UploadThread::waitForSocketsReady (this=0x85bed80) at ../../src/net/uploadthread.cpp:112
#6  0x00b2baff in net::UploadThread::update (this=0x85bed80) at ../../src/net/uploadthread.cpp:45
#7  0x00b2d178 in net::NetworkThread::run (this=0x85bed80) at ../../src/net/networkthread.cpp:48
#8  0x07c0bdf9 in QThreadPrivate::start (arg=0x85bed80) at thread/qthread_unix.cpp:266
#9  0x002d8cc9 in start_thread (arg=0xaf7efb70) at pthread_create.c:304
#10 0x0098b6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb07f1b70 (LWP 20454)):
#0  0x00f45416 in __kernel_vsyscall ()
#1  0x0097cde6 in __poll (fds=0xa14ff4, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00f07759 in send_dg (statp=0xb07f1df4, buf=0xb07f0000 "\326\215\001", buflen=44, buf2=0x0, buflen2=0, ans=0xb07f0190 "X\033\201\200", anssiz=1024, ansp=0xb07f09c0, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1066
#3  __libc_res_nsend (statp=0xb07f1df4, buf=0xb07f0000 "\326\215\001", buflen=44, buf2=0x0, buflen2=0, ans=0xb07f0190 "X\033\201\200", anssiz=1024, ansp=0xb07f09c0, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x00f058d3 in __libc_res_nquery (statp=0xb07f1df4, name=0xb07f05be "217.15.245.76.in-addr.arpa", class=1, type=12, answer=0xb07f0190 "X\033\201\200", anslen=1024, answerp=0xb07f09c0, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x061fff73 in _nss_dns_gethostbyaddr2_r (addr=0xb26b44c4, len=4, af=2, result=0xb07f1044, buffer=0xb07f0a80 "\377\002", buflen=1024, errnop=0xb07f1b28, h_errnop=0xb07f1078, ttlp=0x0) at nss_dns/dns-host.c:471
#6  0x062000ca in _nss_dns_gethostbyaddr_r (addr=0xb26b44c4, len=4, af=2, result=0xb07f1044, buffer=0xb07f0a80 "\377\002", buflen=1024, errnop=0xb07f1b28, h_errnop=0xb07f1078) at nss_dns/dns-host.c:530
#7  0x009a29df in __gethostbyaddr_r (addr=0xb26b44c4, len=4, type=2, resbuf=0xb07f1044, buffer=0xb07f0a80 "\377\002", buflen=1024, result=0xb07f1074, h_errnop=0xb07f1078) at ../nss/getXXbyYY_r.c:253
#8  0x009a7f3b in getnameinfo (sa=0xb26b44c0, addrlen=16, host=0xb07f1194 "", hostlen=199, serv=0xb07f10cc "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0x00b3055b in net::ReverseResolver::resolve (this=0xa3d50fa0, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00b305f3 in net::ReverseResolver::run (this=0xa3d50fa0) at ../../src/net/reverseresolver.cpp:73
#11 0x00b30815 in net::ReverseResolverThread::run (this=0xa39be390) at ../../src/net/reverseresolver.cpp:118
#12 0x07c0bdf9 in QThreadPrivate::start (arg=0xa39be390) at thread/qthread_unix.cpp:266
#13 0x002d8cc9 in start_thread (arg=0xb07f1b70) at pthread_create.c:304
#14 0x0098b6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb19ffb70 (LWP 28226)):
#0  0x002dc7d4 in __pthread_mutex_unlock_usercnt (mutex=0x92a170c, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x0747e701 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#2  0x07482668 in ?? () from /lib/libglib-2.0.so.0
#3  0x07482848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x07d3c59f in QEventDispatcherGlib::processEvents (this=0x9a4b1a8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x07d0c609 in QEventLoop::processEvents (this=0xb19ff290, flags=) at kernel/qeventloop.cpp:149
#6  0x07d0ca8a in QEventLoop::exec (this=0xb19ff290, flags=...) at kernel/qeventloop.cpp:201
#7  0x07c08b7e in QThread::exec (this=0xa3b17458) at thread/qthread.cpp:490
#8  0x07ceb35b in QInotifyFileSystemWatcherEngine::run (this=0xa3b17458) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x07c0bdf9 in QThreadPrivate::start (arg=0xa3b17458) at thread/qthread_unix.cpp:266
#10 0x002d8cc9 in start_thread (arg=0xb19ffb70) at pthread_create.c:304
#11 0x0098b6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77c6710 (LWP 20349)):
[KCrash Handler]
#7  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:75
#8  0xbfa7b46c in ?? ()
#9  0x00e29167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x00b128ff in bt::SHA1HashGen::update (this=0x9003be0, data=0xae6eed60 "@\315\267\243hG\261\243\b|y\n\035", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x00b5431d in bt::ChunkDownload::updateHash (this=0x9003b70) at ../../src/download/chunkdownload.cpp:555
#12 0x00b56615 in bt::ChunkDownload::piece (this=0x9003b70, p=..., ok=@0xbfa7b5bf) at ../../src/download/chunkdownload.cpp:127
#13 0x00b5d219 in bt::Downloader::pieceReceived (this=0x8d84480, p=...) at ../../src/download/downloader.cpp:134
#14 0x00b40bef in bt::PeerManager::pieceReceived (this=0x8cf8f80, p=...) at ../../src/peer/peermanager.cpp:674
#15 0x00b3e9da in bt::Peer::packetReady (this=0x9d337a0, packet=0xa38b2fc0 "\a", len=9) at ../../src/peer/peer.cpp:283
#16 0x00b4a489 in bt::PacketReader::update (this=0x8f32e50) at ../../src/peer/packetreader.cpp:141
#17 0x00b3d609 in bt::Peer::update (this=0x9d337a0) at ../../src/peer/peer.cpp:538
#18 0x00b4337e in bt::PeerManager::update (this=0x8cf8f80) at ../../src/peer/peermanager.cpp:144
#19 0x00b79d2d in bt::TorrentControl::update (this=0x8c50f40) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x080690f3 in kt::Core::update (this=0x8674758) at ../../ktorrent/core.cpp:1030
#21 0x080716cd in kt::Core::qt_metacall (this=0x8674758, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa7b95c) at ./core.moc:167
#22 0x07d138ca in QMetaObject::metacall (object=0x8674758, cl=2904, idx=22, argv=0xbfa7b95c) at kernel/qmetaobject.cpp:237
#23 0x07d266ad in QMetaObject::activate (sender=0x867476c, m=0x7e405a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#24 0x07d781e7 in QTimer::timeout (this=0x867476c) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x07d2c1ce in QTimer::timerEvent (this=0x867476c, e=0xbfa7be60) at kernel/qtimer.cpp:271
#26 0x07d20504 in QObject::event (this=0x867476c, e=0xb25ea310) at kernel/qobject.cpp:1183
#27 0x023eefdc in QApplicationPrivate::notify_helper (this=0x85eeaa8, receiver=0x867476c, e=0xbfa7be60) at kernel/qapplication.cpp:4396
#28 0x023f504e in QApplication::notify (this=0xbfa7c1b0, receiver=0x867476c, e=0xbfa7be60) at kernel/qapplication.cpp:3798
#29 0x080783dc in kt::App::notify (this=0xb58, receiver=0xb25ea310, event=0x0) at ../../ktorrent/app.cpp:97
#30 0x07d0db3b in QCoreApplication::notifyInternal (this=0xbfa7c1b0, receiver=0x867476c, event=0xbfa7be60) at kernel/qcoreapplication.cpp:732
#31 0x07d3fad6 in sendEvent (this=0x85e9834) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x85e9834) at kernel/qeventdispatcher_unix.cpp:602
#33 0x07d3c8a7 in timerSourceDispatch (source=0x85e9868) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x85e9868) at kernel/qeventdispatcher_glib.cpp:231
#35 0x0747e855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x07482668 in ?? () from /lib/libglib-2.0.so.0
#37 0x07482848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x07d3c565 in QEventDispatcherGlib::processEvents (this=0x85bd6d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x024b0be5 in QGuiEventDispatcherGlib::processEvents (this=0x85bd6d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x07d0c609 in QEventLoop::processEvents (this=0xbfa7c124, flags=) at kernel/qeventloop.cpp:149
#41 0x07d0ca8a in QEventLoop::exec (this=0xbfa7c124, flags=...) at kernel/qeventloop.cpp:201
#42 0x07d1100f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x023ede07 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x08066e91 in main (argc=5, argv=0xbfa7c5b4) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 253878, bug 246320.

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

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