Bug 250492 - Ktorrent random crash
Summary: Ktorrent random crash
Status: RESOLVED DUPLICATE of bug 227400
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: 2010-09-07 21:01 UTC by Daniel
Modified: 2010-09-08 18:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2010-09-07 21:01:00 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Ktorrent crashes randomly. I was using Okular when this happened

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7f7e9d402710 (LWP 5784)):
#0  net::DownloadThread::waitForSocketReady (this=0x12c8950) at /usr/include/c++/4.4/bits/stl_list.h:708
#1  0x00007f7ebe1e4b66 in net::DownloadThread::update (this=0x7f7ebe4ae640) at ../../libbtcore/net/downloadthread.cpp:53
#2  0x00007f7ebe1e56e9 in net::NetworkThread::run (this=0x12c8950) at ../../libbtcore/net/networkthread.cpp:48
#3  0x00007f7ebbc57775 in QThreadPrivate::start (arg=0x12c8950) at thread/qthread_unix.cpp:248
#4  0x00007f7ebb9c79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f7eba2df6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7e9cc01710 (LWP 5785)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7ebbc5872b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x12c8f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12c8f20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7ebe1e460c in net::UploadThread::update (this=0x12c8eb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f7ebe1e56e9 in net::NetworkThread::run (this=0x12c8eb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f7ebbc57775 in QThreadPrivate::start (arg=0x12c8eb0) at thread/qthread_unix.cpp:248
#6  0x00007f7ebb9c79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f7eba2df6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7e9c400710 (LWP 5786)):
#0  0x00007f7eba2d2f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7e9eee6383 in ?? () from /usr/lib/libresolv.so
#2  0x00007f7e9eee8004 in ?? () from /usr/lib/libresolv.so
#3  0x00007f7e9eee4665 in __libc_res_nquery () from /usr/lib/libresolv.so
#4  0x00007f7e9ead6021 in *__GI__nss_dns_gethostbyaddr2_r (addr=<value optimized out>, len=<value optimized out>, af=2, result=<value optimized out>, buffer=<value optimized out>, 
    buflen=<value optimized out>, errnop=0x7f7e9c400698, h_errnop=0x7f7e9c3ffb8c, ttlp=0x0) at nss_dns/dns-host.c:465
#5  0x00007f7e9ead6195 in _nss_dns_gethostbyaddr_r (addr=0x7f7e9c3fe810, len=1, af=5000, result=0xffffffffffffffff, buffer=0x0, buflen=0, errnop=0x7f7e9c400698, h_errnop=0x7f7e9c3ffb8c)
    at nss_dns/dns-host.c:524
#6  0x00007f7eba2fa248 in __gethostbyaddr_r (addr=0x7f7eacb55474, len=4, type=<value optimized out>, resbuf=0x7f7e9c3ffb50, buffer=<value optimized out>, buflen=<value optimized out>, result=
    0x7f7e9c3ffb80, h_errnop=0x7f7e9c3ffb8c) at ../nss/getXXbyYY_r.c:253
#7  0x00007f7eba30083b in *__GI_getnameinfo (sa=0x7f7eacb55470, addrlen=<value optimized out>, host=0x7f7e9c3ffcb0 "", hostlen=199, serv=0x7f7e9c3ffbe0 "", servlen=199, flags=<value optimized out>)
    at getnameinfo.c:223
#8  0x00007f7ebe1e80af in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64
#9  0x00007f7ebe1e8150 in net::ReverseResolver::run (this=0x7f7eac8bd1a0) at ../../libbtcore/net/reverseresolver.cpp:73
#10 0x00007f7ebe1e8247 in net::ReverseResolverThread::run (this=0x7f7eac7b2e10) at ../../libbtcore/net/reverseresolver.cpp:118
#11 0x00007f7ebbc57775 in QThreadPrivate::start (arg=0x7f7eac7b2e10) at thread/qthread_unix.cpp:248
#12 0x00007f7ebb9c79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007f7eba2df6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7ebe6b2760 (LWP 5767)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f7eb9cfa0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f7eb9d104c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f7ebe1d07bb in bt::SHA1HashGen::update (this=0x7f7eac902d70, data=0x7f7eb005a000 "\001GO\270/\326\273R\223\005k\t\203", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007f7ebe203072 in bt::ChunkDownload::updateHash (this=0x7f7eac902cb0) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007f7ebe2048f8 in bt::ChunkDownload::piece (this=0x7f7eac902cb0, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007f7ebe20ad3e in bt::Downloader::pieceReceived (this=0x7f7eac2b1070, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007f7ebe1f2681 in bt::Peer::packetReady (this=0x7f7eac86a980, packet=0x1535fc0 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007f7ebe1fbc78 in bt::PacketReader::update (this=0x7f7eac8e70b0) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007f7ebe1f2045 in bt::Peer::update (this=0x7f7eac86a980) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007f7ebe1f60d0 in bt::PeerManager::update (this=0x7f7eac28d1a0) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007f7ebe22425a in bt::TorrentControl::update (this=0x7f7eac29f430) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0x7f7eac002e00) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0x7f7eac002e00, _c=QMetaObject::InvokeMetaMethod, _id=-1398320312, _a=0x7fffe1a38930) at ./core.moc:155
#19 0x00007f7ebbd5ee3f in QMetaObject::activate (sender=0x7f7eac002e28, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x400) at kernel/qobject.cpp:3293
#20 0x00007f7ebbd5ba63 in QObject::event (this=0x7f7eac002e28, e=0x7fffe1a39080) at kernel/qobject.cpp:1212
#21 0x00007f7ebaee822c in QApplicationPrivate::notify_helper (this=0x12fba20, receiver=0x7f7eac002e28, e=0x7fffe1a39080) at kernel/qapplication.cpp:4300
#22 0x00007f7ebaeee6fb in QApplication::notify (this=0x7fffe1a393b0, receiver=0x7f7eac002e28, e=0x7fffe1a39080) at kernel/qapplication.cpp:4183
#23 0x00007f7ebd392526 in KApplication::notify (this=0x7fffe1a393b0, receiver=0x7f7eac002e28, event=0x7fffe1a39080) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f7ebbd4c06c in QCoreApplication::notifyInternal (this=0x7fffe1a393b0, receiver=0x7f7eac002e28, event=0x7fffe1a39080) at kernel/qcoreapplication.cpp:704
#25 0x00007f7ebbd78d42 in QCoreApplication::sendEvent (this=0x1306420) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x1306420) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f7ebbd75848 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 0x00007f7eb69618c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f7eb6965748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f7eb69658fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f7ebbd75513 in QEventDispatcherGlib::processEvents (this=0x12c6980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f7ebaf9846e in QGuiEventDispatcherGlib::processEvents (this=0x7f7eaca77348, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f7ebbd4a992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f7ebbd4ad6c in QEventLoop::exec (this=0x7fffe1a39320, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f7ebbd4eaab 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

This bug may be a duplicate of or related to bug 227400.

Possible duplicates by query: bug 247984, bug 247114, bug 246320, bug 242947, bug 240923.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-09-08 18:13:29 UTC

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