Bug 254562

Summary: Ktorrent crashed
Product: [Applications] ktorrent Reporter: Prasad Murthy <phoenix_firebrd>
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 Prasad Murthy 2010-10-18 18:23:24 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:
no other forground apps where running except Ktorrent, Ktorrent was downloading some files.

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

Thread 7 (Thread 0xb4effb70 (LWP 29511)):
#0  0x013f1e36 in clock_gettime (clock_id=20930548, tp=0xb4efefb0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0109650b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x0116d6e5 in QTimerInfoList::updateCurrentTime (this=0x87beeb4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0116d72a in QTimerInfoList::timerWait (this=0x87beeb4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0116b7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4eff0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x02e55e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x02e56279 in ?? () from /lib/libglib-2.0.so.0
#8  0x02e56848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0116b59f in QEventDispatcherGlib::processEvents (this=0x86c1b60, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#10 0x0113b609 in QEventLoop::processEvents (this=0xb4eff290, flags=) at kernel/qeventloop.cpp:149
#11 0x0113ba8a in QEventLoop::exec (this=0xb4eff290, flags=...) at kernel/qeventloop.cpp:201
#12 0x01037b7e in QThread::exec (this=0x87b77b8) at thread/qthread.cpp:490
#13 0x0054a39e in utp::UTPServerThread::run (this=0x87b77b8) at ../../src/utp/utpserverthread.cpp:44
#14 0x0103adf9 in QThreadPrivate::start (arg=0x87b77b8) at thread/qthread_unix.cpp:266
#15 0x00422cc9 in start_thread (arg=0xb4effb70) at pthread_create.c:304
#16 0x040146ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb46feb70 (LWP 29512)):
#0  0x0071b416 in __kernel_vsyscall ()
#1  0x0400d381 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x0050c8db in dht::RPCServerThread::run (this=0x87c0258) at ../../src/dht/rpcserver.cpp:107
#3  0x0103adf9 in QThreadPrivate::start (arg=0x87c0258) at thread/qthread_unix.cpp:266
#4  0x00422cc9 in start_thread (arg=0xb46feb70) at pthread_create.c:304
#5  0x040146ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xafcf5b70 (LWP 29561)):
#0  0x0049f47c in net::DownloadThread::waitForSocketReady (this=0x869f978) at ../../src/net/downloadthread.cpp:121
#1  0x0049f5af in net::DownloadThread::update (this=0x869f978) at ../../src/net/downloadthread.cpp:48
#2  0x004a0178 in net::NetworkThread::run (this=0x869f978) at ../../src/net/networkthread.cpp:48
#3  0x0103adf9 in QThreadPrivate::start (arg=0x869f978) at thread/qthread_unix.cpp:266
#4  0x00422cc9 in start_thread (arg=0xafcf5b70) at pthread_create.c:304
#5  0x040146ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb2733b70 (LWP 29562)):
#0  0x0071b416 in __kernel_vsyscall ()
#1  0x004274dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x01039ef2 in QMutexPrivate::wait (this=0x869f910, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x010355ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0x0049d890 in net::SocketMonitor::lock (this=0x8116890) at ../../src/net/socketmonitor.cpp:82
#5  0x0049e882 in net::UploadThread::waitForSocketsReady (this=0x869fd80) at ../../src/net/uploadthread.cpp:112
#6  0x0049eaff in net::UploadThread::update (this=0x869fd80) at ../../src/net/uploadthread.cpp:45
#7  0x004a0178 in net::NetworkThread::run (this=0x869fd80) at ../../src/net/networkthread.cpp:48
#8  0x0103adf9 in QThreadPrivate::start (arg=0x869fd80) at thread/qthread_unix.cpp:266
#9  0x00422cc9 in start_thread (arg=0xb2733b70) at pthread_create.c:304
#10 0x040146ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb1e0eb70 (LWP 29563)):
#0  0x0071b416 in __kernel_vsyscall ()
#1  0x04003eeb in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x03fac33b in _IO_new_file_underflow (fp=0xadc63ab8) at fileops.c:606
#3  0x03fadc0b in _IO_default_uflow (fp=0xadc63ab8) at genops.c:440
#4  0x03faf028 in __uflow (fp=0xadc63ab8) at genops.c:394
#5  0x03fa204c in _IO_getline_info (fp=0xadc63ab8, buf=0xb1e0d680 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#6  0x03fa1f91 in _IO_getline (fp=0xadc63ab8, buf=0xb1e0d680 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1) at iogetline.c:42
#7  0x03fa0f9a in _IO_fgets (buf=0xb1e0d680 "-15 Timeout reached\n", n=256, fp=0xadc63ab8) at iofgets.c:58
#8  0x07a95cd4 in ?? () from /lib/libnss_mdns4.so.2
#9  0x07a96177 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x0402b9df in __gethostbyaddr_r (addr=0xa258934, len=4, type=2, resbuf=0xb1e0e044, buffer=0xb1e0da80 "\377\002", buflen=1024, result=0xb1e0e074, h_errnop=0xb1e0e078) at ../nss/getXXbyYY_r.c:253
#11 0x04030f3b in getnameinfo (sa=0xa258930, addrlen=16, host=0xb1e0e194 "", hostlen=199, serv=0xb1e0e0cc "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#12 0x004a355b in net::ReverseResolver::resolve (this=0xa360958, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x004a35f3 in net::ReverseResolver::run (this=0xa360958) at ../../src/net/reverseresolver.cpp:73
#14 0x004a3815 in net::ReverseResolverThread::run (this=0x908b6f0) at ../../src/net/reverseresolver.cpp:118
#15 0x0103adf9 in QThreadPrivate::start (arg=0x908b6f0) at thread/qthread_unix.cpp:266
#16 0x00422cc9 in start_thread (arg=0xb1e0eb70) at pthread_create.c:304
#17 0x040146ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb14ffb70 (LWP 29564)):
#0  0x02e55ccc in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x02e56279 in ?? () from /lib/libglib-2.0.so.0
#2  0x02e56848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0116b59f in QEventDispatcherGlib::processEvents (this=0x962f8d0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x0113b609 in QEventLoop::processEvents (this=0xb14ff290, flags=) at kernel/qeventloop.cpp:149
#5  0x0113ba8a in QEventLoop::exec (this=0xb14ff290, flags=...) at kernel/qeventloop.cpp:201
#6  0x01037b7e in QThread::exec (this=0xb34e0e78) at thread/qthread.cpp:490
#7  0x0111a35b in QInotifyFileSystemWatcherEngine::run (this=0xb34e0e78) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0103adf9 in QThreadPrivate::start (arg=0xb34e0e78) at thread/qthread_unix.cpp:266
#9  0x00422cc9 in start_thread (arg=0xb14ffb70) at pthread_create.c:304
#10 0x040146ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7857710 (LWP 29509)):
[KCrash Handler]
#7  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:100
#8  0x05da9016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x05dc0167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x004858ff in bt::SHA1HashGen::update (this=0x9ab5d88, data=0xb514133a "$2\224\347\337D\002|\002\326\211\337i\262\363\271O\353\302}\246j\030\260\326\335\227\224\275P\037\017\212\272A\340\274\312\240\230+\266v\200\177\333\234^\364\035trsm\305\n\202\360\365\217\251\031\266.\032\303\r4U\272\002|\215\262\230\177\370\277\272\340\345\"\236=\377\n\276\355\303\310\203\260.\t\245\333\356\361\210,\321;`\212}\274o\305\036\342Oix\322Q\244Q+N\224ZJ\227\r\b\221\322\005\270&\304\210RL\262\375\321\216\"\v\325*\300[\274\265\376\205\331\067\071M\332\310\370NW\237\270\063\036\322\336\016\025R\326/\250\006\341v\324 b!MH\341\241o\236Fa\307\023\201\317\353\230\344\230\323\374.Z*\203\265\344"..., len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x004c731d in bt::ChunkDownload::updateHash (this=0x9ab5d18) at ../../src/download/chunkdownload.cpp:555
#12 0x004c9615 in bt::ChunkDownload::piece (this=0x9ab5d18, p=..., ok=@0xbfbb378f) at ../../src/download/chunkdownload.cpp:127
#13 0x004d0219 in bt::Downloader::pieceReceived (this=0x8d208e0, p=...) at ../../src/download/downloader.cpp:134
#14 0x004b3bef in bt::PeerManager::pieceReceived (this=0x8cb4508, p=...) at ../../src/peer/peermanager.cpp:674
#15 0x004b19da in bt::Peer::packetReady (this=0xa7fabb8, packet=0xacc7e590 "\a", len=16393) at ../../src/peer/peer.cpp:283
#16 0x004bd489 in bt::PacketReader::update (this=0xb02fb20) at ../../src/peer/packetreader.cpp:141
#17 0x004b0609 in bt::Peer::update (this=0xa7fabb8) at ../../src/peer/peer.cpp:538
#18 0x004b637e in bt::PeerManager::update (this=0x8cb4508) at ../../src/peer/peermanager.cpp:144
#19 0x004ecd2d in bt::TorrentControl::update (this=0x8c734f0) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x080690f3 in kt::Core::update (this=0x87b2578) at ../../ktorrent/core.cpp:1030
#21 0x080716cd in kt::Core::qt_metacall (this=0x87b2578, _c=QMetaObject::InvokeMetaMethod, _id=-1078249924, _a=0xbfbb3b2c) at ./core.moc:167
#22 0x011428ca in QMetaObject::metacall (object=0x87b2578, cl=2255, idx=22, argv=0xbfbb3b2c) at kernel/qmetaobject.cpp:237
#23 0x011556ad in QMetaObject::activate (sender=0x87b258c, m=0x126f5a4, local_signal_index=0, argv=0xbfbb363c) at kernel/qobject.cpp:3280
#24 0x011a71e7 in QTimer::timeout (this=0x87b258c) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x0115b1ce in QTimer::timerEvent (this=0x87b258c, e=0xbfbb4030) at kernel/qtimer.cpp:271
#26 0x0114f504 in QObject::event (this=0x87b258c, e=0xbb46700) at kernel/qobject.cpp:1183
#27 0x047affdc in QApplicationPrivate::notify_helper (this=0x86c3070, receiver=0x87b258c, e=0xbfbb4030) at kernel/qapplication.cpp:4396
#28 0x047b604e in QApplication::notify (this=0xbfbb4380, receiver=0x87b258c, e=0xbfbb4030) at kernel/qapplication.cpp:3798
#29 0x080783dc in kt::App::notify (this=0x8cf, receiver=0xbb46700, event=0xbfbb363c) at ../../ktorrent/app.cpp:97
#30 0x0113cb3b in QCoreApplication::notifyInternal (this=0xbfbb4380, receiver=0x87b258c, event=0xbfbb4030) at kernel/qcoreapplication.cpp:732
#31 0x0116ead6 in sendEvent (this=0x86ca47c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x86ca47c) at kernel/qeventdispatcher_unix.cpp:602
#33 0x0116b8a7 in timerSourceDispatch (source=0x86ca4b0) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x86ca4b0) at kernel/qeventdispatcher_glib.cpp:231
#35 0x02e52855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x02e56668 in ?? () from /lib/libglib-2.0.so.0
#37 0x02e56848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x0116b565 in QEventDispatcherGlib::processEvents (this=0x869e6d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x04871be5 in QGuiEventDispatcherGlib::processEvents (this=0x869e6d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x0113b609 in QEventLoop::processEvents (this=0xbfbb42f4, flags=) at kernel/qeventloop.cpp:149
#41 0x0113ba8a in QEventLoop::exec (this=0xbfbb42f4, flags=...) at kernel/qeventloop.cpp:201
#42 0x0114000f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x047aee07 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x08066e91 in main (argc=5, argv=0xbfbb4784) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 246320.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-18 18:54:55 UTC

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