Bug 186621

Summary: Crash happend during the night (long run) [memcpy, MemoryRegion, (SecureArray), Hash::update]
Product: [Applications] ktorrent Reporter: Robert Sela <sela>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED FIXED    
Severity: crash CC: adslw8kh, afberendsen, alpha_one_x86, andrew.laughlin, aymeric.rateau, boldak.prasek, bradh, capone, chaddai.fouche, ddhutche, didekridek, dimitri, dr_anonymous, finex, gaizka.gonzalez, hamslices, jakew007, jarbinks, jcouch79, jcowin35, jon, joris.guisson, josemaria1, julienmeme-libre, kde-alex, killerisation, leonardo.la.malfa, m0ik0, mailinglist, marcin, markusnn, martin.marques, mckisick, moritz-kdebugs, nafradi, neowin, oferkv, onialanka, ophilar, otymonn, ovi.stanciu, psmouty, rash502, s.zelman, spluque, szacour, temp, uv-b, veranyon, walldog, webmaster.wcsfrance, willbroderick, yinghu37
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description Robert Sela 2009-03-09 07:09:18 UTC
Version:           3.2 (using KDE 4.1.3)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Mandriva RPMs

Program: KTorrent (ktorrent), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb58f26d0 (LWP 5084)]
[New Thread 0xb245fb90 (LWP 5093)]
[New Thread 0xb40c5b90 (LWP 5092)]
[KCrash handler]
#6  0xb66843f1 in memcpy () from /lib/i686/libc.so.6
#7  0xb61782de in QCA::MemoryRegion::Private::Private ()
   from /usr/lib/libqca.so.2
#8  0xb6176788 in QCA::MemoryRegion::MemoryRegion () from /usr/lib/libqca.so.2
#9  0xb61767f4 in QCA::SecureArray::SecureArray () from /usr/lib/libqca.so.2
#10 0xb6182298 in QCA::Hash::update () from /usr/lib/libqca.so.2
#11 0xb618233a in QCA::Hash::update () from /usr/lib/libqca.so.2
#12 0xb7dd9141 in bt::SHA1HashGen::update (this=0xa284eec, 
    data=0xb38269f3 "[�\023���\214A;,(\017\232\027\024ey5*\v\202\006F\202&\215\215�M\211\221C)\213�\201�a�\214\0210\030\0378|=0�\031DT\004\025Zh��\202�\002h\226�Q'\001~��L'�\a\216\222\034Yy\232J�\020�cDb\020��|[\a\t\003g8\231a'\236�<I5\216\237PR<+�\215a�U�\017g,j(8O$\236�\006'Q�J���G\v�\215�E\201\206JV� o�Φ`]\022tx�\004�M\034� �: ��#,D�;D�o\230�\024�z\032��\031�Er\021���MJ�e�I\004�"..., 
    len=16384)
    at /usr/src/debug/ktorrent-3.2/libbtcore/util/sha1hashgen.cpp:238
#13 0xb7e1047f in bt::ChunkDownload::updateHash (this=0xa284e68)
    at /usr/src/debug/ktorrent-3.2/libbtcore/download/chunkdownload.cpp:562
#14 0xb7e112f1 in bt::ChunkDownload::piece (this=0xa284e68, p=@0xbfc808e8, 
    ok=@0xbfc8088b)
    at /usr/src/debug/ktorrent-3.2/libbtcore/download/chunkdownload.cpp:133
#15 0xb7e18030 in bt::Downloader::pieceReceived (this=0x9546e60, 
    p=@0xbfc808e8)
    at /usr/src/debug/ktorrent-3.2/libbtcore/download/downloader.cpp:118
#16 0xb7dffafe in bt::PeerManager::pieceReceived (this=0x93f3d38, 
    p=@0xbfc808e8)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peermanager.cpp:669
#17 0xb7dfe370 in bt::Peer::packetReady (this=0x9cc1a60, 
    packet=0x9c6fa00 "\a", len=3404)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peer.cpp:269
#18 0xb7e084be in bt::PacketReader::update (this=0xa36c198)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/packetreader.cpp:131
#19 0xb7dfdc31 in bt::Peer::update (this=0x9cc1a60)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peer.cpp:474
#20 0xb7e01d93 in bt::PeerManager::update (this=0x93f3d38)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peermanager.cpp:117
#21 0xb7e38767 in bt::TorrentControl::update (this=0x93b37c0)
    at /usr/src/debug/ktorrent-3.2/libbtcore/torrent/torrentcontrol.cpp:174
#22 0x0806a48d in kt::Core::update (this=0x92b5c08)
    at /usr/src/debug/ktorrent-3.2/ktorrent/core.cpp:856
#23 0x08070ce3 in kt::Core::qt_metacall (this=0x92b5c08, 
    _c=QMetaObject::InvokeMetaMethod, _id=16384, _a=0xbfc80b78)
    at /usr/src/debug/ktorrent-3.2/build/ktorrent/core.moc:147
#24 0xb7435c8d in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb7436a95 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb7471ef5 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#27 0xb743c946 in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#28 0xb743051b in QObject::event () from /usr/lib/libQtCore.so.4
#29 0xb69b9fac in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#30 0xb69c2205 in QApplication::notify () from /usr/lib/libQtGui.so.4
#31 0xb7960b91 in KApplication::notify () from /usr/lib/libkdeui.so.5
#32 0xb7420853 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#33 0xb744fa8d in ?? () from /usr/lib/libQtCore.so.4
#34 0xb744c3ee in ?? () from /usr/lib/libQtCore.so.4
#35 0xb5caf7ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb5cb2ee8 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb5cb30a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb744c34a in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#39 0xb6a5695a in ?? () from /usr/lib/libQtGui.so.4
#40 0xb741eec3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#41 0xb741f081 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#42 0xb74217f2 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#43 0xb69b9e14 in QApplication::exec () from /usr/lib/libQtGui.so.4
#44 0x08062e77 in main (argc=5, argv=0xbfc815f4)
    at /usr/src/debug/ktorrent-3.2/ktorrent/main.cpp:170
Comment 1 Joris Guisson 2009-03-09 19:14:49 UTC
Does this happen offen ?
Comment 2 Joris Guisson 2009-03-09 19:16:27 UTC
Does this happen often ?
Comment 3 Robert Sela 2009-03-09 19:46:07 UTC
It hapend again in 24 hrs.
I checked debug output to see if thereis change and notice slight diference:


Program: KTorrent (ktorrent), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb58c56d0 (LWP 20219)]
[New Thread 0xb27eeb90 (LWP 20228)]
[New Thread 0xb4098b90 (LWP 20227)]
[KCrash handler]
#6  0xb66573f1 in memcpy () from /lib/i686/libc.so.6
#7  0xb614b2de in QCA::MemoryRegion::Private::Private ()
   from /usr/lib/libqca.so.2
#8  0xb6149788 in QCA::MemoryRegion::MemoryRegion () from /usr/lib/libqca.so.2
#9  0xb61497f4 in QCA::SecureArray::SecureArray () from /usr/lib/libqca.so.2
#10 0xb6155298 in QCA::Hash::update () from /usr/lib/libqca.so.2
#11 0xb615533a in QCA::Hash::update () from /usr/lib/libqca.so.2
#12 0xb7dac141 in bt::SHA1HashGen::update (this=0xa187e1c, 
    data=0xb1fbfbf6 "h\vP�\"F\200\020\200\001\223\211,", len=16384)
    at /usr/src/debug/ktorrent-3.2/libbtcore/util/sha1hashgen.cpp:238
#13 0xb7de347f in bt::ChunkDownload::updateHash (this=0xa187d98)
    at /usr/src/debug/ktorrent-3.2/libbtcore/download/chunkdownload.cpp:562
#14 0xb7de42f1 in bt::ChunkDownload::piece (this=0xa187d98, p=@0xbff53c58, 
    ok=@0xbff53bfb)
    at /usr/src/debug/ktorrent-3.2/libbtcore/download/chunkdownload.cpp:133
#15 0xb7deb030 in bt::Downloader::pieceReceived (this=0x94cef08, 
    p=@0xbff53c58)
    at /usr/src/debug/ktorrent-3.2/libbtcore/download/downloader.cpp:118
#16 0xb7dd2afe in bt::PeerManager::pieceReceived (this=0x934ba40, 
    p=@0xbff53c58)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peermanager.cpp:669
#17 0xb7dd1370 in bt::Peer::packetReady (this=0x9acfca0, 
    packet=0xa08fc90 "\a", len=16393)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peer.cpp:269
#18 0xb7ddb4be in bt::PacketReader::update (this=0x9a7dd48)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/packetreader.cpp:131
#19 0xb7dd0c31 in bt::Peer::update (this=0x9acfca0)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peer.cpp:474
#20 0xb7dd4d93 in bt::PeerManager::update (this=0x934ba40)
    at /usr/src/debug/ktorrent-3.2/libbtcore/peer/peermanager.cpp:117
#21 0xb7e0b767 in bt::TorrentControl::update (this=0x933b7e8)
    at /usr/src/debug/ktorrent-3.2/libbtcore/torrent/torrentcontrol.cpp:174
#22 0x0806a48d in kt::Core::update (this=0x923ace8)
    at /usr/src/debug/ktorrent-3.2/ktorrent/core.cpp:856
#23 0x08070ce3 in kt::Core::qt_metacall (this=0x923ace8, 
    _c=QMetaObject::InvokeMetaMethod, _id=16384, _a=0xbff53ee8)
    at /usr/src/debug/ktorrent-3.2/build/ktorrent/core.moc:147
#24 0xb7408c8d in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb7409a95 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb7444ef5 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#27 0xb740f946 in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#28 0xb740351b in QObject::event () from /usr/lib/libQtCore.so.4
#29 0xb698cfac in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#30 0xb6995205 in QApplication::notify () from /usr/lib/libQtGui.so.4
#31 0xb7933b91 in KApplication::notify () from /usr/lib/libkdeui.so.5
#32 0xb73f3853 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#33 0xb7422a8d in ?? () from /usr/lib/libQtCore.so.4
#34 0xb741f3ee in ?? () from /usr/lib/libQtCore.so.4
#35 0xb5c827ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb5c85ee8 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb5c860a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb741f34a in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#39 0xb6a2995a in ?? () from /usr/lib/libQtGui.so.4
#40 0xb73f1ec3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#41 0xb73f2081 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#42 0xb73f47f2 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#43 0xb698ce14 in QApplication::exec () from /usr/lib/libQtGui.so.4
#44 0x08062e77 in main (argc=5, argv=0xbff54964)
    at /usr/src/debug/ktorrent-3.2/ktorrent/main.cpp:170
Comment 4 Joris Guisson 2009-03-17 18:07:03 UTC
*** Bug 187415 has been marked as a duplicate of this bug. ***
Comment 5 jcowin35 2009-03-27 20:56:24 UTC
Crashed while using Firefox (this instance). Has crashed before with a Signal 11 but was in screensaver mode. Approx 12 torrents running.

Application: KTorrent (ktorrent), signal SIGSEGV
[Current thread is 0 (LWP 7277)]

Thread 4 (Thread 0xb471ab90 (LWP 7282)):
#0  0xb802f430 in __kernel_vsyscall ()
#1  0xb67b9df1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb750b150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb743b6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb61cc50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb67c1a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0x98f0cb90 (LWP 7457)):
#0  0xb7c4481a in ?? () from /usr/lib/libbtcore.so.7
#1  0xb7c448c9 in ?? () from /usr/lib/libbtcore.so.7
#2  0xb7c45368 in ?? () from /usr/lib/libbtcore.so.7
#3  0xb743b6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb61cc50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb67c1a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb34bcb90 (LWP 7458)):
#0  0xb802f430 in __kernel_vsyscall ()
#1  0xb61d0075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67cfbbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb743c6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7c4422e in ?? () from /usr/lib/libbtcore.so.7
#5  0xb7c45368 in ?? () from /usr/lib/libbtcore.so.7
#6  0xb743b6ae in ?? () from /usr/lib/libQtCore.so.4
#7  0xb61cc50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb67c1a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5e436c0 (LWP 7277)):
[KCrash Handler]
#6  0xb716f4aa in ?? () from /usr/lib/libQtGui.so.4
#7  0xb716f5a3 in QSortFilterProxyModel::mapFromSource () from /usr/lib/libQtGui.so.4
#8  0xb71691f2 in QSortFilterProxyModel::parent () from /usr/lib/libQtGui.so.4
#9  0xb7120568 in QTreeView::indexRowSizeHint () from /usr/lib/libQtGui.so.4
#10 0xb7120c62 in ?? () from /usr/lib/libQtGui.so.4
#11 0xb7125c6a in QTreeView::verticalOffset () from /usr/lib/libQtGui.so.4
#12 0xb70ee540 in ?? () from /usr/lib/libQtGui.so.4
#13 0xb6c73490 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#14 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#15 0xb6c737be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#16 0xb6c737be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#17 0xb6c737be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#18 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#19 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#20 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#21 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#22 0xb6c737be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#23 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#24 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#25 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#26 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#27 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#28 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#29 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#30 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#31 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#32 0xb6c738b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#33 0xb6c737be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#34 0xb6c72d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#35 0xb6de2fae in ?? () from /usr/lib/libQtGui.so.4
#36 0xb6de34a7 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb6c74576 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0xb6fc8517 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#39 0xb7b3cd38 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#40 0xb7b8066c in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#41 0xb6c1c8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#42 0xb6c247fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#43 0xb7a6ad1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#44 0xb752be61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#45 0xb752cae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#46 0xb752ccdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#47 0xb755682f in ?? () from /usr/lib/libQtCore.so.4
#48 0xb6219718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb621cdc3 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb621cf81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb7556478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb6cb6ea5 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb752a52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0xb752a6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0xb752cda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0xb6c1c767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#57 0x0806441b in _start ()
Comment 6 Joris Guisson 2009-04-07 10:30:39 UTC
@ jcowin35: that is a bug which is already fixed in 3.2, and has nothing to do with this one.

This is a qca bug, reassigning to qca maintainer
Comment 7 Justin Karneges 2009-04-07 18:13:41 UTC
Does KTorrent use QCA::Initializer ?
Comment 8 Joris Guisson 2009-04-07 18:20:59 UTC
Yes, in libbtcore/util/sha1hashgen.cpp
Comment 9 Justin Karneges 2009-04-07 19:26:09 UTC
I checked the code and I don't see how this is possible.

One suggestion I have is instead of this:
  hash->update(data, len)
do:
  hash->update(MemoryRegion(QByteArray(data, len)))

This will ensure the data isn't implicitly converted to secure memory, which you don't need here anyway.  I'm wondering if maybe there's a bug in the Botan secure memory stuff (I didn't check the code that deep).
Comment 10 Joris Guisson 2009-04-09 09:03:48 UTC
I can do that, but will this prevent the crash ?
Comment 11 Justin Karneges 2009-04-09 09:20:06 UTC
I have no idea.  What I'm suggesting is a way to help debug.  I have personally not experienced a crash like this.
Comment 12 Joris Guisson 2009-05-01 19:04:37 UTC
*** Bug 191163 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-06-10 15:08:37 UTC
*** Bug 195850 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2009-06-24 15:43:17 UTC
*** Bug 197669 has been marked as a duplicate of this bug. ***
Comment 15 Joris Guisson 2009-06-28 10:23:17 UTC
*** Bug 198113 has been marked as a duplicate of this bug. ***
Comment 16 Joris Guisson 2009-07-10 18:37:31 UTC
*** Bug 199646 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2009-09-02 02:44:03 UTC
*** Bug 205873 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2009-09-04 15:09:23 UTC
*** Bug 206222 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2009-09-16 19:12:49 UTC
*** Bug 207596 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2009-09-26 20:51:20 UTC
*** Bug 208622 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2009-09-26 21:20:42 UTC
*** Bug 208634 has been marked as a duplicate of this bug. ***
Comment 22 Dario Andres 2009-10-02 00:07:00 UTC
*** Bug 209068 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2009-10-09 01:20:11 UTC
*** Bug 209735 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2009-10-21 16:17:40 UTC
*** Bug 210953 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2009-10-25 21:14:15 UTC
*** Bug 211829 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2009-10-25 21:14:56 UTC
*** Bug 211825 has been marked as a duplicate of this bug. ***
Comment 27 Dario Andres 2009-10-29 14:13:51 UTC
*** Bug 212247 has been marked as a duplicate of this bug. ***
Comment 28 Dario Andres 2009-10-31 02:22:08 UTC
*** Bug 212442 has been marked as a duplicate of this bug. ***
Comment 29 Joris Guisson 2009-10-31 11:25:30 UTC
I'm thinking this is a ktorrent crash after all, reassigning to me.
Comment 30 Joris Guisson 2009-10-31 11:26:18 UTC
SVN commit 1042967 by guisson:

Fix crash caused by error in reference count error in piece handlng.

BUG: 204227
BUG: 186621

 M  +1 -0      ChangeLog  
 M  +4 -0      libbtcore/download/chunkdownload.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1042967
Comment 31 Joris Guisson 2009-11-02 18:06:20 UTC
*** Bug 212752 has been marked as a duplicate of this bug. ***
Comment 32 Joris Guisson 2009-11-03 18:18:49 UTC
*** Bug 212846 has been marked as a duplicate of this bug. ***
Comment 33 Dario Andres 2009-11-04 21:35:37 UTC
*** Bug 213118 has been marked as a duplicate of this bug. ***
Comment 34 Martin Marques 2009-11-05 13:00:38 UTC
I'm still having the same problem.

All versions of 3.2.x crash.

ktorrent 3.3rc1 just hangs, right after throwing a permission denied on the directory where the torrent is downloading.

Permissions on the directory are OK, so I really don't know where the problem can be.
Comment 35 Joris Guisson 2009-11-05 18:19:15 UTC
The fix is not in the release candidate, it will be in 3.3.
Comment 36 Dario Andres 2009-11-06 01:58:35 UTC
*** Bug 213307 has been marked as a duplicate of this bug. ***
Comment 37 Martin Marques 2009-11-06 12:23:39 UTC
Where can I find the patch to test it?
Comment 38 Joris Guisson 2009-11-07 12:08:17 UTC
Checkout the latest stable code:

svn co svn://anonsvn.kde.org/home/kde/branches/stable/extragear-kde4/network/ktorrent/
Comment 39 Martin Marques 2009-11-08 12:59:56 UTC
(In reply to comment #38)
> Checkout the latest stable code:
> 
> svn co
> svn://anonsvn.kde.org/home/kde/branches/stable/extragear-kde4/network/ktorrent/

[martin@endor ktorrent]$ svn co svn://anonsvn.kde.org/home/kde/branches/stable/extragear-kde4/network/ktorrent/
svn: No such revision 1046316

???
Comment 40 Joris Guisson 2009-11-09 19:42:27 UTC
*** Bug 213866 has been marked as a duplicate of this bug. ***
Comment 41 Dario Andres 2009-11-12 13:48:19 UTC
*** Bug 214211 has been marked as a duplicate of this bug. ***
Comment 42 Joris Guisson 2009-11-15 17:20:14 UTC
*** Bug 214685 has been marked as a duplicate of this bug. ***
Comment 43 Joris Guisson 2009-11-17 17:47:32 UTC
*** Bug 214889 has been marked as a duplicate of this bug. ***
Comment 44 Joris Guisson 2009-11-19 19:38:06 UTC
*** Bug 215303 has been marked as a duplicate of this bug. ***
Comment 45 Dario Andres 2009-11-21 03:24:37 UTC
*** Bug 215491 has been marked as a duplicate of this bug. ***
Comment 46 Joris Guisson 2009-11-21 12:10:02 UTC
*** Bug 215526 has been marked as a duplicate of this bug. ***
Comment 47 Dario Andres 2009-11-21 17:44:33 UTC
*** Bug 215572 has been marked as a duplicate of this bug. ***
Comment 48 Dario Andres 2009-11-26 00:12:50 UTC
*** Bug 216171 has been marked as a duplicate of this bug. ***
Comment 49 Joris Guisson 2009-11-26 18:33:05 UTC
*** Bug 216252 has been marked as a duplicate of this bug. ***
Comment 50 Dario Andres 2009-12-06 23:55:43 UTC
*** Bug 217655 has been marked as a duplicate of this bug. ***
Comment 51 Joris Guisson 2009-12-13 16:11:22 UTC
*** Bug 218528 has been marked as a duplicate of this bug. ***
Comment 52 Dario Andres 2009-12-13 23:39:49 UTC
*** Bug 218575 has been marked as a duplicate of this bug. ***
Comment 53 Dario Andres 2009-12-13 23:40:12 UTC
*** Bug 218554 has been marked as a duplicate of this bug. ***
Comment 54 Dario Andres 2009-12-13 23:40:22 UTC
*** Bug 218548 has been marked as a duplicate of this bug. ***
Comment 55 Dario Andres 2009-12-18 17:17:58 UTC
*** Bug 219195 has been marked as a duplicate of this bug. ***
Comment 56 Joris Guisson 2009-12-18 17:55:15 UTC
*** Bug 219205 has been marked as a duplicate of this bug. ***
Comment 57 Joris Guisson 2009-12-20 11:19:49 UTC
*** Bug 219360 has been marked as a duplicate of this bug. ***
Comment 58 Joris Guisson 2009-12-20 11:20:20 UTC
*** Bug 219361 has been marked as a duplicate of this bug. ***
Comment 59 Lukas Appelhans 2009-12-25 14:43:20 UTC
*** Bug 216536 has been marked as a duplicate of this bug. ***
Comment 60 Joris Guisson 2009-12-29 10:52:31 UTC
*** Bug 220498 has been marked as a duplicate of this bug. ***
Comment 61 Dario Andres 2010-01-13 14:42:33 UTC
*** Bug 222424 has been marked as a duplicate of this bug. ***
Comment 62 Dario Andres 2010-01-18 12:35:10 UTC
*** Bug 223241 has been marked as a duplicate of this bug. ***
Comment 63 Dario Andres 2010-01-21 13:28:16 UTC
*** Bug 223634 has been marked as a duplicate of this bug. ***
Comment 64 Dario Andres 2010-01-21 23:00:23 UTC
*** Bug 223670 has been marked as a duplicate of this bug. ***
Comment 65 Joris Guisson 2010-02-02 17:52:01 UTC
*** Bug 224849 has been marked as a duplicate of this bug. ***
Comment 66 Joris Guisson 2010-02-03 08:32:42 UTC
*** Bug 225310 has been marked as a duplicate of this bug. ***
Comment 67 Dario Andres 2010-02-04 02:29:35 UTC
*** Bug 225431 has been marked as a duplicate of this bug. ***
Comment 68 Dario Andres 2010-02-04 02:31:06 UTC
*** Bug 225429 has been marked as a duplicate of this bug. ***
Comment 69 Dario Andres 2010-02-11 23:51:09 UTC
*** Bug 226374 has been marked as a duplicate of this bug. ***
Comment 70 Joris Guisson 2010-03-02 10:56:20 UTC
*** Bug 229098 has been marked as a duplicate of this bug. ***
Comment 71 Leonardo La Malfa 2010-04-29 22:10:38 UTC
Created attachment 43110 [details]
New crash information added by DrKonqi

KTorrent crashed, it was minimised and running when I received this (second in 1 hour) report.
Comment 72 EsTaF 2010-07-07 07:36:39 UTC
I've simular problems with ktorrent v. 4.01. That one crash every hour and I can't normally use that application.

kde 4.4.4

Russian Fedora 13 x86_64 with last updates. (OS: Linux (x86_64) release 2.6.33.5-124.fc13.x86_64
Compiler: gcc)