Bug 278911 - KTorrent crashed with Chrome open and a movie running
Summary: KTorrent crashed with Chrome open and a movie running
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-07-31 07:27 UTC by piotrek.szz
Modified: 2011-08-03 23:07 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 piotrek.szz 2011-07-31 07:27:30 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-33-generic x86_64
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
KTorrent crashed with Chrome open and a movie running in VLC. This happened after several hours of downloading without any changes done to the software itself or to the running apps.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7f788e390700 (LWP 20094)):
#0  0x00007f78a50cef93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f78a8fe1aa9 in net::DownloadThread::waitForSocketReady (this=0x72c950) at ../../libbtcore/net/downloadthread.cpp:188
#2  0x00007f78a8fe1b66 in net::DownloadThread::update (this=0x7f78800b8350) at ../../libbtcore/net/downloadthread.cpp:53
#3  0x00007f78a8fe26e9 in net::NetworkThread::run (this=0x72c950) at ../../libbtcore/net/networkthread.cpp:48
#4  0x00007f78a6a53775 in QThreadPrivate::start (arg=0x72c950) at thread/qthread_unix.cpp:248
#5  0x00007f78a67c39ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f78a50db70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f789054b700 (LWP 20095)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f78a6a5472b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x72cf20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x72cf20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f78a8fe160c in net::UploadThread::update (this=0x72ceb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f78a8fe26e9 in net::NetworkThread::run (this=0x72ceb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f78a6a53775 in QThreadPrivate::start (arg=0x72ceb0) at thread/qthread_unix.cpp:248
#6  0x00007f78a67c39ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f78a50db70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f788eb91700 (LWP 20096)):
#0  0x00007f78a50cd4bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f78a5068348 in _IO_new_file_underflow (fp=0x7f7880006dc0) at fileops.c:606
#2  0x00007f78a5069eee in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f78a505e43e in _IO_getline_info (fp=0x7f7880006dc0, buf=0x7f78a92ed000 "RESOLVE-ADDRESS 202.182.75.184\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f78a505d329 in _IO_fgets (buf=0x7f788eb900d0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7f7880006dc0) at iofgets.c:58
#5  0x00007f787ba10fcb in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f787ba11435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f78a50f6258 in __gethostbyaddr_r (addr=0x1dd3a64, len=4, type=<value optimized out>, resbuf=0x7f788eb90b50, buffer=<value optimized out>, buflen=<value optimized out>, 
    result=0x7f788eb90b80, h_errnop=0x7f788eb90b8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f78a50fc84b in *__GI_getnameinfo (sa=0x1dd3a60, addrlen=<value optimized out>, host=0x7f788eb90cb0 "", hostlen=199, serv=0x7f788eb90be0 "", servlen=199, flags=<value optimized out>)
    at getnameinfo.c:223
#9  0x00007f78a8fe50af in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64
#10 0x00007f78a8fe5150 in net::ReverseResolver::run (this=0x1d9cf60) at ../../libbtcore/net/reverseresolver.cpp:73
#11 0x00007f78a8fe5247 in net::ReverseResolverThread::run (this=0x7f7888266300) at ../../libbtcore/net/reverseresolver.cpp:118
#12 0x00007f78a6a53775 in QThreadPrivate::start (arg=0x7f7888266300) at thread/qthread_unix.cpp:248
#13 0x00007f78a67c39ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f78a50db70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f78a94ab760 (LWP 20056)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f78a4af60b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f78a4b0c4c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f78a8fcd7bb in bt::SHA1HashGen::update (this=0x1226b70, 
    data=0x7f78a94c2de4 "\227\240\023\336V\006\265(\342l\354\331\n\034A7\352@2\235\322\377\337\312\231\061\241{\263X\033\232\311?XQ\031\231\021#P\021\004=\251r\323\374\273\207k`Z4\345\237\224\261\220\020\061\262\021\316NcH=\353R@\v\254\316\230w~b\rG2\bs(\206\304]\251&u_V\245\246[\006\365]\032P\307\n\221\224\336\017i\362A;\214\v^\341\312\032\334\344F\363\b\376,\251Tf\343\360\352\360\303\336\347\367g\350\336\ai\337-\346\373\315H\021\304\321\334\204Z\214/]ae\204\256[\006\327\031\210\323*\343\006at\353u\261\204\250\266\327", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007f78a9000072 in bt::ChunkDownload::updateHash (this=0x1226ab0) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007f78a90018f8 in bt::ChunkDownload::piece (this=0x1226ab0, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007f78a9007d3e in bt::Downloader::pieceReceived (this=0xb9ba20, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007f78a8fef681 in bt::Peer::packetReady (this=0x7f788914b690, packet=0x7f78800b42d0 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007f78a8ff8c78 in bt::PacketReader::update (this=0x7f7888d20fa0) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007f78a8fef045 in bt::Peer::update (this=0x7f788914b690) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007f78a8ff30d0 in bt::PeerManager::update (this=0xb370e0) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007f78a902125a in bt::TorrentControl::update (this=0xb3a170) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0x7f7888003870) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0x7f7888003870, _c=QMetaObject::InvokeMetaMethod, _id=222, _a=0x7fff64ac40d0) at ./core.moc:155
#19 0x00007f78a6b5ae3f in QMetaObject::activate (sender=0x7f7888003898, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7bc) at kernel/qobject.cpp:3293
#20 0x00007f78a6b57a63 in QObject::event (this=0x7f7888003898, e=0x7fff64ac4820) at kernel/qobject.cpp:1212
#21 0x00007f78a5ce422c in QApplicationPrivate::notify_helper (this=0x759690, receiver=0x7f7888003898, e=0x7fff64ac4820) at kernel/qapplication.cpp:4300
#22 0x00007f78a5cea6fb in QApplication::notify (this=0x7fff64ac4b50, receiver=0x7f7888003898, e=0x7fff64ac4820) at kernel/qapplication.cpp:4183
#23 0x00007f78a818ea16 in KApplication::notify (this=0x7fff64ac4b50, receiver=0x7f7888003898, event=0x7fff64ac4820) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f78a6b4806c in QCoreApplication::notifyInternal (this=0x7fff64ac4b50, receiver=0x7f7888003898, event=0x7fff64ac4820) at kernel/qcoreapplication.cpp:704
#25 0x00007f78a6b74d42 in QCoreApplication::sendEvent (this=0x7611c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x7611c0) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f78a6b71848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#29 0x00007f78a175c8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f78a1760748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f78a17608fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f78a6b71513 in QEventDispatcherGlib::processEvents (this=0x72a980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f78a5d9446e in QGuiEventDispatcherGlib::processEvents (this=0x7f788956be64, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f78a6b46992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f78a6b46d6c in QEventLoop::exec (this=0x7fff64ac4ac0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f78a6b4aaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 278416, bug 277490, bug 274602, bug 273240, bug 272289.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-03 23:07:46 UTC

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