<?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>256822</bug_id>
          
          <creation_ts>2010-11-13 17:16:57 +0000</creation_ts>
          <short_desc>ktorrent still crashing spontaneously</short_desc>
          <delta_ts>2010-11-13 18:31:39 +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>yinghu37</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>1043978</commentid>
    <comment_count>0</comment_count>
    <who name="">yinghu37</who>
    <bug_when>2010-11-13 17:16:57 +0000</bug_when>
    <thetext>Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Running ktorrent with 4 torrents, two actively downloading; nothing else particularly running on computer; ktorrent crashed while user away from machine.

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

Thread 6 (Thread 0x7f05cfba7710 (LWP 10286)):
#0  0x00007f05dba1e665 in __pthread_mutex_lock (mutex=0x2505a58) at pthread_mutex_lock.c:61
#1  0x00007f05d513f8bf in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f05d513fe78 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f05d51407b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0x00007f05d02de0f4 in ?? () from /usr/lib/libgio-2.0.so.0
#5  0x00007f05d51657e4 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f05dba1c971 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#7  0x00007f05da2f191d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f05c1e80710 (LWP 10291)):
#0  0x00007f05da2ea2b3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f05de2e5212 in dht::RPCServerThread::run (this=0x271e880) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f05dbca727e in QThreadPrivate::start (arg=0x271e880) at thread/qthread_unix.cpp:266
#3  0x00007f05dba1c971 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#4  0x00007f05da2f191d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f05c14f3710 (LWP 10310)):
#0  0x00007f05de282865 in net::DownloadThread::update (this=0x2483320) at ../../src/net/downloadthread.cpp:65
#1  0x00007f05de2832c9 in net::NetworkThread::run (this=0x2483320) at ../../src/net/networkthread.cpp:48
#2  0x00007f05dbca727e in QThreadPrivate::start (arg=0x2483320) at thread/qthread_unix.cpp:266
#3  0x00007f05dba1c971 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#4  0x00007f05da2f191d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f05bbfff710 (LWP 10311)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f05dbca6845 in thread_sleep (ti=0x7f05bbffeda0) at thread/qthread_unix.cpp:416
#2  0x00007f05dbca69b0 in QThread::msleep (msecs=&lt;value optimized out&gt;) at thread/qthread_unix.cpp:442
#3  0x00007f05de28207d in net::UploadThread::update (this=0x2483990) at ../../src/net/uploadthread.cpp:89
#4  0x00007f05de2832c9 in net::NetworkThread::run (this=0x2483990) at ../../src/net/networkthread.cpp:48
#5  0x00007f05dbca727e in QThreadPrivate::start (arg=0x2483990) at thread/qthread_unix.cpp:266
#6  0x00007f05dba1c971 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#7  0x00007f05da2f191d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f05c0cf2710 (LWP 10312)):
#0  0x00007f05da2e51d3 in __poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=4961) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f05d59f9383 in send_dg (statp=0x7f05c0cf2dc8, buf=&lt;value optimized out&gt;, buflen=&lt;value optimized out&gt;, buf2=0x0, buflen2=&lt;value optimized out&gt;, ansp=&lt;value optimized out&gt;, anssizp=0x7f05c0cf0950, terrno=0x7f05c0cf08f8, ns=0, v_circuit=0x7f05c0cf08f4, gotsomewhere=0x7f05c0cf08fc, anscp=0x7f05c0cf1400, ansp2=0x0, anssizp2=0x0, resplen2=0x0) at res_send.c:1066
#2  0x00007f05d59fb004 in __libc_res_nsend (statp=0x7f05c0cf2dc8, buf=&lt;value optimized out&gt;, buflen=&lt;value optimized out&gt;, buf2=0x0, buflen2=&lt;value optimized out&gt;, ans=0x7f05c0cf0b70 &quot;\355\252\201\200&quot;, anssiz=1024, ansp=0x7f05c0cf1400, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#3  0x00007f05d59f7665 in __libc_res_nquery (statp=0x7f05c0cf2dc8, name=&lt;value optimized out&gt;, class=&lt;value optimized out&gt;, type=&lt;value optimized out&gt;, answer=0x7f05c0cf0b70 &quot;\355\252\201\200&quot;, anslen=&lt;value optimized out&gt;, answerp=0x7f05c0cf1400, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225
#4  0x00007f05c00ebfd1 in _nss_dns_gethostbyaddr2_r (addr=&lt;value optimized out&gt;, len=&lt;value optimized out&gt;, af=2, result=&lt;value optimized out&gt;, buffer=&lt;value optimized out&gt;, buflen=&lt;value optimized out&gt;, errnop=0x7f05c0cf2698, h_errnop=0x7f05c0cf1b8c, ttlp=0x0) at nss_dns/dns-host.c:471
#5  0x00007f05c00ec145 in _nss_dns_gethostbyaddr_r (addr=0x7f05c0cf0810, len=1, af=4961, result=0xffffffffffffffff, buffer=0x0, buflen=139662686357528, errnop=0x7f05c0cf2698, h_errnop=0x7f05c0cf1b8c) at nss_dns/dns-host.c:530
#6  0x00007f05da30c568 in __gethostbyaddr_r (addr=0x2e631c4, len=4, type=&lt;value optimized out&gt;, resbuf=0x7f05c0cf1b50, buffer=&lt;value optimized out&gt;, buflen=&lt;value optimized out&gt;, result=0x7f05c0cf1b80, h_errnop=0x7f05c0cf1b8c) at ../nss/getXXbyYY_r.c:253
#7  0x00007f05da312b5b in getnameinfo (sa=0x2e631c0, addrlen=&lt;value optimized out&gt;, host=0x7f05c0cf1cb0 &quot;&quot;, hostlen=199, serv=0x7f05c0cf1be0 &quot;&quot;, servlen=199, flags=&lt;value optimized out&gt;) at getnameinfo.c:223
#8  0x00007f05de285f4f in net::ReverseResolver::resolve (this=&lt;value optimized out&gt;, addr=...) at ../../src/net/reverseresolver.cpp:64
#9  0x00007f05de285ff0 in net::ReverseResolver::run (this=0x33037d0) at ../../src/net/reverseresolver.cpp:73
#10 0x00007f05de2861dd in net::ReverseResolverThread::run (this=0x2e3f210) at ../../src/net/reverseresolver.cpp:118
#11 0x00007f05dbca727e in QThreadPrivate::start (arg=0x2e3f210) at thread/qthread_unix.cpp:266
#12 0x00007f05dba1c971 in start_thread (arg=&lt;value optimized out&gt;) at pthread_create.c:304
#13 0x00007f05da2f191d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f05de76b760 (LWP 10285)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f05d9d0c0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&amp;) () from /usr/lib/libqca.so.2
#8  0x00007f05d9d224c5 in QCA::Hash::update(QByteArray const&amp;) () from /usr/lib/libqca.so.2
#9  0x00007f05de26b4ab in bt::SHA1HashGen::update (this=0x46539f0, data=0x7f05c0006e13 &quot;%\207j\351\306P3g\341Z\234\203\343&quot;, len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f05de2a60e3 in bt::ChunkDownload::updateHash (this=0x4653930) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f05de2a82e8 in bt::ChunkDownload::piece (this=0x4653930, p=..., ok=&lt;value optimized out&gt;) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f05de2aebde in bt::Downloader::pieceReceived (this=0x7f05b00079e0, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f05de292315 in bt::Peer::packetReady (this=0x3651d00, packet=0x7f05b0244a00 &quot;\a&quot;, len=&lt;value optimized out&gt;) at ../../src/peer/peer.cpp:283
#14 0x00007f05de29d248 in bt::PacketReader::update (this=0x42ddc10) at ../../src/peer/packetreader.cpp:141
#15 0x00007f05de2910d5 in bt::Peer::update (this=0x3651d00) at ../../src/peer/peer.cpp:538
#16 0x00007f05de296995 in bt::PeerManager::update (this=0x7f05b00934e0) at ../../src/peer/peermanager.cpp:144
#17 0x00007f05de2c88a4 in bt::TorrentControl::update (this=0x7f05b009d3d0) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x00000000004289fb in kt::Core::update (this=0x2713810) at ../../ktorrent/core.cpp:1030
#19 0x0000000000431222 in kt::Core::qt_metacall (this=0x2713810, _c=QMetaObject::InvokeMetaMethod, _id=198, _a=0x7fff6ee7f8d0) at ./core.moc:167
#20 0x00007f05dbdb2b27 in QMetaObject::activate (sender=0x2713838, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x7c2) at kernel/qobject.cpp:3280
#21 0x00007f05dbdac8f9 in QObject::event (this=0x2713838, e=0x7f05c0007000) at kernel/qobject.cpp:1183
#22 0x00007f05daee4fdc in QApplicationPrivate::notify_helper (this=0x24b0870, receiver=0x2713838, e=0x7fff6ee80000) at kernel/qapplication.cpp:4396
#23 0x00007f05daeeaaed in QApplication::notify (this=0x7fff6ee80330, receiver=0x2713838, e=0x7fff6ee80000) at kernel/qapplication.cpp:4277
#24 0x0000000000437d1a in kt::App::notify (this=0x48bb675, receiver=0x7f05c0007000, event=0x3ffb) at ../../ktorrent/app.cpp:97
#25 0x00007f05dbd9acdc in QCoreApplication::notifyInternal (this=0x7fff6ee80330, receiver=0x2713838, event=0x7fff6ee80000) at kernel/qcoreapplication.cpp:732
#26 0x00007f05dbdca6f2 in sendEvent (this=0x24b7870) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x24b7870) at kernel/qeventdispatcher_unix.cpp:602
#28 0x00007f05dbdc74c8 in timerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:231
#30 0x00007f05d513c342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f05d51402a8 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f05d514045c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f05dbdc7193 in QEventDispatcherGlib::processEvents (this=0x2481320, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:415
#34 0x00007f05daf97a4e in QGuiEventDispatcherGlib::processEvents (this=0x48bb675, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f05dbd99a02 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f05dbd99dec in QEventLoop::exec (this=0x7fff6ee802a0, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f05dbd9debb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0x0000000000426a8b in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 256348, bug 256345, bug 255263, bug 254562, bug 253893.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1044002</commentid>
    <comment_count>1</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2010-11-13 18:31:39 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>