Bug 273240 - Ktorrent crash
Summary: Ktorrent crash
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-14 02:15 UTC by Xavier
Modified: 2011-05-14 13:09 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 Xavier 2011-05-14 02:15:46 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-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Just running Ktorrent, downloading files.
Tried several times, always got a crash after a while. I would say within a timeframe of 10 to 15 minutes.

Running kde 4.6.1 on kubuntu 11.04

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f18a8a61700 (LWP 25060)):
#0  0x00007f18b9b99f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f18b554e104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f18b554e639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f18bb419446 in QEventDispatcherGlib::processEvents (this=0x1b1dd80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f18bb3ed882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f18bb3edabc in QEventLoop::exec (this=0x7f18a8a60dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f18bb304924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f18bd28bcdd in utp::UTPServerThread::run (this=0x1afcbd0) at ../../src/utp/utpserverthread.cpp:44
#8  0x00007f18bb307175 in QThreadPrivate::start (arg=0x1afcbd0) at thread/qthread_unix.cpp:320
#9  0x00007f18b645bd8c in start_thread (arg=0x7f18a8a61700) at pthread_create.c:304
#10 0x00007f18b9ba704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f18975c0700 (LWP 25088)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f18bb306f28 in thread_sleep (ti=0x7f18975bfda0) at thread/qthread_unix.cpp:470
#2  0x00007f18bb307080 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:496
#3  0x00007f18bd2046a8 in net::DownloadThread::update (this=0x19ff1d0) at ../../src/net/downloadthread.cpp:91
#4  0x00007f18bd204719 in net::NetworkThread::run (this=0x19ff1d0) at ../../src/net/networkthread.cpp:48
#5  0x00007f18bb307175 in QThreadPrivate::start (arg=0x19ff1d0) at thread/qthread_unix.cpp:320
#6  0x00007f18b645bd8c in start_thread (arg=0x7f18975c0700) at pthread_create.c:304
#7  0x00007f18b9ba704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1896dbf700 (LWP 25089)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f18bb306f28 in thread_sleep (ti=0x7f1896dbeda0) at thread/qthread_unix.cpp:470
#2  0x00007f18bb307080 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:496
#3  0x00007f18bd203f08 in net::UploadThread::update (this=0x19ffbd0) at ../../src/net/uploadthread.cpp:89
#4  0x00007f18bd204719 in net::NetworkThread::run (this=0x19ffbd0) at ../../src/net/networkthread.cpp:48
#5  0x00007f18bb307175 in QThreadPrivate::start (arg=0x19ffbd0) at thread/qthread_unix.cpp:320
#6  0x00007f18b645bd8c in start_thread (arg=0x7f1896dbf700) at pthread_create.c:304
#7  0x00007f18b9ba704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f18965be700 (LWP 25090)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f18bb30782b in wait (this=<value optimized out>, mutex=0x1be1a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1be1a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f18bd207102 in net::ReverseResolverThread::run (this=0x1be19f0) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f18bb307175 in QThreadPrivate::start (arg=0x1be19f0) at thread/qthread_unix.cpp:320
#5  0x00007f18b645bd8c in start_thread (arg=0x7f18965be700) at pthread_create.c:304
#6  0x00007f18b9ba704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f189c5f2700 (LWP 25107)):
#0  0x00007fff2f0ec861 in clock_gettime ()
#1  0x00007f18b57fe146 in clock_gettime (clock_id=1, tp=0x7f189c5f1b30) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f18bb358304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f18bb419e3d in QTimerInfoList::updateCurrentTime (this=0x29ef300) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f18bb41a1a5 in QTimerInfoList::timerWait (this=0x29ef300, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f18bb418c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f189c5f1c4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f18bb418cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f18b554d0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f18b554df9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f18b554e639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f18bb419446 in QEventDispatcherGlib::processEvents (this=0x270ff80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007f18bb3ed882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f18bb3edabc in QEventLoop::exec (this=0x7f189c5f1dd0, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007f18bb304924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007f18bb3cfc2f in QInotifyFileSystemWatcherEngine::run (this=0x7f18a40a7f30) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f18bb307175 in QThreadPrivate::start (arg=0x7f18a40a7f30) at thread/qthread_unix.cpp:320
#17 0x00007f18b645bd8c in start_thread (arg=0x7f189c5f2700) at pthread_create.c:304
#18 0x00007f18b9ba704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f18bd6d9780 (LWP 25053)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f18b95c50b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f18b95db4c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007f18bd1f00ca in bt::SHA1HashGen::update (this=0x7f18a585c4b0, data=0x7f18bd6fb957 "\031\233\231\236\343", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f18bd226881 in bt::ChunkDownload::updateHash (this=0x7f18a585c3f0) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f18bd2284d7 in bt::ChunkDownload::piece (this=0x7f18a585c3f0, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f18bd22c857 in bt::Downloader::pieceReceived (this=0x1f41de0, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f18bd216d6c in bt::Peer::packetReady (this=0x4ffa4a0, packet=0x7f18a48f8ea0 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007f18bd21f2f8 in bt::PacketReader::update (this=0x3d9d520) at ../../src/peer/packetreader.cpp:141
#15 0x00007f18bd214f35 in bt::Peer::update (this=0x4ffa4a0) at ../../src/peer/peer.cpp:538
#16 0x00007f18bd219859 in bt::PeerManager::update (this=0x1f10870) at ../../src/peer/peermanager.cpp:144
#17 0x00007f18bd2474cf in bt::TorrentControl::update (this=0x1f06c80) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x0000000000429ebd in kt::Core::update (this=0x1af5820) at ../../ktorrent/core.cpp:1025
#19 0x0000000000430bc1 in kt::Core::qt_metacall (this=0x1af5820, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff2f0e9810) at ./core.moc:169
#20 0x00007f18bb4035f8 in QMetaObject::activate (sender=0x1af5848, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#21 0x00007f18bb4021c9 in QObject::event (this=0x1af5848, e=<value optimized out>) at kernel/qobject.cpp:1190
#22 0x00007f18ba7af9e4 in QApplicationPrivate::notify_helper (this=0x1a74150, receiver=0x1af5848, e=0x7fff2f0e9ef0) at kernel/qapplication.cpp:4462
#23 0x00007f18ba7b43aa in QApplication::notify (this=<value optimized out>, receiver=0x1af5848, e=0x7fff2f0e9ef0) 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 0x00007f18bb3ee49c in QCoreApplication::notifyInternal (this=0x7fff2f0ea1d0, receiver=0x1af5848, event=0x7fff2f0e9ef0) at kernel/qcoreapplication.cpp:731
#26 0x00007f18bb41bf12 in sendEvent (this=0x1a73de0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x1a73de0) at kernel/qeventdispatcher_unix.cpp:604
#28 0x00007f18bb418d18 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 0x00007f18b554dbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f18b554e3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f18b554e639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f18bb4193ef in QEventDispatcherGlib::processEvents (this=0x19f6340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f18ba856dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f18bb3ed882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f18bb3edabc in QEventLoop::exec (this=0x7fff2f0ea160, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f18bb3f1ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x00000000004271ef in main (argc=5, argv=0x7fff2f0eaf88) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 272289, bug 271116, bug 268333, bug 267437, bug 267104.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-14 13:09:36 UTC

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