Bug 279462 - Ktorrent crashed
Summary: Ktorrent crashed
Status: RESOLVED DUPLICATE of bug 247984
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-05 15:45 UTC by t-dome
Modified: 2011-08-05 16:56 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 t-dome 2011-08-05 15:45:49 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-10-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

KTorrent was minimized to the tray downloading 6 files, and after about 2 minutes it crashed all of a sudded. Then I restarted it, minimized to tray and the same happened after 1 minute.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0xaabfab70 (LWP 8338)):
#0  0x006c1416 in __kernel_vsyscall ()
#1  0x00783f76 in __poll (fds=0xada2b438, nfds=509, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00e798a6 in net::Poll::poll (this=0x84a6680, timeout=-1) at ../../src/net/poll.cpp:99
#3  0x00e75e42 in net::DownloadThread::waitForSocketReady (this=0x84a6678) at ../../src/net/downloadthread.cpp:128
#4  0x00e75f4f in net::DownloadThread::update (this=0x84a6678) at ../../src/net/downloadthread.cpp:48
#5  0x00e761e8 in net::NetworkThread::run (this=0x84a6678) at ../../src/net/networkthread.cpp:48
#6  0x02ea5da2 in QThreadPrivate::start (arg=0x84a6678) at thread/qthread_unix.cpp:320
#7  0x00cffe99 in start_thread (arg=0xaabfab70) at pthread_create.c:304
#8  0x0079273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaa3f9b70 (LWP 8339)):
#0  0x006c1416 in __kernel_vsyscall ()
#1  0x00d04834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x007a0454 in __pthread_cond_timedwait (cond=0xaa3f91e4, mutex=0xaa3f9214, abstime=0xaa3f9260) at forward.c:152
#3  0x02ea5afe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x02ea5c53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x00e75902 in net::UploadThread::update (this=0x84a69d8) at ../../src/net/uploadthread.cpp:89
#6  0x00e761e8 in net::NetworkThread::run (this=0x84a69d8) at ../../src/net/networkthread.cpp:48
#7  0x02ea5da2 in QThreadPrivate::start (arg=0x84a69d8) at thread/qthread_unix.cpp:320
#8  0x00cffe99 in start_thread (arg=0xaa3f9b70) at pthread_create.c:304
#9  0x0079273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa9bf8b70 (LWP 8340)):
#0  0x006c1416 in __kernel_vsyscall ()
#1  0x00781e9b in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x0072a563 in _IO_new_file_underflow (fp=0xadb8dd20) at fileops.c:606
#3  0x0072b72b in _IO_default_uflow (fp=0xadb8dd20) at genops.c:440
#4  0x0072b528 in __uflow (fp=0xadb8dd20) at genops.c:394
#5  0x0071f22c in _IO_getline_info (fp=0xadb8dd20, buf=0xa9bf7688 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#6  0x0071f171 in _IO_getline (fp=0xadb8dd20, buf=0xa9bf7688 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1) at iogetline.c:42
#7  0x0071e11a in _IO_fgets (buf=0xa9bf7688 "-15 Timeout reached\n", n=256, fp=0xadb8dd20) at iofgets.c:58
#8  0x07c93e08 in ?? () from /lib/libnss_mdns4.so.2
#9  0x07c9457b in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x007a9e02 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0xa9bf8044, buffer=0xa9bf7a80 "\377\002", buflen=1024, result=0xa9bf8074, h_errnop=0xa9bf8078) at ../nss/getXXbyYY_r.c:256
#11 0x007af4e2 in getnameinfo (sa=0xa723d9c8, addrlen=16, host=0xa9bf8194 "", hostlen=199, serv=0xa9bf80cc "", servlen=199, flags=8) at getnameinfo.c:223
#12 0x00e78e4b in net::ReverseResolver::resolve (this=0xa72f2518, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x00e78ee3 in net::ReverseResolver::run (this=0xa72f2518) at ../../src/net/reverseresolver.cpp:73
#14 0x00e792fe in net::ReverseResolverThread::run (this=0x89193b8) at ../../src/net/reverseresolver.cpp:118
#15 0x02ea5da2 in QThreadPrivate::start (arg=0x89193b8) at thread/qthread_unix.cpp:320
#16 0x00cffe99 in start_thread (arg=0xa9bf8b70) at pthread_create.c:304
#17 0x0079273e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77de930 (LWP 8321)):
[KCrash Handler]
#7  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:75
#8  0xbf8ae47c in ?? ()
#9  0x00620167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x00e5f4d9 in bt::SHA1HashGen::update (this=0xa6666900, data=0xb77f2000 "\343\242\231\036", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x00e9bec8 in bt::ChunkDownload::updateHash (this=0xa6666890) at ../../src/download/chunkdownload.cpp:555
#12 0x00e9dc21 in bt::ChunkDownload::piece (this=0xa6666890, p=..., ok=@0xbf8ae5bf) at ../../src/download/chunkdownload.cpp:127
#13 0x00ea28ea in bt::Downloader::pieceReceived (this=0x8764330, p=...) at ../../src/download/downloader.cpp:134
#14 0x00e8be7f in bt::PeerManager::pieceReceived (this=0x8771050, p=...) at ../../src/peer/peermanager.cpp:671
#15 0x00e8aa92 in bt::Peer::packetReady (this=0xad9ab820, packet=0x8af4408 "\a", len=16393) at ../../src/peer/peer.cpp:283
#16 0x00e93959 in bt::PacketReader::update (this=0xad9ce540) at ../../src/peer/packetreader.cpp:141
#17 0x00e886f9 in bt::Peer::update (this=0xad9ab820) at ../../src/peer/peer.cpp:538
#18 0x00e8d7ea in bt::PeerManager::update (this=0x8771050) at ../../src/peer/peermanager.cpp:144
#19 0x00ebfd2d in bt::TorrentControl::update (this=0x87497d8) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x0806a063 in kt::Core::update (this=0xb4e02600) at ../../ktorrent/core.cpp:1025
#21 0x08070895 in kt::Core::qt_metacall (this=0xb4e02600, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf8ae93c) at ./core.moc:169
#22 0x02fa06ba in QMetaObject::metacall (object=0xb4e02600, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbf8ae93c) at kernel/qmetaobject.cpp:237
#23 0x02fb04ff in QMetaObject::activate (sender=0xb4e02614, m=0x30d55a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#24 0x02ffd2f7 in QTimer::timeout (this=0xb4e02614) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x02fb63ee in QTimer::timerEvent (this=0xb4e02614, e=0xbf8aee3c) at kernel/qtimer.cpp:271
#26 0x02faf214 in QObject::event (this=0xb4e02614, e=0xbf8aee3c) at kernel/qobject.cpp:1190
#27 0x06047d24 in QApplicationPrivate::notify_helper (this=0x84f6650, receiver=0xb4e02614, e=0xbf8aee3c) at kernel/qapplication.cpp:4462
#28 0x0604c8ce in QApplication::notify (this=0xbf8af160, receiver=0xb4e02614, e=0xbf8aee3c) at kernel/qapplication.cpp:3862
#29 0x08077a57 in kt::App::notify (this=0xbf8af160, receiver=0xb4e02614, event=0xbf8aee3c) at ../../ktorrent/app.cpp:97
#30 0x02f9a0bb in QCoreApplication::notifyInternal (this=0xbf8af160, receiver=0xb4e02614, event=0xbf8aee3c) at kernel/qcoreapplication.cpp:731
#31 0x02fca1e4 in sendEvent (this=0x84f637c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x84f637c) at kernel/qeventdispatcher_unix.cpp:604
#33 0x02fc6e27 in timerSourceDispatch (source=0x84f63b0) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x84f63b0) at kernel/qeventdispatcher_glib.cpp:231
#35 0x03e71aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x03e72270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x03e72524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x02fc753c in QEventDispatcherGlib::processEvents (this=0x84a0aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x060fe1e5 in QGuiEventDispatcherGlib::processEvents (this=0x84a0aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x02f99289 in QEventLoop::processEvents (this=0xbf8af0d4, flags=...) at kernel/qeventloop.cpp:149
#41 0x02f99522 in QEventLoop::exec (this=0xbf8af0d4, flags=...) at kernel/qeventloop.cpp:201
#42 0x02f9decc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x060458e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#44 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 272601, bug 254562, bug 254383, bug 253878.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-05 16:56:32 UTC

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