Bug 280900 - Ktorrent crashes without warning
Summary: Ktorrent crashes without warning
Status: RESOLVED DUPLICATE of bug 268162
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: 2011-08-27 21:40 UTC by Cody Smith
Modified: 2011-08-28 19:38 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 Cody Smith 2011-08-27 21:40:47 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
I was just browsing the web in Google Chrome (not watching videos) and downloading a few patches for games using Ktorrent, I'm running Kubuntu 11.04 AMD64 on a Compaq Presario CQ60-420US laptop, and Ktorrent just up and crashed (no warning) and when I restarted it, it ran just fine.

The crash does not seem to be reproducible.

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

Thread 6 (Thread 0x7f6d91dc1700 (LWP 1713)):
#0  0x00007f6d9efbec32 in __pthread_getspecific (key=<value optimized out>) at pthread_getspecific.c:62
#1  0x00007f6da3e68241 in get_thread_data () at thread/qthread_unix.cpp:161
#2  QThreadData::current () at thread/qthread_unix.cpp:199
#3  0x00007f6da3f79e99 in postEventSourcePrepare (s=0x18877b0, timeout=0x7f6d91dc0c4c) at kernel/qeventdispatcher_glib.cpp:254
#4  0x00007f6d9e0aa0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6d9e0aaf9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6d9e0ab639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f6da3f7a446 in QEventDispatcherGlib::processEvents (this=0xe43f90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f6da3f4e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f6da3f4eabc in QEventLoop::exec (this=0x7f6d91dc0dd0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f6da3e65924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#11 0x00007f6da3f30c2f in QInotifyFileSystemWatcherEngine::run (this=0x186bce0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f6da3e68175 in QThreadPrivate::start (arg=0x186bce0) at thread/qthread_unix.cpp:320
#13 0x00007f6d9efb8d8c in start_thread (arg=0x7f6d91dc1700) at pthread_create.c:304
#14 0x00007f6da270404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6d7ec4d700 (LWP 2080)):
#0  net::Socket::ok (this=0x2462600) at ../../src/net/socket.h:49
#1  0x00007f6da5d65413 in net::DownloadThread::waitForSocketReady (this=0xddb1d0) at ../../src/net/downloadthread.cpp:121
#2  0x00007f6da5d65536 in net::DownloadThread::update (this=0xddb1d0) at ../../src/net/downloadthread.cpp:48
#3  0x00007f6da5d65719 in net::NetworkThread::run (this=0xddb1d0) at ../../src/net/networkthread.cpp:48
#4  0x00007f6da3e68175 in QThreadPrivate::start (arg=0xddb1d0) at thread/qthread_unix.cpp:320
#5  0x00007f6d9efb8d8c in start_thread (arg=0x7f6d7ec4d700) at pthread_create.c:304
#6  0x00007f6da270404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6d7f44e700 (LWP 2081)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f6da3e67f28 in thread_sleep (ti=0x7f6d7f44dda0) at thread/qthread_unix.cpp:470
#2  0x00007f6da3e68080 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:496
#3  0x00007f6da5d64f08 in net::UploadThread::update (this=0xddbbd0) at ../../src/net/uploadthread.cpp:89
#4  0x00007f6da5d65719 in net::NetworkThread::run (this=0xddbbd0) at ../../src/net/networkthread.cpp:48
#5  0x00007f6da3e68175 in QThreadPrivate::start (arg=0xddbbd0) at thread/qthread_unix.cpp:320
#6  0x00007f6d9efb8d8c in start_thread (arg=0x7f6d7f44e700) at pthread_create.c:304
#7  0x00007f6da270404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6d80450700 (LWP 2082)):
#0  0x00007f6da26f6f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6d7d6317cf in send_dg (statp=0x7f6d80450db8, buf=0x7f6d8044e9e0 "\302\301\001", buflen=44, buf2=0x0, buflen2=0, ans=0x7f6d8044ebb0 "V\\\201\200", anssiz=1024, ansp=0x7f6d8044f440, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1066
#2  __libc_res_nsend (statp=0x7f6d80450db8, buf=0x7f6d8044e9e0 "\302\301\001", buflen=44, buf2=0x0, buflen2=0, ans=0x7f6d8044ebb0 "V\\\201\200", anssiz=1024, ansp=0x7f6d8044f440, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#3  0x00007f6d7d62f215 in __libc_res_nquery (statp=0x7f6d80450db8, name=0x7f6d8044f030 "241.129.72.78.in-addr.arpa", class=1, type=12, answer=0x7f6d8044ebb0 "V\\\201\200", anslen=1024, answerp=0x7f6d8044f440, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#4  0x00007f6d7d843bd0 in _nss_dns_gethostbyaddr2_r (addr=0x220af84, len=<value optimized out>, af=<value optimized out>, result=0x7f6d8044fb60, buffer=0x7f6d8044f530 "\377\002", buflen=1024, errnop=0x7f6d80450660, h_errnop=0x7f6d8044fbb0, ttlp=0x0) at nss_dns/dns-host.c:471
#5  0x00007f6da271e228 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0x7f6d8044fb60, buffer=0x7f6d8044f530 "\377\002", buflen=1024, result=0x7f6d8044fba0, h_errnop=0x7f6d8044fbb0) at ../nss/getXXbyYY_r.c:256
#6  0x00007f6da27248c5 in getnameinfo (sa=0x220af80, addrlen=<value optimized out>, host=0x7f6d8044fce0 "", hostlen=199, serv=0x7f6d8044fc10 "", servlen=199, flags=8) at getnameinfo.c:223
#7  0x00007f6da5d67c2f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#8  0x00007f6da5d67cc7 in net::ReverseResolver::run (this=0x201c9d0) at ../../src/net/reverseresolver.cpp:73
#9  0x00007f6da5d68047 in net::ReverseResolverThread::run (this=0x1b0c920) at ../../src/net/reverseresolver.cpp:118
#10 0x00007f6da3e68175 in QThreadPrivate::start (arg=0x1b0c920) at thread/qthread_unix.cpp:320
#11 0x00007f6d9efb8d8c in start_thread (arg=0x7f6d80450700) at pthread_create.c:304
#12 0x00007f6da270404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6d7fc4f700 (LWP 3060)):
#0  0x00007f6da26f6f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6d9e0ab104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6d9e0ab639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6da3f7a446 in QEventDispatcherGlib::processEvents (this=0x207b4c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f6da3f4e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6da3f4eabc in QEventLoop::exec (this=0x7f6d7fc4edd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f6da3e65924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f6da3f30c2f in QInotifyFileSystemWatcherEngine::run (this=0x207af30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6da3e68175 in QThreadPrivate::start (arg=0x207af30) at thread/qthread_unix.cpp:320
#9  0x00007f6d9efb8d8c in start_thread (arg=0x7f6d7fc4f700) at pthread_create.c:304
#10 0x00007f6da270404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6da6239780 (LWP 1580)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f6da21220b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f6da21384c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007f6da5d510ca in bt::SHA1HashGen::update (this=0x2388af0, data=0x7f6da6083e4f "\364\214B!\201p\261\204g\022\342\027\230\263\023X\222\224M0\250!z\275\200K\240\327\035\274\200`f[0\335\027[\300\251\241\v\\1%\222$\002\203#\373\304\\U\367)\200\241\266+E\b\217\327\237i\254\211L_xa\030(KQI\020\340\210H\253\244-\025@\252,\342\272qk\224\225v\354\246\221\267\211\306XK%,\275X\202\240\062C\002c\267+\231\305\063D \227\232\207\221\372N\t\033C\352\304\271\310T\345\374:\227\227\377\305t\336\321\016xh\216\207\b\276\341\r\t\210)\250\246e\307&j\252\252\252\377\372\260\200t\354", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f6da5d87881 in bt::ChunkDownload::updateHash (this=0x2388a30) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f6da5d894d7 in bt::ChunkDownload::piece (this=0x2388a30, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f6da5d8d857 in bt::Downloader::pieceReceived (this=0x1f3a880, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f6da5d77d6c in bt::Peer::packetReady (this=0x24b5740, packet=0x7f6d8c0576b0 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007f6da5d802f8 in bt::PacketReader::update (this=0x2103a60) at ../../src/peer/packetreader.cpp:141
#15 0x00007f6da5d75f35 in bt::Peer::update (this=0x24b5740) at ../../src/peer/peer.cpp:538
#16 0x00007f6da5d7a859 in bt::PeerManager::update (this=0x21060d0) at ../../src/peer/peermanager.cpp:144
#17 0x00007f6da5da84cf in bt::TorrentControl::update (this=0x2018730) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x0000000000429ebd in kt::Core::update (this=0xfd2280) at ../../ktorrent/core.cpp:1025
#19 0x0000000000430bc1 in kt::Core::qt_metacall (this=0xfd2280, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff196b2fa0) at ./core.moc:169
#20 0x00007f6da3f645f8 in QMetaObject::activate (sender=0xfd22a8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#21 0x00007f6da3f631c9 in QObject::event (this=0xfd22a8, e=<value optimized out>) at kernel/qobject.cpp:1190
#22 0x00007f6da330c9f4 in QApplicationPrivate::notify_helper (this=0xe4f490, receiver=0xfd22a8, e=0x7fff196b3680) at kernel/qapplication.cpp:4462
#23 0x00007f6da33113ba in QApplication::notify (this=<value optimized out>, receiver=0xfd22a8, e=0x7fff196b3680) at kernel/qapplication.cpp:4341
#24 0x0000000000437d91 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../ktorrent/app.cpp:97
#25 0x00007f6da3f4f49c in QCoreApplication::notifyInternal (this=0x7fff196b3960, receiver=0xfd22a8, event=0x7fff196b3680) at kernel/qcoreapplication.cpp:731
#26 0x00007f6da3f7cf12 in sendEvent (this=0xe4ef60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0xe4ef60) at kernel/qeventdispatcher_unix.cpp:604
#28 0x00007f6da3f79d18 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 0x00007f6d9e0aabcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6d9e0ab3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f6d9e0ab639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f6da3f7a3ef in QEventDispatcherGlib::processEvents (this=0xdd2340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f6da33b64de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f6da3f4e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f6da3f4eabc in QEventLoop::exec (this=0x7fff196b38f0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f6da3f52ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x00000000004271ef in main (argc=3, argv=0x7fff196b4718) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 280684, bug 280675, bug 280472, bug 280358, bug 280281.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-28 19:38:04 UTC

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