KTorrent (ktorrent), signal: Segmentation fault, while downloading on backgrund

Bug #538659 reported by mmm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ktorrent (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: ktorrent

Automatic report generator complains about not enought of debugging informations to send it automatically. I am not able to figure out which debug packages to install to track this.

Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb788b700 (LWP 10641))]

Thread 3 (Thread 0xb1ff6b70 (LWP 10647)):
#0 0x00eb8422 in __kernel_vsyscall ()
#1 0x01610142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2 0x058df8d4 in __pthread_cond_timedwait (cond=0xb1ff6204, mutex=0xb1ff6234, abstime=0xb1ff6280) at forward.c:152
#3 0x00f0781e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4 0x00f07973 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#5 0x0086b558 in ?? () from /usr/lib/libbtcore.so.11
#6 0x0086bd38 in ?? () from /usr/lib/libbtcore.so.11
#7 0x00f07e32 in QThreadPrivate::start (arg=0x8b4a040) at thread/qthread_unix.cpp:188
#8 0x0160b80e in start_thread (arg=0xb1ff6b70) at pthread_create.c:300
#9 0x058d28de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb17f5b70 (LWP 10648)):
#0 0x00eb8422 in __kernel_vsyscall ()
#1 0x0160fe15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0x058df87d in __pthread_cond_wait (cond=0x8b4a5d0, mutex=0x8b4a5b8) at forward.c:139
#3 0x00f08e67 in QWaitConditionPrivate::wait (this=0x8b4a328, mutex=0x8b4a32c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 QWaitCondition::wait (this=0x8b4a328, mutex=0x8b4a32c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5 0x0086aa6d in ?? () from /usr/lib/libbtcore.so.11
#6 0x0086bd38 in ?? () from /usr/lib/libbtcore.so.11
#7 0x00f07e32 in QThreadPrivate::start (arg=0x8b4a2f0) at thread/qthread_unix.cpp:188
#8 0x0160b80e in start_thread (arg=0xb17f5b70) at pthread_create.c:300
#9 0x058d28de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb788b700 (LWP 10641)):
[KCrash Handler]
#6 memcpy () at ../sysdeps/i386/i686/memcpy.S:100
#7 0x01cb1456 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8 0x01cc97bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9 0x00856594 in bt::SHA1HashGen::update(unsigned char const*, unsigned int) () from /usr/lib/libbtcore.so.11
#10 0x0088beb8 in ?? () from /usr/lib/libbtcore.so.11
#11 0x0088cd30 in ?? () from /usr/lib/libbtcore.so.11
#12 0x008938ff in bt::Downloader::pieceReceived(bt::Piece const&) () from /usr/lib/libbtcore.so.11
#13 0x0087bb0f in bt::PeerManager::pieceReceived(bt::Piece const&) () from /usr/lib/libbtcore.so.11
#14 0x0087a49f in ?? () from /usr/lib/libbtcore.so.11
#15 0x00883f16 in ?? () from /usr/lib/libbtcore.so.11
#16 0x0087a1d9 in ?? () from /usr/lib/libbtcore.so.11
#17 0x0087df0e in bt::PeerManager::update() () from /usr/lib/libbtcore.so.11
#18 0x008b33be in bt::TorrentControl::update() () from /usr/lib/libbtcore.so.11
#19 0x0806d1e7 in _start ()

Revision history for this message
mmm (kontakt-podvodnik) wrote :

I just found out that the libbtcore is inside the ktorrent, so i add installed the dbg package and will add better stacktrace when it happens again (today it did twice and is not midday yet).

Revision history for this message
mmm (kontakt-podvodnik) wrote :
Download full text (6.6 KiB)

Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Ktorrent crashes when downloading few torrents on background. There are few possible duplicates across the bug reports (e.g. mine one https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/538659)

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

Thread 3 (Thread 0xb1dffb70 (LWP 12292)):
#0 0x007b0422 in __kernel_vsyscall ()
#1 0x01d66142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2 0x041dc8d4 in __pthread_cond_timedwait (cond=0xb1dff204, mutex=0xb1dff234, abstime=0xb1dff280) at forward.c:152
#3 0x00bd581e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4 0x00bd5973 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#5 0x00a99558 in net::DownloadThread::update (this=0x9bf4040) at ../../libbtcore/net/downloadthread.cpp:110
#6 0x00a99d38 in net::NetworkThread::run (this=0x9bf4040) at ../../libbtcore/net/networkthread.cpp:48
#7 0x00bd5e32 in QThreadPrivate::start (arg=0x9bf4040) at thread/qthread_unix.cpp:188
#8 0x01d6180e in start_thread (arg=0xb1dffb70) at pthread_create.c:300
#9 0x041cf8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb15feb70 (LWP 12293)):
#0 0x007b0422 in __kernel_vsyscall ()
#1 0x01d65e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0x041dc87d in __pthread_cond_wait (cond=0x9bf45d0, mutex=0x9bf45b8) at forward.c:139
#3 0x00bd6e67 in QWaitConditionPrivate::wait (this=0x9bf4328, mutex=0x9bf432c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 QWaitCondition::wait (this=0x9bf4328, mutex=0x9bf432c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5 0x00a98a6d in net::UploadThread::update (this=0x9bf42f0) at ../../libbtcore/net/uploadthread.cpp:73
#6 0x00a99d38 in net::NetworkThread::run (this=0x9bf42f0) at ../../libbtcore/net/networkthread.cpp:48
#7 0x00bd5e32 in QThreadPrivate::start (arg=0x9bf42f0) at thread/qthread_unix.cpp:188
#8 0x01d6180e in start_thread (arg=0xb15feb70) at pthread_create.c:300
#9 0x041cf8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77c8700 (LWP 12289)):
[KCrash Handler]
#6 memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#7 0xbfddda4c in ?? ()
#8 0x01cd37bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9 0x00a84594 in bt::SHA1HashGen::update (this=0xa008c2c, data=0xb58cf000 "E\201;s\242\255\307>?\230p\n{", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00ab9eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00abad30 in bt::ChunkDownload::piece (this=0xa008ba8, p=..., ok=@0xbfdddbef) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00ac18ff in bt::Downloader::pieceReceived (this=0xaa5ae50, p=...) at ...

Read more...

Revision history for this message
mmm (kontakt-podvodnik) wrote :
Revision history for this message
mmm (kontakt-podvodnik) wrote :
Revision history for this message
mmm (kontakt-podvodnik) wrote :

automatic reporting tool in KDE created: https://bugs.kde.org/show_bug.cgi?id=230768

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.