Bug 280684 - chrash during long run
Summary: chrash during long run
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-24 06:23 UTC by Robert Sela
Modified: 2011-08-24 16:29 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 Robert Sela 2011-08-24 06:23:28 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:
- What I was doing when the application crashed:
I just left it over night with 6-7 torrents, downloading 3 at a time.

-- Backtrace:
Application: К‑торент (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd5a75be780 (LWP 2353))]

Thread 6 (Thread 0x7fd582d60700 (LWP 2367)):
#0  0x00007fd5a3a77f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd59f42c104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd59f42c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5a52fb446 in QEventDispatcherGlib::processEvents (this=0x1376300, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd5a52cf882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd5a52cfabc in QEventLoop::exec (this=0x7fd582d5fdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd5a51e6924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fd5a52b1c2f in QInotifyFileSystemWatcherEngine::run (this=0x1764ab0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd5a51e9175 in QThreadPrivate::start (arg=0x1764ab0) at thread/qthread_unix.cpp:320
#9  0x00007fd5a0339d8c in start_thread (arg=0x7fd582d60700) at pthread_create.c:304
#10 0x00007fd5a3a8504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd578ff9700 (LWP 2379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd5a51e82b3 in QMutexPrivate::wait (this=0xa0c150, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fd5a51e4ce5 in QMutex::lock (this=0x6d60e8) at thread/qmutex.cpp:167
#3  0x00007fd5a70e654c in net::DownloadThread::update (this=0xa0c1d0) at ../../src/net/downloadthread.cpp:51
#4  0x00007fd5a70e6719 in net::NetworkThread::run (this=0xa0c1d0) at ../../src/net/networkthread.cpp:48
#5  0x00007fd5a51e9175 in QThreadPrivate::start (arg=0xa0c1d0) at thread/qthread_unix.cpp:320
#6  0x00007fd5a0339d8c in start_thread (arg=0x7fd578ff9700) at pthread_create.c:304
#7  0x00007fd5a3a8504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd5787f8700 (LWP 2380)):
#0  0x00007fd5a70e5c40 in net::UploadThread::waitForSocketsReady (this=0xa0cbd0) at ../../src/net/uploadthread.cpp:122
#1  0x00007fd5a70e5d86 in net::UploadThread::update (this=0xa0cbd0) at ../../src/net/uploadthread.cpp:45
#2  0x00007fd5a70e6719 in net::NetworkThread::run (this=0xa0cbd0) at ../../src/net/networkthread.cpp:48
#3  0x00007fd5a51e9175 in QThreadPrivate::start (arg=0xa0cbd0) at thread/qthread_unix.cpp:320
#4  0x00007fd5a0339d8c in start_thread (arg=0x7fd5787f8700) at pthread_create.c:304
#5  0x00007fd5a3a8504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd577ff7700 (LWP 2381)):
#0  0x00007fd5a3a77f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd589c7e7cf in ?? () from /usr/lib/x86_64-linux-gnu/libresolv.so
#2  0x00007fd589c7c215 in __libc_res_nquery () from /usr/lib/x86_64-linux-gnu/libresolv.so
#3  0x00007fd58986abd0 in _nss_dns_gethostbyaddr2_r (addr=0x1a90334, len=<value optimized out>, af=<value optimized out>, result=0x7fd577ff6b60, buffer=0x7fd577ff6530 "\377\002", buflen=1024, errnop=0x7fd577ff7660, h_errnop=0x7fd577ff6bb0, ttlp=0x0) at nss_dns/dns-host.c:471
#4  0x00007fd5a3a9f228 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0x7fd577ff6b60, buffer=0x7fd577ff6530 "\377\002", buflen=1024, result=0x7fd577ff6ba0, h_errnop=0x7fd577ff6bb0) at ../nss/getXXbyYY_r.c:256
#5  0x00007fd5a3aa58c5 in getnameinfo (sa=0x1a90330, addrlen=<value optimized out>, host=0x7fd577ff6ce0 "", hostlen=199, serv=0x7fd577ff6c10 "", servlen=199, flags=8) at getnameinfo.c:223
#6  0x00007fd5a70e8c2f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#7  0x00007fd5a70e8cc7 in net::ReverseResolver::run (this=0x1c79990) at ../../src/net/reverseresolver.cpp:73
#8  0x00007fd5a70e9047 in net::ReverseResolverThread::run (this=0x7fd58400ab70) at ../../src/net/reverseresolver.cpp:118
#9  0x00007fd5a51e9175 in QThreadPrivate::start (arg=0x7fd58400ab70) at thread/qthread_unix.cpp:320
#10 0x00007fd5a0339d8c in start_thread (arg=0x7fd577ff7700) at pthread_create.c:304
#11 0x00007fd5a3a8504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd58a68e700 (LWP 2384)):
#0  0x00007fd5a3a77f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd59f42c104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd59f42c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd5a52fb446 in QEventDispatcherGlib::processEvents (this=0xbfe4d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fd5a52cf882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd5a52cfabc in QEventLoop::exec (this=0x7fd58a68ddd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd5a51e6924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fd5a52b1c2f in QInotifyFileSystemWatcherEngine::run (this=0x19c21c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd5a51e9175 in QThreadPrivate::start (arg=0x19c21c0) at thread/qthread_unix.cpp:320
#9  0x00007fd5a0339d8c in start_thread (arg=0x7fd58a68e700) at pthread_create.c:304
#10 0x00007fd5a3a8504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd5a75be780 (LWP 2353)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007fd5a34a30b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007fd5a34b94c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007fd5a70d20ca in bt::SHA1HashGen::update (this=0x2819fd0, data=0x7fd5a74053b7 "", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007fd5a7108881 in bt::ChunkDownload::updateHash (this=0x2819f10) at ../../src/download/chunkdownload.cpp:555
#11 0x00007fd5a710a4d7 in bt::ChunkDownload::piece (this=0x2819f10, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007fd5a710e857 in bt::Downloader::pieceReceived (this=0x1fbbb40, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007fd5a70f8d6c in bt::Peer::packetReady (this=0x7fd57c124010, packet=0x269de60 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007fd5a71012f8 in bt::PacketReader::update (this=0x7fd57c0067b0) at ../../src/peer/packetreader.cpp:141
#15 0x00007fd5a70f6f35 in bt::Peer::update (this=0x7fd57c124010) at ../../src/peer/peer.cpp:538
#16 0x00007fd5a70fb859 in bt::PeerManager::update (this=0x1fa6810) at ../../src/peer/peermanager.cpp:144
#17 0x00007fd5a71294cf in bt::TorrentControl::update (this=0x2108f00) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x0000000000429ebd in kt::Core::update (this=0xbb65b0) at ../../ktorrent/core.cpp:1025
#19 0x0000000000430bc1 in kt::Core::qt_metacall (this=0xbb65b0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffc4725b00) at ./core.moc:169
#20 0x00007fd5a52e55f8 in QMetaObject::activate (sender=0xbb65d8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#21 0x00007fd5a52e41c9 in QObject::event (this=0xbb65d8, e=<value optimized out>) at kernel/qobject.cpp:1190
#22 0x00007fd5a468d9f4 in QApplicationPrivate::notify_helper (this=0xa85280, receiver=0xbb65d8, e=0x7fffc47261e0) at kernel/qapplication.cpp:4462
#23 0x00007fd5a46923ba in QApplication::notify (this=<value optimized out>, receiver=0xbb65d8, e=0x7fffc47261e0) 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 0x00007fd5a52d049c in QCoreApplication::notifyInternal (this=0x7fffc47264c0, receiver=0xbb65d8, event=0x7fffc47261e0) at kernel/qcoreapplication.cpp:731
#26 0x00007fd5a52fdf12 in sendEvent (this=0xa84360) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0xa84360) at kernel/qeventdispatcher_unix.cpp:604
#28 0x00007fd5a52fad18 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 0x00007fd59f42bbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fd59f42c3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fd59f42c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fd5a52fb3ef in QEventDispatcherGlib::processEvents (this=0xa03340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007fd5a47374de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fd5a52cf882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fd5a52cfabc in QEventLoop::exec (this=0x7fffc4726450, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007fd5a52d3ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x00000000004271ef in main (argc=6, argv=0x7fffc4727278) at ../../ktorrent/main.cpp:176

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

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

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-24 16:29:02 UTC

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