<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>247114</bug_id>
          
          <creation_ts>2010-08-09 07:02:44 +0000</creation_ts>
          <short_desc>Ktorrent Crash while downloading</short_desc>
          <delta_ts>2010-08-22 20:16:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ktorrent</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>247984</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Martin">martin94</reporter>
          <assigned_to name="Joris Guisson">joris.guisson</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>1</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1000463</commentid>
    <comment_count>0</comment_count>
    <who name="Martin">martin94</who>
    <bug_when>2010-08-09 07:02:44 +0000</bug_when>
    <thetext>Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.4 (KDE 4.4.4) &quot;release 2&quot;
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: &quot;openSUSE 11.3 (x86_64)&quot;

-- 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=&lt;value optimized out&gt;, 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 &quot;5\241`\352C&quot;, 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=&lt;value optimized out&gt;) 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 &quot;\a&quot;, len=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, 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 &quot;5\241`\352C&quot;, 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=&lt;value optimized out&gt;) 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 &quot;\a&quot;, len=&lt;value optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1008049</commentid>
    <comment_count>1</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2010-08-22 20:16:53 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 247984 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>