Bug 280358 - ktorrent failure
Summary: ktorrent failure
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-08-18 14:48 UTC by lewisnigh
Modified: 2011-08-19 18:58 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 lewisnigh 2011-08-18 14:48: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-10-generic x86_64
Distribution: Ubuntu 11.04

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

program will only run a few hurs at most if luky otherwise crashes immediately upon start up.

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7fa57491e700 (LWP 4642)):
#0  0x00007fa57f90cf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa57b2c1104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa57b2c19f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa57527dc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa57b2e83e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa57c1ced8c in start_thread (arg=0x7fa57491e700) at pthread_create.c:304
#6  0x00007fa57f91a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa555ab0700 (LWP 4650)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fa58107e79e in wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa581073218 in QThreadPoolThread::run (this=0x1c48bf0) at concurrent/qthreadpool.cpp:140
#4  0x00007fa58107e175 in QThreadPrivate::start (arg=0x1c48bf0) at thread/qthread_unix.cpp:320
#5  0x00007fa57c1ced8c in start_thread (arg=0x7fa555ab0700) at pthread_create.c:304
#6  0x00007fa57f91a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa5552af700 (LWP 4651)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fa58107e79e in wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa581073218 in QThreadPoolThread::run (this=0x1d9ddb0) at concurrent/qthreadpool.cpp:140
#4  0x00007fa58107e175 in QThreadPrivate::start (arg=0x1d9ddb0) at thread/qthread_unix.cpp:320
#5  0x00007fa57c1ced8c in start_thread (arg=0x7fa5552af700) at pthread_create.c:304
#6  0x00007fa57f91a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa554aae700 (LWP 4652)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fa58107e79e in wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa581073218 in QThreadPoolThread::run (this=0x1dae430) at concurrent/qthreadpool.cpp:140
#4  0x00007fa58107e175 in QThreadPrivate::start (arg=0x1dae430) at thread/qthread_unix.cpp:320
#5  0x00007fa57c1ced8c in start_thread (arg=0x7fa554aae700) at pthread_create.c:304
#6  0x00007fa57f91a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa54ffff700 (LWP 4653)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fa58107e79e in wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c832d0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fa581073218 in QThreadPoolThread::run (this=0x1dbc9d0) at concurrent/qthreadpool.cpp:140
#4  0x00007fa58107e175 in QThreadPrivate::start (arg=0x1dbc9d0) at thread/qthread_unix.cpp:320
#5  0x00007fa57c1ced8c in start_thread (arg=0x7fa54ffff700) at pthread_create.c:304
#6  0x00007fa57f91a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa54f7fe700 (LWP 4667)):
#0  0x00007fa57f90cf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa582f7e54c in net::Poll::poll (this=0xd0c1e0, timeout=<value optimized out>) at ../../src/net/poll.cpp:99
#2  0x00007fa582f7b449 in net::DownloadThread::waitForSocketReady (this=0xd0c1d0) at ../../src/net/downloadthread.cpp:128
#3  0x00007fa582f7b536 in net::DownloadThread::update (this=0xd0c1d0) at ../../src/net/downloadthread.cpp:48
#4  0x00007fa582f7b719 in net::NetworkThread::run (this=0xd0c1d0) at ../../src/net/networkthread.cpp:48
#5  0x00007fa58107e175 in QThreadPrivate::start (arg=0xd0c1d0) at thread/qthread_unix.cpp:320
#6  0x00007fa57c1ced8c in start_thread (arg=0x7fa54f7fe700) at pthread_create.c:304
#7  0x00007fa57f91a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa54effd700 (LWP 4668)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fa58107df28 in thread_sleep (ti=0x7fa54effcda0) at thread/qthread_unix.cpp:470
#2  0x00007fa58107e080 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:496
#3  0x00007fa582f7af08 in net::UploadThread::update (this=0xd0cbd0) at ../../src/net/uploadthread.cpp:89
#4  0x00007fa582f7b719 in net::NetworkThread::run (this=0xd0cbd0) at ../../src/net/networkthread.cpp:48
#5  0x00007fa58107e175 in QThreadPrivate::start (arg=0xd0cbd0) at thread/qthread_unix.cpp:320
#6  0x00007fa57c1ced8c in start_thread (arg=0x7fa54effd700) at pthread_create.c:304
#7  0x00007fa57f91a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa583461780 (LWP 4641)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007fa57f3380b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007fa57f34e4c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007fa582f670ca in bt::SHA1HashGen::update (this=0x7fa5706a8760, data=0x7fa555b88efb "", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007fa582f9d881 in bt::ChunkDownload::updateHash (this=0x7fa5706a86a0) at ../../src/download/chunkdownload.cpp:555
#11 0x00007fa582f9f4d7 in bt::ChunkDownload::piece (this=0x7fa5706a86a0, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007fa582fa3857 in bt::Downloader::pieceReceived (this=0x172d080, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007fa582f8dd6c in bt::Peer::packetReady (this=0x1f941c0, packet=0x7fa548008030 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007fa582f962f8 in bt::PacketReader::update (this=0x1d5ae50) at ../../src/peer/packetreader.cpp:141
#15 0x00007fa582f8bf35 in bt::Peer::update (this=0x1f941c0) at ../../src/peer/peer.cpp:538
#16 0x00007fa582f90859 in bt::PeerManager::update (this=0x1732aa0) at ../../src/peer/peermanager.cpp:144
#17 0x00007fa582fbe4cf in bt::TorrentControl::update (this=0x17289f0) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x0000000000429ebd in kt::Core::update (this=0x7fa5700135a0) at ../../ktorrent/core.cpp:1025
#19 0x0000000000430bc1 in kt::Core::qt_metacall (this=0x7fa5700135a0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff67f01ef0) at ./core.moc:169
#20 0x00007fa58117a5f8 in QMetaObject::activate (sender=0x7fa5700135c8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#21 0x00007fa5811791c9 in QObject::event (this=0x7fa5700135c8, e=<value optimized out>) at kernel/qobject.cpp:1190
#22 0x00007fa5805229f4 in QApplicationPrivate::notify_helper (this=0xd810d0, receiver=0x7fa5700135c8, e=0x7fff67f025d0) at kernel/qapplication.cpp:4462
#23 0x00007fa5805273ba in QApplication::notify (this=<value optimized out>, receiver=0x7fa5700135c8, e=0x7fff67f025d0) 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 0x00007fa58116549c in QCoreApplication::notifyInternal (this=0x7fff67f028b0, receiver=0x7fa5700135c8, event=0x7fff67f025d0) at kernel/qcoreapplication.cpp:731
#26 0x00007fa581192f12 in sendEvent (this=0xd7c1b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0xd7c1b0) at kernel/qeventdispatcher_unix.cpp:604
#28 0x00007fa58118fd18 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 0x00007fa57b2c0bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fa57b2c13a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa57b2c1639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fa5811903ef in QEventDispatcherGlib::processEvents (this=0xd03340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007fa5805cc4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fa581164882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fa581164abc in QEventLoop::exec (this=0x7fff67f02840, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007fa581168ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x00000000004271ef in main (argc=1, argv=0x7fff67f03668) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 280281, bug 278911, bug 278416, bug 277490, bug 274602.

Reported using DrKonqi
Comment 1 Mathijs van Westendorp 2011-08-18 16:15:53 UTC
probably duplicate of 268162
Comment 2 Joris Guisson 2011-08-19 18:58:57 UTC

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