<?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>261102</bug_id>
          
          <creation_ts>2010-12-23 21:36:54 +0000</creation_ts>
          <short_desc>ktorrent crashes every time when used</short_desc>
          <delta_ts>2010-12-24 13:00:07 +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>Ubuntu</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>vidkid</reporter>
          <assigned_to name="Joris Guisson">joris.guisson</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1063494</commentid>
    <comment_count>0</comment_count>
    <who name="">vidkid</who>
    <bug_when>2010-12-23 21:36:54 +0000</bug_when>
    <thetext>Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-27-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
ktorrent crashes every time when used again and again

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f6bf9029700 (LWP 3196)):
#0  0x00007f6c05fe0690 in dht::RPCServerThread::run (this=0xec1db0) at ../../libbtcore/dht/rpcserver.cpp:107
#1  0x00007f6c039f9f95 in QThreadPrivate::start (arg=0xec1db0) at thread/qthread_unix.cpp:248
#2  0x00007f6c037699ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#3  0x00007f6c0207d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6bf982a700 (LWP 3208)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f6bf9829aa0 in ?? ()
#2  0x00007fffb8a9a852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f6be227a700 (LWP 3214)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f6be2279d80 in ?? ()
#2  0x00007fffb8a9a714 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f6be1a79700 (LWP 3215)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6c039fafdb in QWaitConditionPrivate::wait (this=&lt;value optimized out&gt;, mutex=0xdeff20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=&lt;value optimized out&gt;, mutex=0xdeff20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6c05f8660c in net::UploadThread::update (this=0xdefeb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f6c05f876e9 in net::NetworkThread::run (this=0xdefeb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f6c039f9f95 in QThreadPrivate::start (arg=0xdefeb0) at thread/qthread_unix.cpp:248
#6  0x00007f6c037699ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#7  0x00007f6c0207d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6be1278700 (LWP 3216)):
#0  0x00007f6c0206f4bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6c0200a348 in _IO_new_file_underflow (fp=0x7f6bd804b5f0) at fileops.c:606
#2  0x00007f6c0200beee in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f6c0200043e in _IO_getline_info (fp=0x7f6bd804b5f0, buf=0x7f6c0646a000 &quot;RESOLVE-ADDRESS 88.203.174.237\n&quot;, n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f6c01fff329 in _IO_fgets (buf=0x7f6be12770d0 &quot;-15 Timeout reached\n&quot;, n=&lt;value optimized out&gt;, fp=0x7f6bd804b5f0) at iofgets.c:58
#5  0x00007f6be0875fcb in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f6be0876435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f6c02098258 in __gethostbyaddr_r (addr=0x1918d94, len=4, type=&lt;value optimized out&gt;, resbuf=0x7f6be1277b50, buffer=&lt;value optimized out&gt;, buflen=&lt;value optimized out&gt;, 
    result=0x7f6be1277b80, h_errnop=0x7f6be1277b8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f6c0209e84b in *__GI_getnameinfo (sa=0x1918d90, addrlen=&lt;value optimized out&gt;, host=0x7f6be1277cb0 &quot;&quot;, hostlen=199, serv=0x7f6be1277be0 &quot;&quot;, servlen=199, flags=&lt;value optimized out&gt;)
    at getnameinfo.c:223
#9  0x00007f6c05f8a0af in net::ReverseResolver::resolve (this=&lt;value optimized out&gt;, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64
#10 0x00007f6c05f8a150 in net::ReverseResolver::run (this=0x13a2fe0) at ../../libbtcore/net/reverseresolver.cpp:73
#11 0x00007f6c05f8a247 in net::ReverseResolverThread::run (this=0x7f6be40022f0) at ../../libbtcore/net/reverseresolver.cpp:118
#12 0x00007f6c039f9f95 in QThreadPrivate::start (arg=0x7f6be40022f0) at thread/qthread_unix.cpp:248
#13 0x00007f6c037699ca in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:300
#14 0x00007f6c0207d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6c06453760 (LWP 3194)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f6c01a980b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&amp;) () from /usr/lib/libqca.so.2
#7  0x00007f6c01aae4c5 in QCA::Hash::update(QByteArray const&amp;) () from /usr/lib/libqca.so.2
#8  0x00007f6c05f727bb in bt::SHA1HashGen::update (this=0x19d3920, 
    data=0x7f6bfba4d000 &quot;\001\362#Bqu\315\024 \237\246\b\224&gt;F\260\201h\303\225\244\031VL\246\373\350n\261D\354\276&lt;0\234Y\220*\t\364\323\346\064,\230qr\r\362\213\367iv\361\315O\270k \214O\275`\220\360\236\246\027?A\323\220)\030pL\212\227\374\321%A\325\360\333N\250&gt;\016\024\260\035\071\035\335\a\366\266\232`\r\b\373[ \247++\205\061G\371j\370\210\255\266lcs\313\235Kz\360\275\063+\272\063\332f\325\020\071&lt;\375\370$\373\070/B\036\242\214\362[\261\t\271\323\210\211\261\004\t\250\245\211\243\033ws\323\066\003Pb$\236\376\231\312\243JW\&quot;\275s-\310\375V\273\351\016\356;\343\373\252\216wO\245d\030\245\317&quot;..., len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007f6c05fa5072 in bt::ChunkDownload::updateHash (this=0x19d3860) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007f6c05fa68f8 in bt::ChunkDownload::piece (this=0x19d3860, p=..., ok=&lt;value optimized out&gt;) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007f6c05facd3e in bt::Downloader::pieceReceived (this=0x185c9d0, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007f6c05f94681 in bt::Peer::packetReady (this=0x17e5fc0, packet=0x7f6bd809ae40 &quot;\a&quot;, len=&lt;value optimized out&gt;) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007f6c05f9dc78 in bt::PacketReader::update (this=0x16900a0) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007f6c05f94045 in bt::Peer::update (this=0x17e5fc0) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007f6c05f980d0 in bt::PeerManager::update (this=0x18ca540) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007f6c05fc625a in bt::TorrentControl::update (this=0x183a060) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0xe9c520) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0xe9c520, _c=QMetaObject::InvokeMetaMethod, _id=24848952, _a=0x7fffb8a53f90) at ./core.moc:155
#19 0x00007f6c03afd036 in QMetaObject::activate (sender=0xe9c548, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x600) at kernel/qobject.cpp:3295
#20 0x00007f6c03af9893 in QObject::event (this=0xe9c548, e=0x7fffb8a546e0) at kernel/qobject.cpp:1212
#21 0x00007f6c02c86c0c in QApplicationPrivate::notify_helper (this=0xe24b10, receiver=0xe9c548, e=0x7fffb8a546e0) at kernel/qapplication.cpp:4302
#22 0x00007f6c02c8d0eb in QApplication::notify (this=0x7fffb8a54a10, receiver=0xe9c548, e=0x7fffb8a546e0) at kernel/qapplication.cpp:4185
#23 0x00007f6c05133a16 in KApplication::notify (this=0x7fffb8a54a10, receiver=0xe9c548, event=0x7fffb8a546e0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f6c03ae9d9c in QCoreApplication::notifyInternal (this=0x7fffb8a54a10, receiver=0xe9c548, event=0x7fffb8a546e0) at kernel/qcoreapplication.cpp:726
#25 0x00007f6c03b16ba2 in QCoreApplication::sendEvent (this=0xe1e5c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0xe1e5c0) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f6c03b136c4 in timerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:184
#28 0x00007f6bfe6fe8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007f6bfe702748 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007f6bfe7028fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007f6c03b133b3 in QEventDispatcherGlib::processEvents (this=0xded980, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#32 0x00007f6c02d3718e in QGuiEventDispatcherGlib::processEvents (this=0x17b3a38, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f6c03ae86c2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#34 0x00007f6c03ae8a9c in QEventLoop::exec (this=0x7fffb8a54980, flags=) at kernel/qeventloop.cpp:201
#35 0x00007f6c03aed73b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#36 0x0000000000427294 in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 261009, bug 260359, bug 258765, bug 258248, bug 257314.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1063646</commentid>
    <comment_count>1</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2010-12-24 13:00:07 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>