Bug 253893

Summary: ktorrent crash
Product: [Applications] ktorrent Reporter: blaze <blazevanderpool>
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 blaze 2010-10-11 22:57:19 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 x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

downloading several torrents,otherwise system was not doing anything else at the time

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

Thread 6 (Thread 0x7f07a97ce710 (LWP 15070)):
#0  0x00007f07b9cea2c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f07bdce8212 in dht::RPCServerThread::run (this=0x26b28b0) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f07bb6a727e in QThreadPrivate::start (arg=0x26b28b0) at thread/qthread_unix.cpp:266
#3  0x00007f07bb41c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f07b9cf192d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0798a77710 (LWP 15114)):
#0  0x00007f07b9ce51e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f07b4b40009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f07b4b4045c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f07bb7c71e6 in QEventDispatcherGlib::processEvents (this=0x306cba0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f07bb799a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f07bb799dec in QEventLoop::exec (this=0x7f0798a76db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f07bb6a42fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f07bb7795f8 in QInotifyFileSystemWatcherEngine::run (this=0x2d0e2f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f07bb6a727e in QThreadPrivate::start (arg=0x2d0e2f0) at thread/qthread_unix.cpp:266
#9  0x00007f07bb41c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f07b9cf192d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f078e7fc710 (LWP 15542)):
#0  0x00007f07b9ce51e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f07bdc8979c in net::Poll::poll (this=0x24de330, timeout=<value optimized out>) at ../../src/net/poll.cpp:99
#2  0x00007f07bdc85700 in net::DownloadThread::waitForSocketReady (this=0x24de320) at ../../src/net/downloadthread.cpp:128
#3  0x00007f07bdc857e6 in net::DownloadThread::update (this=0x7f079019a150) at ../../src/net/downloadthread.cpp:48
#4  0x00007f07bdc862c9 in net::NetworkThread::run (this=0x24de320) at ../../src/net/networkthread.cpp:48
#5  0x00007f07bb6a727e in QThreadPrivate::start (arg=0x24de320) at thread/qthread_unix.cpp:266
#6  0x00007f07bb41c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f07b9cf192d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f078dffb710 (LWP 15543)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f07bb6a6845 in thread_sleep (ti=0x7f078dffada0) at thread/qthread_unix.cpp:416
#2  0x00007f07bb6a69b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f07bdc8507d in net::UploadThread::update (this=0x24de990) at ../../src/net/uploadthread.cpp:89
#4  0x00007f07bdc862c9 in net::NetworkThread::run (this=0x24de990) at ../../src/net/networkthread.cpp:48
#5  0x00007f07bb6a727e in QThreadPrivate::start (arg=0x24de990) at thread/qthread_unix.cpp:266
#6  0x00007f07bb41c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f07b9cf192d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f078d7fa710 (LWP 15544)):
#0  0x00007f07b9ce370d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f07b9c7e278 in _IO_new_file_underflow (fp=0x7f07880557a0) at fileops.c:606
#2  0x00007f07b9c7fdfe in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f07b9c7432e in _IO_getline_info (fp=0x7f07880557a0, buf=0x7f07be193000 "RESOLVE-ADDRESS 70.36.210.4\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f07b9c73209 in _IO_fgets (buf=0x7f078d7f90d0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7f07880557a0) at iofgets.c:58
#5  0x00007f0797873fcb in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f0797874435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f07b9d0c578 in __gethostbyaddr_r (addr=0x2e8af64, len=4, type=<value optimized out>, resbuf=0x7f078d7f9b50, buffer=<value optimized out>, buflen=<value optimized out>, result=0x7f078d7f9b80, h_errnop=0x7f078d7f9b8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f07b9d12b6b in getnameinfo (sa=0x2e8af60, addrlen=<value optimized out>, host=0x7f078d7f9cb0 "", hostlen=199, serv=0x7f078d7f9be0 "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0x00007f07bdc88f4f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00007f07bdc88ff0 in net::ReverseResolver::run (this=0x35be4d0) at ../../src/net/reverseresolver.cpp:73
#11 0x00007f07bdc891dd in net::ReverseResolverThread::run (this=0x7f0790003640) at ../../src/net/reverseresolver.cpp:118
#12 0x00007f07bb6a727e in QThreadPrivate::start (arg=0x7f0790003640) at thread/qthread_unix.cpp:266
#13 0x00007f07bb41c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f07b9cf192d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f07be16e760 (LWP 15068)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f07b970c0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f07b97224c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007f07bdc6e4ab in bt::SHA1HashGen::update (this=0x39d3100, data=0x7f07be194000 "\313\277\374\070\032", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f07bdca90e3 in bt::ChunkDownload::updateHash (this=0x39d3040) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f07bdcab2e8 in bt::ChunkDownload::piece (this=0x39d3040, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f07bdcb1bde in bt::Downloader::pieceReceived (this=0x383dbb0, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f07bdc95315 in bt::Peer::packetReady (this=0x3282950, packet=0x7f07a4358c80 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007f07bdca0248 in bt::PacketReader::update (this=0x37297b0) at ../../src/peer/packetreader.cpp:141
#15 0x00007f07bdc940d5 in bt::Peer::update (this=0x3282950) at ../../src/peer/peer.cpp:538
#16 0x00007f07bdc99995 in bt::PeerManager::update (this=0x384ef00) at ../../src/peer/peermanager.cpp:144
#17 0x00007f07bdccb8a4 in bt::TorrentControl::update (this=0x2e6d7f0) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x00000000004289fb in kt::Core::update (this=0x7f07a4003fc0) at ../../ktorrent/core.cpp:1030
#19 0x0000000000431222 in kt::Core::qt_metacall (this=0x7f07a4003fc0, _c=QMetaObject::InvokeMetaMethod, _id=-2012422456, _a=0x7ffff3373a70) at ./core.moc:167
#20 0x00007f07bb7b2b27 in QMetaObject::activate (sender=0x7f07a4003fe8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3280
#21 0x00007f07bb7ac8f9 in QObject::event (this=0x7f07a4003fe8, e=0x7f07be195000) at kernel/qobject.cpp:1183
#22 0x00007f07ba8e4fdc in QApplicationPrivate::notify_helper (this=0x251a030, receiver=0x7f07a4003fe8, e=0x7ffff33741a0) at kernel/qapplication.cpp:4396
#23 0x00007f07ba8eaaed in QApplication::notify (this=0x7ffff33744d0, receiver=0x7f07a4003fe8, e=0x7ffff33741a0) at kernel/qapplication.cpp:4277
#24 0x0000000000437d1a in kt::App::notify (this=0x7f07880ceec8, receiver=0x7f07be195000, event=0x4000) at ../../ktorrent/app.cpp:97
#25 0x00007f07bb79acdc in QCoreApplication::notifyInternal (this=0x7ffff33744d0, receiver=0x7f07a4003fe8, event=0x7ffff33741a0) at kernel/qcoreapplication.cpp:732
#26 0x00007f07bb7ca6f2 in sendEvent (this=0x250d410) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x250d410) at kernel/qeventdispatcher_unix.cpp:602
#28 0x00007f07bb7c74c8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#30 0x00007f07b4b3c342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f07b4b402a8 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f07b4b4045c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f07bb7c7193 in QEventDispatcherGlib::processEvents (this=0x24dc320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#34 0x00007f07ba997a4e in QGuiEventDispatcherGlib::processEvents (this=0x7f07880ceec8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f07bb799a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f07bb799dec in QEventLoop::exec (this=0x7ffff3374440, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f07bb79debb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 253849, bug 251826, bug 251738, bug 251303, bug 250492.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-12 01:08:26 UTC

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