Bug 274602 - Ktorrent crash without any reason
Summary: Ktorrent crash without any reason
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-05-31 14:25 UTC by Jannis Liapis
Modified: 2011-05-31 20:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.73 KB, text/plain)
2011-05-31 14:36 UTC, Jannis Liapis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannis Liapis 2011-05-31 14:25:43 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-9-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
It happens first time. I don't know why, didn't do something strange or try something new in the settings section.

The crash can be reproduced some of the time.

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

Thread 6 (Thread 0xb4fd7b70 (LWP 3504)):
#0  0x005e4416 in __kernel_vsyscall ()
#1  0x006ae681 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x00904291 in dht::RPCServerThread::run (this=0x87055f0) at ../../src/dht/rpcserver.cpp:107
#3  0x05f41da2 in QThreadPrivate::start (arg=0x87055f0) at thread/qthread_unix.cpp:320
#4  0x00d29e99 in start_thread (arg=0xb4fd7b70) at pthread_create.c:304
#5  0x006b573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa932db70 (LWP 3524)):
#0  0x005e4416 in __kernel_vsyscall ()
#1  0x00d2e48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x006c33fd in __pthread_cond_wait (cond=0x85e45a0, mutex=0x85e4588) at forward.c:139
#3  0x05f40daa in QMutexPrivate::wait (this=0x85e4570, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x05f3d492 in QMutex::lock (this=0x81118b4) at thread/qmutex.cpp:167
#5  0x008a1560 in net::SocketMonitor::lock (this=0x81118b0) at ../../src/net/socketmonitor.cpp:82
#6  0x008a2f65 in net::DownloadThread::update (this=0x85e4678) at ../../src/net/downloadthread.cpp:51
#7  0x008a31e8 in net::NetworkThread::run (this=0x85e4678) at ../../src/net/networkthread.cpp:48
#8  0x05f41da2 in QThreadPrivate::start (arg=0x85e4678) at thread/qthread_unix.cpp:320
#9  0x00d29e99 in start_thread (arg=0xa932db70) at pthread_create.c:304
#10 0x006b573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa8b2cb70 (LWP 3525)):
#0  0x008a2714 in net::UploadThread::update (this=0x85e49d8) at ../../src/net/uploadthread.cpp:57
#1  0x008a31e8 in net::NetworkThread::run (this=0x85e49d8) at ../../src/net/networkthread.cpp:48
#2  0x05f41da2 in QThreadPrivate::start (arg=0x85e49d8) at thread/qthread_unix.cpp:320
#3  0x00d29e99 in start_thread (arg=0xa8b2cb70) at pthread_create.c:304
#4  0x006b573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa832bb70 (LWP 3526)):
#0  0x005e4416 in __kernel_vsyscall ()
#1  0x006a4e9b in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x0064d563 in _IO_new_file_underflow (fp=0xb564e188) at fileops.c:606
#3  0x0064e72b in _IO_default_uflow (fp=0xb564e188) at genops.c:440
#4  0x0064e528 in __uflow (fp=0xb564e188) at genops.c:394
#5  0x0064222c in _IO_getline_info (fp=0xb564e188, buf=0xa832a688 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#6  0x00642171 in _IO_getline (fp=0xb564e188, buf=0xa832a688 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1) at iogetline.c:42
#7  0x0064111a in _IO_fgets (buf=0xa832a688 "-15 Timeout reached\n", n=256, fp=0xb564e188) at iofgets.c:58
#8  0x01d7ae08 in ?? () from /lib/libnss_mdns4.so.2
#9  0x01d7b57b in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x006cce02 in __gethostbyaddr_r (addr=<value optimized out>, len=4, type=2, resbuf=0xa832b044, buffer=0xa832aa80 "\377\002", buflen=1024, result=0xa832b074, h_errnop=0xa832b078) at ../nss/getXXbyYY_r.c:256
#11 0x006d24e2 in getnameinfo (sa=0x8d185e8, addrlen=16, host=0xa832b194 "", hostlen=199, serv=0xa832b0cc "", servlen=199, flags=8) at getnameinfo.c:223
#12 0x008a5e4b in net::ReverseResolver::resolve (this=0x8d4ba80, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x008a5ee3 in net::ReverseResolver::run (this=0x8d4ba80) at ../../src/net/reverseresolver.cpp:73
#14 0x008a62fe in net::ReverseResolverThread::run (this=0xaf2a3788) at ../../src/net/reverseresolver.cpp:118
#15 0x05f41da2 in QThreadPrivate::start (arg=0xaf2a3788) at thread/qthread_unix.cpp:320
#16 0x00d29e99 in start_thread (arg=0xa832bb70) at pthread_create.c:304
#17 0x006b573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaa7fab70 (LWP 3788)):
#0  0x004e2d41 in clock_gettime (clock_id=1, tp=0xaa7fa000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x05f97dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x060644f2 in updateCurrentTime (this=0x94a3d3c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x94a3d3c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x06062d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaa7fa0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x06062dcd in timerSourcePrepare (source=0x94a3d08, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x014c4fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x014c5e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x014c6524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x06063577 in QEventDispatcherGlib::processEvents (this=0x8d47fa0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x06035289 in QEventLoop::processEvents (this=0xaa7fa290, flags=...) at kernel/qeventloop.cpp:149
#12 0x06035522 in QEventLoop::exec (this=0xaa7fa290, flags=...) at kernel/qeventloop.cpp:201
#13 0x05f3f2a0 in QThread::exec (this=0xad0bd408) at thread/qthread.cpp:492
#14 0x06016fdb in QInotifyFileSystemWatcherEngine::run (this=0xad0bd408) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x05f41da2 in QThreadPrivate::start (arg=0xad0bd408) at thread/qthread_unix.cpp:320
#16 0x00d29e99 in start_thread (arg=0xaa7fab70) at pthread_create.c:304
#17 0x006b573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77d2930 (LWP 3502)):
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:266
#8  0x00c81016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00c98167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x0088c4d9 in bt::SHA1HashGen::update (this=0xae8a2ae0, data=0xae6fc780 "\350\067\212\256\026", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x008c8ec8 in bt::ChunkDownload::updateHash (this=0xae8a2a70) at ../../src/download/chunkdownload.cpp:555
#12 0x008cac21 in bt::ChunkDownload::piece (this=0xae8a2a70, p=..., ok=@0xbfccfeef) at ../../src/download/chunkdownload.cpp:127
#13 0x008cf8ea in bt::Downloader::pieceReceived (this=0x8884b48, p=...) at ../../src/download/downloader.cpp:134
#14 0x008b8e7f in bt::PeerManager::pieceReceived (this=0x8876470, p=...) at ../../src/peer/peermanager.cpp:671
#15 0x008b7a92 in bt::Peer::packetReady (this=0x8e80778, packet=0x9a987a8 "\a", len=9) at ../../src/peer/peer.cpp:283
#16 0x008c0959 in bt::PacketReader::update (this=0x8d28ab0) at ../../src/peer/packetreader.cpp:141
#17 0x008b56f9 in bt::Peer::update (this=0x8e80778) at ../../src/peer/peer.cpp:538
#18 0x008ba7ea in bt::PeerManager::update (this=0x8876470) at ../../src/peer/peermanager.cpp:144
#19 0x008ecd2d in bt::TorrentControl::update (this=0x8861328) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x0806a063 in kt::Core::update (this=0x86a8ff8) at ../../ktorrent/core.cpp:1025
#21 0x08070895 in kt::Core::qt_metacall (this=0x86a8ff8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfcd026c) at ./core.moc:169
#22 0x0603c6ba in QMetaObject::metacall (object=0x86a8ff8, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfcd026c) at kernel/qmetaobject.cpp:237
#23 0x0604c4ff in QMetaObject::activate (sender=0x86a900c, m=0x61715a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#24 0x060992f7 in QTimer::timeout (this=0x86a900c) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x060523ee in QTimer::timerEvent (this=0x86a900c, e=0xbfcd076c) at kernel/qtimer.cpp:271
#26 0x0604b214 in QObject::event (this=0x86a900c, e=0xbfcd076c) at kernel/qobject.cpp:1190
#27 0x0685dd24 in QApplicationPrivate::notify_helper (this=0x863c960, receiver=0x86a900c, e=0xbfcd076c) at kernel/qapplication.cpp:4462
#28 0x068628ce in QApplication::notify (this=0xbfcd0a90, receiver=0x86a900c, e=0xbfcd076c) at kernel/qapplication.cpp:3862
#29 0x08077a57 in kt::App::notify (this=0xbfcd0a90, receiver=0x86a900c, event=0xbfcd076c) at ../../ktorrent/app.cpp:97
#30 0x060360bb in QCoreApplication::notifyInternal (this=0xbfcd0a90, receiver=0x86a900c, event=0xbfcd076c) at kernel/qcoreapplication.cpp:731
#31 0x060661e4 in sendEvent (this=0x863c2e4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x863c2e4) at kernel/qeventdispatcher_unix.cpp:604
#33 0x06062e27 in timerSourceDispatch (source=0x863c318) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x863c318) at kernel/qeventdispatcher_glib.cpp:231
#35 0x014c5aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x014c6270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x014c6524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x0606353c in QEventDispatcherGlib::processEvents (this=0x85deaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x06911775 in QGuiEventDispatcherGlib::processEvents (this=0x85deaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x06035289 in QEventLoop::processEvents (this=0xbfcd0a04, flags=...) at kernel/qeventloop.cpp:149
#41 0x06035522 in QEventLoop::exec (this=0xbfcd0a04, flags=...) at kernel/qeventloop.cpp:201
#42 0x06039ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x0685b8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#44 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

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

Reported using DrKonqi
Comment 1 Jannis Liapis 2011-05-31 14:36:04 UTC
Created attachment 60508 [details]
New crash information added by DrKonqi

ktorrent (4.0.5) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.2

- What I was doing when the application crashed:
happend again...for 6th time the last 2 hours. That is annoying!

-- Backtrace (Reduced):
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:264
#8  0x0058c016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x005a3167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x00a3a4d9 in bt::SHA1HashGen::update (this=0xb5586190, data=0xaecfefa8 "\200\266\314\256\370\067\262\256\220r\315\256\035", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x00a76ec8 in bt::ChunkDownload::updateHash (this=0xb5586120) at ../../src/download/chunkdownload.cpp:555
Comment 2 Joris Guisson 2011-05-31 20:01:10 UTC

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