Bug 256345 - Ktorrent suddenly crashes
Summary: Ktorrent suddenly crashes
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: 2010-11-08 09:52 UTC by andreselsuave
Modified: 2010-11-08 18:06 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 andreselsuave 2010-11-08 09:52:34 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
That is exactly what happens. It crashes for no reason apparently. No desktop event that triggers it or anything.

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0xadd0eb70 (LWP 31142)):
#0  net::DownloadThread::waitForSocketReady (this=0x8bf8978) at ../../src/net/downloadthread.cpp:121
#1  0x003885af in net::DownloadThread::update (this=0x8bf8978) at ../../src/net/downloadthread.cpp:48
#2  0x00389178 in net::NetworkThread::run (this=0x8bf8978) at ../../src/net/networkthread.cpp:48
#3  0x0658ddf9 in QThreadPrivate::start (arg=0x8bf8978) at thread/qthread_unix.cpp:266
#4  0x001ddcc9 in start_thread (arg=0xadd0eb70) at pthread_create.c:304
#5  0x033a16ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xad50db70 (LWP 31143)):
#0  0x00bbb416 in __kernel_vsyscall ()
#1  0x001e2884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x0658d33e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#3  0x0658d493 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:442
#4  0x00387d52 in net::UploadThread::update (this=0x8bf8d80) at ../../src/net/uploadthread.cpp:89
#5  0x00389178 in net::NetworkThread::run (this=0x8bf8d80) at ../../src/net/networkthread.cpp:48
#6  0x0658ddf9 in QThreadPrivate::start (arg=0x8bf8d80) at thread/qthread_unix.cpp:266
#7  0x001ddcc9 in start_thread (arg=0xad50db70) at pthread_create.c:304
#8  0x033a16ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xacd0cb70 (LWP 31144)):
#0  0x00bbb416 in __kernel_vsyscall ()
#1  0x03392de6 in __poll (fds=0x342aff4, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00bad759 in send_dg (statp=0xacd0cdf4, buf=0xacd0b000 "\272\006\001", buflen=43, buf2=0x0, buflen2=0, ans=0xacd0b190 "\372F\201\200", anssiz=1024, ansp=0xacd0b9c0, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:1066
#3  __libc_res_nsend (statp=0xacd0cdf4, buf=0xacd0b000 "\272\006\001", buflen=43, buf2=0x0, buflen2=0, ans=0xacd0b190 "\372F\201\200", anssiz=1024, ansp=0xacd0b9c0, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#4  0x00bab8d3 in __libc_res_nquery (statp=0xacd0cdf4, name=0xacd0b5be "53.92.176.67.in-addr.arpa", class=1, type=12, answer=0xacd0b190 "\372F\201\200", anslen=1024, answerp=0xacd0b9c0, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#5  0x02b03f73 in _nss_dns_gethostbyaddr2_r (addr=0xa6cdff4, len=4, af=2, result=0xacd0c044, buffer=0xacd0ba80 "\377\002", buflen=1024, errnop=0xacd0cb28, h_errnop=0xacd0c078, ttlp=0x0) at nss_dns/dns-host.c:471
#6  0x02b040ca in _nss_dns_gethostbyaddr_r (addr=0xa6cdff4, len=4, af=2, result=0xacd0c044, buffer=0xacd0ba80 "\377\002", buflen=1024, errnop=0xacd0cb28, h_errnop=0xacd0c078) at nss_dns/dns-host.c:530
#7  0x033b89df in __gethostbyaddr_r (addr=0xa6cdff4, len=4, type=2, resbuf=0xacd0c044, buffer=0xacd0ba80 "\377\002", buflen=1024, result=0xacd0c074, h_errnop=0xacd0c078) at ../nss/getXXbyYY_r.c:253
#8  0x033bdf3b in getnameinfo (sa=0xa6cdff0, addrlen=16, host=0xacd0c194 "", hostlen=199, serv=0xacd0c0cc "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0x0038c55b in net::ReverseResolver::resolve (this=0xa8776e8, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x0038c5f3 in net::ReverseResolver::run (this=0xa8776e8) at ../../src/net/reverseresolver.cpp:73
#11 0x0038c815 in net::ReverseResolverThread::run (this=0x9a16f70) at ../../src/net/reverseresolver.cpp:118
#12 0x0658ddf9 in QThreadPrivate::start (arg=0x9a16f70) at thread/qthread_unix.cpp:266
#13 0x001ddcc9 in start_thread (arg=0xacd0cb70) at pthread_create.c:304
#14 0x033a16ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaa6dfb70 (LWP 31150)):
#0  0x00bbb416 in __kernel_vsyscall ()
#1  0x03392de6 in __poll (fds=0x342aff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0149ea1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0149143c in ?? () from /lib/libglib-2.0.so.0
#4  0x01491848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x066be59f in QEventDispatcherGlib::processEvents (this=0x9a62100, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x0668e609 in QEventLoop::processEvents (this=0xaa6df290, flags=) at kernel/qeventloop.cpp:149
#7  0x0668ea8a in QEventLoop::exec (this=0xaa6df290, flags=...) at kernel/qeventloop.cpp:201
#8  0x0658ab7e in QThread::exec (this=0x9a17518) at thread/qthread.cpp:490
#9  0x0666d35b in QInotifyFileSystemWatcherEngine::run (this=0x9a17518) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0658ddf9 in QThreadPrivate::start (arg=0x9a17518) at thread/qthread_unix.cpp:266
#11 0x001ddcc9 in start_thread (arg=0xaa6dfb70) at pthread_create.c:304
#12 0x033a16ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77b4710 (LWP 31109)):
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:1002
#8  0x08804016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x0881b167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x0036e8ff in bt::SHA1HashGen::update (this=0xa2d7898, data=0xa8532dc6 "\024Uu\205\023\205IA7nS%{,E\245\337\207$9jSZ\345K\032\313:l\271\207\345\225\376\353\273\273f\360$\\2\031x]`b\304.l\256\065V>\305\202\252%&\211Rk\266\252\214\256\362:\255\027L\301\031\060s\301c\310\301CG\341\261\f\003I\205L\211\061\217{4l`\317\324\363]\210'Z;\313F@,<\024\326\322M\341r\304#T\301R\265\201\340\260\024i\321W\314\251\207\031\241\002\021\301\207\324\bh\203\215i\305\226\365\344\232\217\071\vM\224\265\025\017Z\252\345\272\064\330\021\300e+Y\322\177\227Kz\256\a\232$\344E\001\001+Y\372\347V\346\203+\207\031\313-T\221\004\351i0\323j\352"..., len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x003b031d in bt::ChunkDownload::updateHash (this=0xa2d7828) at ../../src/download/chunkdownload.cpp:555
#12 0x003b2615 in bt::ChunkDownload::piece (this=0xa2d7828, p=..., ok=@0xbf97968f) at ../../src/download/chunkdownload.cpp:127
#13 0x003b9219 in bt::Downloader::pieceReceived (this=0x90e0140, p=...) at ../../src/download/downloader.cpp:134
#14 0x0039cbef in bt::PeerManager::pieceReceived (this=0x90d4040, p=...) at ../../src/peer/peermanager.cpp:674
#15 0x0039a9da in bt::Peer::packetReady (this=0xa114040, packet=0xa959fe28 "\a", len=16393) at ../../src/peer/peer.cpp:283
#16 0x003a6489 in bt::PacketReader::update (this=0xa17d470) at ../../src/peer/packetreader.cpp:141
#17 0x00399609 in bt::Peer::update (this=0xa114040) at ../../src/peer/peer.cpp:538
#18 0x0039f37e in bt::PeerManager::update (this=0x90d4040) at ../../src/peer/peermanager.cpp:144
#19 0x003d5d2d in bt::TorrentControl::update (this=0x9075040) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x080690f3 in kt::Core::update (this=0x8cea580) at ../../ktorrent/core.cpp:1030
#21 0x080716cd in kt::Core::qt_metacall (this=0x8cea580, _c=QMetaObject::InvokeMetaMethod, _id=-1470943808, _a=0xbf979a2c) at ./core.moc:167
#22 0x066958ca in QMetaObject::metacall (object=0x8cea580, cl=15768, idx=22, argv=0xbf979a2c) at kernel/qmetaobject.cpp:237
#23 0x066a86ad in QMetaObject::activate (sender=0x8cea594, m=0x67c25a4, local_signal_index=0, argv=0xa8532dc0) at kernel/qobject.cpp:3280
#24 0x066fa1e7 in QTimer::timeout (this=0x8cea594) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x066ae1ce in QTimer::timerEvent (this=0x8cea594, e=0xbf979f30) at kernel/qtimer.cpp:271
#26 0x066a2504 in QObject::event (this=0x8cea594, e=0xa0b1c80) at kernel/qobject.cpp:1183
#27 0x0490ffdc in QApplicationPrivate::notify_helper (this=0x8c1dd40, receiver=0x8cea594, e=0xbf979f30) at kernel/qapplication.cpp:4396
#28 0x0491604e in QApplication::notify (this=0xbf97a280, receiver=0x8cea594, e=0xbf979f30) at kernel/qapplication.cpp:3798
#29 0x080783dc in kt::App::notify (this=0x3d98, receiver=0xa0b1c80, event=0xa8532dc0) at ../../ktorrent/app.cpp:97
#30 0x0668fb3b in QCoreApplication::notifyInternal (this=0xbf97a280, receiver=0x8cea594, event=0xbf979f30) at kernel/qcoreapplication.cpp:732
#31 0x066c1ad6 in sendEvent (this=0x8c21374) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x8c21374) at kernel/qeventdispatcher_unix.cpp:602
#33 0x066be8a7 in timerSourceDispatch (source=0x8c213a8) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x8c213a8) at kernel/qeventdispatcher_glib.cpp:231
#35 0x0148d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x01491668 in ?? () from /lib/libglib-2.0.so.0
#37 0x01491848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x066be565 in QEventDispatcherGlib::processEvents (this=0x8bf76d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x049d1be5 in QGuiEventDispatcherGlib::processEvents (this=0x8bf76d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x0668e609 in QEventLoop::processEvents (this=0xbf97a1f4, flags=) at kernel/qeventloop.cpp:149
#41 0x0668ea8a in QEventLoop::exec (this=0xbf97a1f4, flags=...) at kernel/qeventloop.cpp:201
#42 0x0669300f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x0490ee07 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x08066e91 in main (argc=1, argv=0xbf97a684) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 255263, bug 251303.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-11-08 18:06:18 UTC

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