Bug 278416 - Kgtorrent Crash
Summary: Kgtorrent Crash
Status: RESOLVED DUPLICATE of bug 268162
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 280047 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-24 20:37 UTC by Darkwa Veguru
Modified: 2011-08-13 21:20 UTC (History)
1 user (show)

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 Darkwa Veguru 2011-07-24 20:37:52 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:Tends to be when using Mozilla Firefox Web Browser and you close down the browser and the Ktorrent Crashs.

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

Thread 6 (Thread 0xb55ebb70 (LWP 3597)):
#0  0x005edd41 in clock_gettime (clock_id=1, tp=0xb55eb020) at ../sysdeps/unix/clock_gettime.c:116
#1  0x0147cdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01549185 in QTimerInfoList::updateCurrentTime (this=0xb4c00e84) at kernel/qeventdispatcher_unix.cpp:339
#4  0x01548bcd in timerSourceCheckHelper (src=0xb4c00e50) at kernel/qeventdispatcher_glib.cpp:150
#5  0x0253471d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x0253503a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x02535524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01548577 in QEventDispatcherGlib::processEvents (this=0xb4c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#9  0x0151a289 in QEventLoop::processEvents (this=0xb55eb290, flags=...) at kernel/qeventloop.cpp:149
#10 0x0151a522 in QEventLoop::exec (this=0xb55eb290, flags=...) at kernel/qeventloop.cpp:201
#11 0x014242a0 in QThread::exec (this=0x95097d8) at thread/qthread.cpp:492
#12 0x00cbfe8e in utp::UTPServerThread::run (this=0x95097d8) at ../../src/utp/utpserverthread.cpp:44
#13 0x01426da2 in QThreadPrivate::start (arg=0x95097d8) at thread/qthread_unix.cpp:320
#14 0x035a3e99 in start_thread (arg=0xb55ebb70) at pthread_create.c:304
#15 0x0799573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb4bffb70 (LWP 3598)):
#0  0x00991416 in __kernel_vsyscall ()
#1  0x0798e681 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x00c8c291 in dht::RPCServerThread::run (this=0x9503718) at ../../src/dht/rpcserver.cpp:107
#3  0x01426da2 in QThreadPrivate::start (arg=0x9503718) at thread/qthread_unix.cpp:320
#4  0x035a3e99 in start_thread (arg=0xb4bffb70) at pthread_create.c:304
#5  0x0799573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa2beab70 (LWP 3744)):
#0  0x00991416 in __kernel_vsyscall ()
#1  0x035a848c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x079a33fd in __pthread_cond_wait (cond=0x93c05a0, mutex=0x93c0588) at forward.c:139
#3  0x01425daa in QMutexPrivate::wait (this=0x93c0570, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x01422492 in QMutex::lock (this=0x81118b4) at thread/qmutex.cpp:167
#5  0x00c29560 in net::SocketMonitor::lock (this=0x81118b0) at ../../src/net/socketmonitor.cpp:82
#6  0x00c2af65 in net::DownloadThread::update (this=0x93c0678) at ../../src/net/downloadthread.cpp:51
#7  0x00c2b1e8 in net::NetworkThread::run (this=0x93c0678) at ../../src/net/networkthread.cpp:48
#8  0x01426da2 in QThreadPrivate::start (arg=0x93c0678) at thread/qthread_unix.cpp:320
#9  0x035a3e99 in start_thread (arg=0xa2beab70) at pthread_create.c:304
#10 0x0799573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xafb48b70 (LWP 3745)):
#0  net::Socket::ok (this=0xa9018e0) at ../../src/net/socket.h:49
#1  0x00c2a71a in net::UploadThread::update (this=0x93c09d8) at ../../src/net/uploadthread.cpp:57
#2  0x00c2b1e8 in net::NetworkThread::run (this=0x93c09d8) at ../../src/net/networkthread.cpp:48
#3  0x01426da2 in QThreadPrivate::start (arg=0x93c09d8) at thread/qthread_unix.cpp:320
#4  0x035a3e99 in start_thread (arg=0xafb48b70) at pthread_create.c:304
#5  0x0799573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaeb46b70 (LWP 3746)):
#0  0x00991416 in __kernel_vsyscall ()
#1  0x07986f76 in __poll (fds=0xaeb44fb4, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x07abc76c in send_dg (statp=0xaeb46df4, buf=0xaeb45010 "\363\177\001", buflen=44, buf2=0x0, buflen2=0, ans=0xaeb45190 "\001", anssiz=1024, ansp=0xaeb459c8, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1066
#3  __libc_res_nsend (statp=0xaeb46df4, buf=0xaeb45010 "\363\177\001", buflen=44, buf2=0x0, buflen2=0, ans=0xaeb45190 "\001", anssiz=1024, ansp=0xaeb459c8, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x07aba7b3 in __libc_res_nquery (statp=0xaeb46df4, name=0xaeb455c6 "18.25.104.109.in-addr.arpa", class=1, type=12, answer=0xaeb45190 "\001", anslen=1024, answerp=0xaeb459c8, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x08d6fd5b in _nss_dns_gethostbyaddr2_r (addr=0xac48a06c, len=<value optimized out>, af=<value optimized out>, result=0xaeb46044, buffer=0xaeb45a80 "\377\002", buflen=1024, errnop=0xaeb46b28, h_errnop=0xaeb46078, ttlp=0x0) at nss_dns/dns-host.c:471
#6  0x08d6feda in _nss_dns_gethostbyaddr_r (addr=0xac48a06c, len=4, af=2, result=0xaeb46044, buffer=0xaeb45a80 "\377\002", buflen=1024, errnop=0xaeb46b28, h_errnop=0xaeb46078) at nss_dns/dns-host.c:530
#7  0x079ace02 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0xaeb46044, buffer=0xaeb45a80 "\377\002", buflen=1024, result=0xaeb46074, h_errnop=0xaeb46078) at ../nss/getXXbyYY_r.c:256
#8  0x079b24e2 in getnameinfo (sa=0xac48a068, addrlen=16, host=0xaeb46194 "", hostlen=199, serv=0xaeb460cc "", servlen=199, flags=8) at getnameinfo.c:223
#9  0x00c2de4b in net::ReverseResolver::resolve (this=0xa2260880, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00c2dee3 in net::ReverseResolver::run (this=0xa2260880) at ../../src/net/reverseresolver.cpp:73
#11 0x00c2e2fe in net::ReverseResolverThread::run (this=0xadb53c0) at ../../src/net/reverseresolver.cpp:118
#12 0x01426da2 in QThreadPrivate::start (arg=0xadb53c0) at thread/qthread_unix.cpp:320
#13 0x035a3e99 in start_thread (arg=0xaeb46b70) at pthread_create.c:304
#14 0x0799573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7724930 (LWP 3595)):
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:334
#8  0x04795016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x047ac167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x00c144d9 in bt::SHA1HashGen::update (this=0xabc63348, data=0xa75f0a90 "H", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x00c50ec8 in bt::ChunkDownload::updateHash (this=0xabc632d8) at ../../src/download/chunkdownload.cpp:555
#12 0x00c52c21 in bt::ChunkDownload::piece (this=0xabc632d8, p=..., ok=@0xbfdceb0f) at ../../src/download/chunkdownload.cpp:127
#13 0x00c578ea in bt::Downloader::pieceReceived (this=0x9c96218, p=...) at ../../src/download/downloader.cpp:134
#14 0x00c40e7f in bt::PeerManager::pieceReceived (this=0x9cae7f8, p=...) at ../../src/peer/peermanager.cpp:671
#15 0x00c3fa92 in bt::Peer::packetReady (this=0x9ed08bc8, packet=0x103562b0 "\a", len=9) at ../../src/peer/peer.cpp:283
#16 0x00c48959 in bt::PacketReader::update (this=0x9a8a6368) at ../../src/peer/packetreader.cpp:141
#17 0x00c3d6f9 in bt::Peer::update (this=0x9ed08bc8) at ../../src/peer/peer.cpp:538
#18 0x00c427ea in bt::PeerManager::update (this=0x9cae7f8) at ../../src/peer/peermanager.cpp:144
#19 0x00c74d2d in bt::TorrentControl::update (this=0x9cab740) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x0806a063 in kt::Core::update (this=0x94fdec0) at ../../ktorrent/core.cpp:1025
#21 0x08070895 in kt::Core::qt_metacall (this=0x94fdec0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfdcee8c) at ./core.moc:169
#22 0x015216ba in QMetaObject::metacall (object=0x94fdec0, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfdcee8c) at kernel/qmetaobject.cpp:237
#23 0x015314ff in QMetaObject::activate (sender=0x94fded4, m=0x16565a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#24 0x0157e2f7 in QTimer::timeout (this=0x94fded4) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x015373ee in QTimer::timerEvent (this=0x94fded4, e=0xbfdcf38c) at kernel/qtimer.cpp:271
#26 0x01530214 in QObject::event (this=0x94fded4, e=0xbfdcf38c) at kernel/qobject.cpp:1190
#27 0x01785d24 in QApplicationPrivate::notify_helper (this=0x94112e0, receiver=0x94fded4, e=0xbfdcf38c) at kernel/qapplication.cpp:4462
#28 0x0178a8ce in QApplication::notify (this=0xbfdcf6b0, receiver=0x94fded4, e=0xbfdcf38c) at kernel/qapplication.cpp:3862
#29 0x08077a57 in kt::App::notify (this=0xbfdcf6b0, receiver=0x94fded4, event=0xbfdcf38c) at ../../ktorrent/app.cpp:97
#30 0x0151b0bb in QCoreApplication::notifyInternal (this=0xbfdcf6b0, receiver=0x94fded4, event=0xbfdcf38c) at kernel/qcoreapplication.cpp:731
#31 0x0154b1e4 in sendEvent (this=0x94177cc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x94177cc) at kernel/qeventdispatcher_unix.cpp:604
#33 0x01547df4 in timerSourceDispatch (source=0x9417798) at kernel/qeventdispatcher_glib.cpp:184
#34 0x02534aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x02535270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x02535524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x0154853c in QEventDispatcherGlib::processEvents (this=0x93baaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#38 0x0183c1e5 in QGuiEventDispatcherGlib::processEvents (this=0x93baaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x0151a289 in QEventLoop::processEvents (this=0xbfdcf624, flags=...) at kernel/qeventloop.cpp:149
#40 0x0151a522 in QEventLoop::exec (this=0xbfdcf624, flags=...) at kernel/qeventloop.cpp:201
#41 0x0151eecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x017838e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#43 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 274602, bug 268333, bug 256345, bug 255263, bug 251303.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-07-26 10:39:59 UTC

*** This bug has been marked as a duplicate of bug 268162 ***
Comment 2 Christoph Feck 2011-08-13 21:20:32 UTC
*** Bug 280047 has been marked as a duplicate of this bug. ***