Bug 247114 - Ktorrent Crash while downloading
Summary: Ktorrent Crash while downloading
Status: RESOLVED DUPLICATE of bug 247984
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 07:02 UTC by Martin
Modified: 2010-08-22 20:16 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 Martin 2010-08-09 07:02:44 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Was browsing the net when crash occured.
Using Suse 11.3 x64, had several applications running (Banshee, EasyTAG, Firefox)

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

Thread 9 (Thread 0x7f698968f710 (LWP 6364)):
#0  0x00007f6993e8ae13 in select () from /lib64/libc.so.6
#1  0x00007f699756d167 in dht::RPCServerThread::run (this=0x7dbc20) at /usr/src/debug/libktorrent-1.0.2/src/dht/rpcserver.cpp:107
#2  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f697235f710 (LWP 6847)):
#0  net::Poll::ready (this=0x6de1d0, index=<value optimized out>, mode=net::Poll::INPUT) at /usr/src/debug/libktorrent-1.0.2/src/net/poll.cpp:85
#1  0x00007f699751a270 in net::DownloadThread::update (this=0x6de1c0) at /usr/src/debug/libktorrent-1.0.2/src/net/downloadthread.cpp:65
#2  0x00007f699751a3c9 in net::NetworkThread::run (this=0x6de1c0) at /usr/src/debug/libktorrent-1.0.2/src/net/networkthread.cpp:48
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6971b5e710 (LWP 6848)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579c9b5 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f699579cb20 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007f6997519bc8 in net::UploadThread::update (this=0x6de810) at /usr/src/debug/libktorrent-1.0.2/src/net/uploadthread.cpp:89
#4  0x00007f699751a3c9 in net::NetworkThread::run (this=0x6de810) at /usr/src/debug/libktorrent-1.0.2/src/net/networkthread.cpp:48
#5  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#7  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f697135d710 (LWP 6849)):
#0  0x00007f699551339c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d2bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f699751ce42 in net::ReverseResolverThread::run (this=0xbc4390) at /usr/src/debug/libktorrent-1.0.2/src/net/reverseresolver.cpp:123
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f696bbfe710 (LWP 25881)):
#0  0x00007f6993e886b3 in poll () from /lib64/libc.so.6
#1  0x00007f698633999d in __libc_res_nsend () from /lib64/libresolv.so.2
#2  0x00007f69863378e5 in __libc_res_nquery () from /lib64/libresolv.so.2
#3  0x00007f6986337e91 in __libc_res_nquerydomain () from /lib64/libresolv.so.2
#4  0x00007f698633848d in __libc_res_nsearch () from /lib64/libresolv.so.2
#5  0x00007f698654994e in _nss_dns_gethostbyname4_r () from /lib64/libnss_dns.so.2
#6  0x00007f6993e7bcdc in gaih_inet () from /lib64/libc.so.6
#7  0x00007f6993e7e007 in getaddrinfo () from /lib64/libc.so.6
#8  0x00007f69960813b0 in ?? () from /usr/lib64/libQtNetwork.so.4
#9  0x00007f6996077153 in ?? () from /usr/lib64/libQtNetwork.so.4
#10 0x00007f6995793035 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#12 0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f6993e9182d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6985b2e710 (LWP 25882)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d222 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f69957930d0 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6987924710 (LWP 25883)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d222 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f69957930d0 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f698632f710 (LWP 25884)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d222 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f69957930d0 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f69979d8760 (LWP 6197)):
[KCrash Handler]
#5  0x00007f6993e4096b in memcpy () from /lib64/libc.so.6
#6  0x00007f69938b30a1 in QCA::MemoryRegion::Private::Private (this=0x1904510, from=..., sec=false) at qca_tools.cpp:402
#7  0x00007f69938b1138 in QCA::MemoryRegion::MemoryRegion (this=0x7ffffffeeae0, from=...) at qca_tools.cpp:445
#8  0x00007f69938c7c80 in QCA::Hash::update (this=0xbd1c80, a=...) at qca_basic.cpp:215
#9  0x00007f69975065cb in bt::SHA1HashGen::update (this=0x1975690, data=0x7f69870c4d12 "5\241`\352C", len=16384) at /usr/src/debug/libktorrent-1.0.2/src/util/sha1hashgen.cpp:240
#10 0x00007f6997538f7b in bt::ChunkDownload::updateHash (this=0x19755d0) at /usr/src/debug/libktorrent-1.0.2/src/download/chunkdownload.cpp:555
#11 0x00007f699753a9c5 in bt::ChunkDownload::piece (this=0x19755d0, p=..., ok=<value optimized out>) at /usr/src/debug/libktorrent-1.0.2/src/download/chunkdownload.cpp:127
#12 0x00007f699753fba7 in bt::Downloader::pieceReceived (this=0x1c0f150, p=...) at /usr/src/debug/libktorrent-1.0.2/src/download/downloader.cpp:134
#13 0x00007f699752a0cd in bt::Peer::packetReady (this=0x1d05590, packet=0x7f696c051460 "\a", len=<value optimized out>) at /usr/src/debug/libktorrent-1.0.2/src/peer/peer.cpp:283
#14 0x00007f6997532138 in bt::PacketReader::update (this=0x195b600) at /usr/src/debug/libktorrent-1.0.2/src/peer/packetreader.cpp:141
#15 0x00007f6997528245 in bt::Peer::update (this=0x1d05590) at /usr/src/debug/libktorrent-1.0.2/src/peer/peer.cpp:538
#16 0x00007f699752d1fd in bt::PeerManager::update (this=0x1b62680) at /usr/src/debug/libktorrent-1.0.2/src/peer/peermanager.cpp:142
#17 0x00007f6997558fa4 in bt::TorrentControl::update (this=0x1b47a50) at /usr/src/debug/libktorrent-1.0.2/src/torrent/torrentcontrol.cpp:163
#18 0x000000000042b91b in _start ()


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

Thread 9 (Thread 0x7f698968f710 (LWP 6364)):
#0  0x00007f6993e8ae13 in select () from /lib64/libc.so.6
#1  0x00007f699756d167 in dht::RPCServerThread::run (this=0x7dbc20) at /usr/src/debug/libktorrent-1.0.2/src/dht/rpcserver.cpp:107
#2  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f697235f710 (LWP 6847)):
#0  net::Poll::ready (this=0x6de1d0, index=<value optimized out>, mode=net::Poll::INPUT) at /usr/src/debug/libktorrent-1.0.2/src/net/poll.cpp:85
#1  0x00007f699751a270 in net::DownloadThread::update (this=0x6de1c0) at /usr/src/debug/libktorrent-1.0.2/src/net/downloadthread.cpp:65
#2  0x00007f699751a3c9 in net::NetworkThread::run (this=0x6de1c0) at /usr/src/debug/libktorrent-1.0.2/src/net/networkthread.cpp:48
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6971b5e710 (LWP 6848)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579c9b5 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f699579cb20 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007f6997519bc8 in net::UploadThread::update (this=0x6de810) at /usr/src/debug/libktorrent-1.0.2/src/net/uploadthread.cpp:89
#4  0x00007f699751a3c9 in net::NetworkThread::run (this=0x6de810) at /usr/src/debug/libktorrent-1.0.2/src/net/networkthread.cpp:48
#5  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#7  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f697135d710 (LWP 6849)):
#0  0x00007f699551339c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d2bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f699751ce42 in net::ReverseResolverThread::run (this=0xbc4390) at /usr/src/debug/libktorrent-1.0.2/src/net/reverseresolver.cpp:123
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f696bbfe710 (LWP 25881)):
#0  0x00007f6993e886b3 in poll () from /lib64/libc.so.6
#1  0x00007f698633999d in __libc_res_nsend () from /lib64/libresolv.so.2
#2  0x00007f69863378e5 in __libc_res_nquery () from /lib64/libresolv.so.2
#3  0x00007f6986337e91 in __libc_res_nquerydomain () from /lib64/libresolv.so.2
#4  0x00007f698633848d in __libc_res_nsearch () from /lib64/libresolv.so.2
#5  0x00007f698654994e in _nss_dns_gethostbyname4_r () from /lib64/libnss_dns.so.2
#6  0x00007f6993e7bcdc in gaih_inet () from /lib64/libc.so.6
#7  0x00007f6993e7e007 in getaddrinfo () from /lib64/libc.so.6
#8  0x00007f69960813b0 in ?? () from /usr/lib64/libQtNetwork.so.4
#9  0x00007f6996077153 in ?? () from /usr/lib64/libQtNetwork.so.4
#10 0x00007f6995793035 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#12 0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f6993e9182d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6985b2e710 (LWP 25882)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d222 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f69957930d0 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6987924710 (LWP 25883)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d222 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f69957930d0 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f698632f710 (LWP 25884)):
#0  0x00007f6995513709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f699579d222 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f69957930d0 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f699579cbf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f699550ea4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f6993e9182d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f69979d8760 (LWP 6197)):
[KCrash Handler]
#5  0x00007f6993e4096b in memcpy () from /lib64/libc.so.6
#6  0x00007f69938b30a1 in QCA::MemoryRegion::Private::Private (this=0x1904510, from=..., sec=false) at qca_tools.cpp:402
#7  0x00007f69938b1138 in QCA::MemoryRegion::MemoryRegion (this=0x7ffffffeeae0, from=...) at qca_tools.cpp:445
#8  0x00007f69938c7c80 in QCA::Hash::update (this=0xbd1c80, a=...) at qca_basic.cpp:215
#9  0x00007f69975065cb in bt::SHA1HashGen::update (this=0x1975690, data=0x7f69870c4d12 "5\241`\352C", len=16384) at /usr/src/debug/libktorrent-1.0.2/src/util/sha1hashgen.cpp:240
#10 0x00007f6997538f7b in bt::ChunkDownload::updateHash (this=0x19755d0) at /usr/src/debug/libktorrent-1.0.2/src/download/chunkdownload.cpp:555
#11 0x00007f699753a9c5 in bt::ChunkDownload::piece (this=0x19755d0, p=..., ok=<value optimized out>) at /usr/src/debug/libktorrent-1.0.2/src/download/chunkdownload.cpp:127
#12 0x00007f699753fba7 in bt::Downloader::pieceReceived (this=0x1c0f150, p=...) at /usr/src/debug/libktorrent-1.0.2/src/download/downloader.cpp:134
#13 0x00007f699752a0cd in bt::Peer::packetReady (this=0x1d05590, packet=0x7f696c051460 "\a", len=<value optimized out>) at /usr/src/debug/libktorrent-1.0.2/src/peer/peer.cpp:283
#14 0x00007f6997532138 in bt::PacketReader::update (this=0x195b600) at /usr/src/debug/libktorrent-1.0.2/src/peer/packetreader.cpp:141
#15 0x00007f6997528245 in bt::Peer::update (this=0x1d05590) at /usr/src/debug/libktorrent-1.0.2/src/peer/peer.cpp:538
#16 0x00007f699752d1fd in bt::PeerManager::update (this=0x1b62680) at /usr/src/debug/libktorrent-1.0.2/src/peer/peermanager.cpp:142
#17 0x00007f6997558fa4 in bt::TorrentControl::update (this=0x1b47a50) at /usr/src/debug/libktorrent-1.0.2/src/torrent/torrentcontrol.cpp:163
#18 0x000000000042b91b in _start ()

Possible duplicates by query: bug 215526, bug 207596.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-08-22 20:16:53 UTC

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