Bug 255263

Summary: Ktorrent suddenly crashed
Product: [Applications] ktorrent Reporter: marko.gabriel.cz
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description marko.gabriel.cz 2010-10-25 22:35:05 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
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:
I downloaded multiple torrents and change the download/speed. After confirmation of change Ktorrent crashed.

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

Thread 7 (Thread 0xb58b0b70 (LWP 9893)):
#0  0x0019a416 in __kernel_vsyscall ()
#1  0x07943de6 in __poll (fds=0x79dbff4, nfds=1, timeout=4) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x015d4a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x015c743c in ?? () from /lib/libglib-2.0.so.0
#4  0x015c7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0185b59f in QEventDispatcherGlib::processEvents (this=0x8c15200, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x0182b609 in QEventLoop::processEvents (this=0xb58b0290, flags=) at kernel/qeventloop.cpp:149
#7  0x0182ba8a in QEventLoop::exec (this=0xb58b0290, flags=...) at kernel/qeventloop.cpp:201
#8  0x01727b7e in QThread::exec (this=0xb4f04bf0) at thread/qthread.cpp:490
#9  0x00d3339e in utp::UTPServerThread::run (this=0xb4f04bf0) at ../../src/utp/utpserverthread.cpp:44
#10 0x0172adf9 in QThreadPrivate::start (arg=0xb4f04bf0) at thread/qthread_unix.cpp:266
#11 0x0017fcc9 in start_thread (arg=0xb58b0b70) at pthread_create.c:304
#12 0x079526ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb4effb70 (LWP 9894)):
#0  0x0019a416 in __kernel_vsyscall ()
#1  0x0794b381 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x00cf58db in dht::RPCServerThread::run (this=0xb4f0e980) at ../../src/dht/rpcserver.cpp:107
#3  0x0172adf9 in QThreadPrivate::start (arg=0xb4f0e980) at thread/qthread_unix.cpp:266
#4  0x0017fcc9 in start_thread (arg=0xb4effb70) at pthread_create.c:304
#5  0x079526ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaf167b70 (LWP 9925)):
#0  0x04edee36 in clock_gettime (clock_id=82718708, tp=0xaf166f90) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0178650b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x0185d6e5 in QTimerInfoList::updateCurrentTime (this=0x9416334) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0185d72a in QTimerInfoList::timerWait (this=0x9416334, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0185b7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaf1670bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0185b83d in timerSourcePrepare (source=0x0, timeout=0x4ee2ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x015c6e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x015c7279 in ?? () from /lib/libglib-2.0.so.0
#9  0x015c7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0185b59f in QEventDispatcherGlib::processEvents (this=0x939edd0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x0182b609 in QEventLoop::processEvents (this=0xaf167290, flags=) at kernel/qeventloop.cpp:149
#12 0x0182ba8a in QEventLoop::exec (this=0xaf167290, flags=...) at kernel/qeventloop.cpp:201
#13 0x01727b7e in QThread::exec (this=0x92a1330) at thread/qthread.cpp:490
#14 0x0180a35b in QInotifyFileSystemWatcherEngine::run (this=0x92a1330) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0172adf9 in QThreadPrivate::start (arg=0x92a1330) at thread/qthread_unix.cpp:266
#16 0x0017fcc9 in start_thread (arg=0xaf167b70) at pthread_create.c:304
#17 0x079526ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xae165b70 (LWP 9938)):
#0  0x0019a416 in __kernel_vsyscall ()
#1  0x00184884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x0172a33e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#3  0x0172a493 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:442
#4  0x00c88802 in net::DownloadThread::update (this=0x8b6c978) at ../../src/net/downloadthread.cpp:91
#5  0x00c89178 in net::NetworkThread::run (this=0x8b6c978) at ../../src/net/networkthread.cpp:48
#6  0x0172adf9 in QThreadPrivate::start (arg=0x8b6c978) at thread/qthread_unix.cpp:266
#7  0x0017fcc9 in start_thread (arg=0xae165b70) at pthread_create.c:304
#8  0x079526ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xae966b70 (LWP 9939)):
#0  0x0019a416 in __kernel_vsyscall ()
#1  0x00184884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x0172a33e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#3  0x0172a493 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:442
#4  0x00c87d52 in net::UploadThread::update (this=0x8b6cd80) at ../../src/net/uploadthread.cpp:89
#5  0x00c89178 in net::NetworkThread::run (this=0x8b6cd80) at ../../src/net/networkthread.cpp:48
#6  0x0172adf9 in QThreadPrivate::start (arg=0x8b6cd80) at thread/qthread_unix.cpp:266
#7  0x0017fcc9 in start_thread (arg=0xae966b70) at pthread_create.c:304
#8  0x079526ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xad163b70 (LWP 9940)):
#0  0x0019a416 in __kernel_vsyscall ()
#1  0x07941eeb in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x078ea33b in _IO_new_file_underflow (fp=0xac7c2898) at fileops.c:606
#3  0x078ebc0b in _IO_default_uflow (fp=0xac7c2898) at genops.c:440
#4  0x078ed028 in __uflow (fp=0xac7c2898) at genops.c:394
#5  0x078e004c in _IO_getline_info (fp=0xac7c2898, buf=0xad162680 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#6  0x078dff91 in _IO_getline (fp=0xac7c2898, buf=0xad162680 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1) at iogetline.c:42
#7  0x078def9a in _IO_fgets (buf=0xad162680 "-15 Timeout reached\n", n=256, fp=0xac7c2898) at iofgets.c:58
#8  0x02710cd4 in ?? () from /lib/libnss_mdns4.so.2
#9  0x02711177 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x079699df in __gethostbyaddr_r (addr=0xa1a48e4, len=4, type=2, resbuf=0xad163044, buffer=0xad162a80 "\377\002", buflen=1024, result=0xad163074, h_errnop=0xad163078) at ../nss/getXXbyYY_r.c:253
#11 0x0796ef3b in getnameinfo (sa=0xa1a48e0, addrlen=16, host=0xad163194 "", hostlen=199, serv=0xad1630cc "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#12 0x00c8c55b in net::ReverseResolver::resolve (this=0x92ec398, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x00c8c5f3 in net::ReverseResolver::run (this=0x92ec398) at ../../src/net/reverseresolver.cpp:73
#14 0x00c8c815 in net::ReverseResolverThread::run (this=0x91fc458) at ../../src/net/reverseresolver.cpp:118
#15 0x0172adf9 in QThreadPrivate::start (arg=0x91fc458) at thread/qthread_unix.cpp:266
#16 0x0017fcc9 in start_thread (arg=0xad163b70) at pthread_create.c:304
#17 0x079526ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78b9710 (LWP 9891)):
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:718
#8  0x0832c016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x08343167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x00c6e8ff in bt::SHA1HashGen::update (this=0xa98d4490, data=0xa96fcfe8 "H", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x00cb031d in bt::ChunkDownload::updateHash (this=0xa98d4420) at ../../src/download/chunkdownload.cpp:555
#12 0x00cb2615 in bt::ChunkDownload::piece (this=0xa98d4420, p=..., ok=@0xbfdb4fbf) at ../../src/download/chunkdownload.cpp:127
#13 0x00cb9219 in bt::Downloader::pieceReceived (this=0x9fba978, p=...) at ../../src/download/downloader.cpp:134
#14 0x00c9cbef in bt::PeerManager::pieceReceived (this=0x98fca50, p=...) at ../../src/peer/peermanager.cpp:674
#15 0x00c9a9da in bt::Peer::packetReady (this=0x9531250, packet=0xab633398 "\a", len=9) at ../../src/peer/peer.cpp:283
#16 0x00ca6489 in bt::PacketReader::update (this=0x996b750) at ../../src/peer/packetreader.cpp:141
#17 0x00c99609 in bt::Peer::update (this=0x9531250) at ../../src/peer/peer.cpp:538
#18 0x00c9f37e in bt::PeerManager::update (this=0x98fca50) at ../../src/peer/peermanager.cpp:144
#19 0x00cd5d2d in bt::TorrentControl::update (this=0x972f128) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x080690f3 in kt::Core::update (this=0x8c13cb8) at ../../ktorrent/core.cpp:1030
#21 0x080716cd in kt::Core::qt_metacall (this=0x8c13cb8, _c=QMetaObject::InvokeMetaMethod, _id=-1452290064, _a=0xbfdb535c) at ./core.moc:167
#22 0x018328ca in QMetaObject::metacall (object=0x8c13cb8, cl=16336, idx=22, argv=0xbfdb535c) at kernel/qmetaobject.cpp:237
#23 0x018456ad in QMetaObject::activate (sender=0x8c13ccc, m=0x195f5a4, local_signal_index=0, argv=0xa96fcff0) at kernel/qobject.cpp:3280
#24 0x018971e7 in QTimer::timeout (this=0x8c13ccc) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x0184b1ce in QTimer::timerEvent (this=0x8c13ccc, e=0xbfdb5860) at kernel/qtimer.cpp:271
#26 0x0183f504 in QObject::event (this=0x8c13ccc, e=0xa9f18070) at kernel/qobject.cpp:1183
#27 0x0635bfdc in QApplicationPrivate::notify_helper (this=0x8b900f8, receiver=0x8c13ccc, e=0xbfdb5860) at kernel/qapplication.cpp:4396
#28 0x0636204e in QApplication::notify (this=0xbfdb5bb0, receiver=0x8c13ccc, e=0xbfdb5860) at kernel/qapplication.cpp:3798
#29 0x080783dc in kt::App::notify (this=0x3fd0, receiver=0xa9f18070, event=0xa96fcff0) at ../../ktorrent/app.cpp:97
#30 0x0182cb3b in QCoreApplication::notifyInternal (this=0xbfdb5bb0, receiver=0x8c13ccc, event=0xbfdb5860) at kernel/qcoreapplication.cpp:732
#31 0x0185ead6 in sendEvent (this=0x8b96074) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x8b96074) at kernel/qeventdispatcher_unix.cpp:602
#33 0x0185b8a7 in timerSourceDispatch (source=0x8b960a8) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x8b960a8) at kernel/qeventdispatcher_glib.cpp:231
#35 0x015c3855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x015c7668 in ?? () from /lib/libglib-2.0.so.0
#37 0x015c7848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x0185b565 in QEventDispatcherGlib::processEvents (this=0x8b6b6d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x0641dbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8b6b6d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x0182b609 in QEventLoop::processEvents (this=0xbfdb5b24, flags=) at kernel/qeventloop.cpp:149
#41 0x0182ba8a in QEventLoop::exec (this=0xbfdb5b24, flags=...) at kernel/qeventloop.cpp:201
#42 0x0183000f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x0635ae07 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x08066e91 in main (argc=6, argv=0xbfdb5fb4) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 251303.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-25 23:04:41 UTC

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