This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[crash] ktorrent crashes

Tags: None
(comma "," separated)
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

[crash] ktorrent crashes

Sat Sep 06, 2008 7:07 pm
With svn revision 857856 ktorrent is crashing.

There are no steps to reproduce this, since crash seems to happen when I'm not touching it.

Crash report:
http://files.myopera.com/kriko/files/ktorrent.kcrash.gz
George
Moderator
Posts
5421
Karma
1

Mon Sep 08, 2008 4:17 pm
Try rev 858744, should be fixed in that version
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Tue Sep 09, 2008 12:05 am
Yesm it works. Thanks!
imported4-Linkin
Registered Member
Posts
22
Karma
0

Fri Sep 12, 2008 4:31 pm
I just compiled and installed the latest svn revision 860288 and it is crashing for me. Could you please tell me how I can create such a crash report?
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Fri Sep 12, 2008 4:40 pm
It should launch crash application automatically - there you have option to save crash report.
imported4-Linkin
Registered Member
Posts
22
Karma
0

Fri Sep 12, 2008 5:35 pm
Well on my installation it does not start automatically. I think its not installed and now Im looking for the right package to install it.
stoeptegel
Registered Member
Posts
1075
Karma
0

Fri Sep 12, 2008 6:48 pm
Linkin wrote:I just compiled and installed the latest svn revision 860288 and it is crashing for me. Could you please tell me how I can create such a crash report?
\

Sure, you should install kdelibs-dbg and dbg, then a crach will popup a crachlog.
imported4-Linkin
Registered Member
Posts
22
Karma
0

Sat Sep 13, 2008 9:03 am
Those packages are installed but there is no such crash report dialog. I have also tried to run ktorrent via gdb with the nofork option but still no report.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Sat Sep 13, 2008 9:35 am
Linkin: probably it is not crashing then, maybe it shuts down cleanly?
What are you doing exactly when this "crash" happens?

Which svn are you using? KDE4 or KDE3 version?
imported4-Linkin
Registered Member
Posts
22
Karma
0

Sat Sep 13, 2008 12:09 pm
You are right kriko this might be the case. Im using 'ktorrent-svn 860288' and KDE 'Version 4.1.1 (KDE 4.1.1) (KDEmod)' on ArchLinux.

What I do is: I start ktorrent and have one paused torrent in it. Tracker is the piratebay. On the first attempt it fails to connect to the tracker and the new symbol is indicating the problem with the tracker. Then I manually refresh the tracker and it connects. It is always like that with the two attempts needed to connect to a tracker its also the same with the latest stable release. Then it starts downloading and uploading and so I send it to the systray. It stays there for about 2-3 minutes and then its gone. I always thought it was a silent crash but when I launch ktorrent from the console there is no message about any error.


Image
MoDaX
Registered Member
Posts
241
Karma
0
OS

Sun Sep 14, 2008 2:40 pm
Confirmed with r860834 (SIGSEGV). Backtrace below:

Code: Select all
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x434e5950 (LWP 27535)]       
net::DownloadThread::update (this=0x11a5850) at /tmp/buildd/ktorrent-3.2~~svn860834/libbtcore/net/downloadthread.cpp:60
60      /tmp/buildd/ktorrent-3.2~~svn860834/libbtcore/net/downloadthread.cpp: No such file or directory.               
        in /tmp/buildd/ktorrent-3.2~~svn860834/libbtcore/net/downloadthread.cpp                                       
(gdb) bt                                                                                                               
#0  net::DownloadThread::update (this=0x11a5850) at /tmp/buildd/ktorrent-3.2~~svn860834/libbtcore/net/downloadthread.cpp:60
#1  0x00007ff528c76ee9 in net::NetworkThread::run (this=0x11a5850) at /tmp/buildd/ktorrent-3.2~~svn860834/libbtcore/net/networkthread.cpp:48
#2  0x00007ff526bbb0a5 in QThreadPrivate::start (arg=0x11a5850) at thread/qthread_unix.cpp:190
#3  0x00007ff52268dfc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007ff525e1f7cd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
(gdb)
MoDaX
Registered Member
Posts
241
Karma
0
OS

Sun Sep 14, 2008 3:33 pm
Valgrind memcheck output below. Many attempts to access freed memory blocks resulting into stack corruption or something like this:
Code: Select all
==27716== Invalid read of size 4
==27716==    at 0x55A5C0A: bt::Packet::Packet(bt::Request const&, unsigned char) (packet.cpp:74)
==27716==    by 0x55A2335: bt::PacketWriter::sendCancel(bt::Request const&) (packetwriter.cpp:131)
==27716==    by 0x55A0347: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:135)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15ff69c8 is 8 bytes inside a block of size 40 free'd
==27716==    at 0x4C207FC: operator delete(void*) (vg_replace_malloc.c:342)
==27716==    by 0x55A0C8F: QList<bt::TimeStampedRequest>::removeAll(bt::TimeStampedRequest const&) (qlist.h:346)
==27716==    by 0x55A032C: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:134)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==
==27716== Invalid read of size 4
==27716==    at 0x55A5C20: bt::Packet::Packet(bt::Request const&, unsigned char) (packet.cpp:75)
==27716==    by 0x55A2335: bt::PacketWriter::sendCancel(bt::Request const&) (packetwriter.cpp:131)
==27716==    by 0x55A0347: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:135)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15ff69cc is 12 bytes inside a block of size 40 free'd
==27716==    at 0x4C207FC: operator delete(void*) (vg_replace_malloc.c:342)
==27716==    by 0x55A0C8F: QList<bt::TimeStampedRequest>::removeAll(bt::TimeStampedRequest const&) (qlist.h:346)
==27716==    by 0x55A032C: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:134)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==
==27716== Invalid read of size 4
==27716==    at 0x55A5C33: bt::Packet::Packet(bt::Request const&, unsigned char) (packet.cpp:76)
==27716==    by 0x55A2335: bt::PacketWriter::sendCancel(bt::Request const&) (packetwriter.cpp:131)
==27716==    by 0x55A0347: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:135)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15ff69d0 is 16 bytes inside a block of size 40 free'd
==27716==    at 0x4C207FC: operator delete(void*) (vg_replace_malloc.c:342)
==27716==    by 0x55A0C8F: QList<bt::TimeStampedRequest>::removeAll(bt::TimeStampedRequest const&) (qlist.h:346)
==27716==    by 0x55A032C: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:134)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==
==27716== Invalid write of size 8
==27716==    at 0x55A5727: bt::Request::~Request() (request.cpp:36)
==27716==    by 0x559FD83: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:48)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15ff69c0 is 0 bytes inside a block of size 40 free'd
==27716==    at 0x4C207FC: operator delete(void*) (vg_replace_malloc.c:342)
==27716==    by 0x55A0C8F: QList<bt::TimeStampedRequest>::removeAll(bt::TimeStampedRequest const&) (qlist.h:346)
==27716==    by 0x55A032C: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:134)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==
==27716== Invalid free() / delete / delete[]
==27716==    at 0x4C207FC: operator delete(void*) (vg_replace_malloc.c:342)
==27716==    by 0x559FD8B: bt::PeerDownloader::checkTimeouts() (qlist.h:346)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15ff69c0 is 0 bytes inside a block of size 40 free'd
==27716==    at 0x4C207FC: operator delete(void*) (vg_replace_malloc.c:342)
==27716==    by 0x55A0C8F: QList<bt::TimeStampedRequest>::removeAll(bt::TimeStampedRequest const&) (qlist.h:346)
==27716==    by 0x55A032C: bt::PeerDownloader::cancel(bt::Request const&) (peerdownloader.cpp:134)
==27716==    by 0x55AAAB8: bt::ChunkDownload::notDownloaded(bt::Request const&, bool) (chunkdownload.cpp:198)
==27716==    by 0x55AADC5: bt::ChunkDownload::onTimeout(bt::Request const&) (chunkdownload.cpp:227)
==27716==    by 0x55AAF4B: bt::ChunkDownload::qt_metacall(QMetaObject::Call, int, void**) (chunkdownload.moc:69)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x55B75E4: bt::PieceDownloader::timedout(bt::Request const&) (piecedownloader.moc:89)
==27716==    by 0x559FD72: bt::PeerDownloader::checkTimeouts() (peerdownloader.cpp:221)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==
==27716== Invalid read of size 1
==27716==    at 0x4C222E2: memmove (mc_replace_strmem.c:517)
==27716==    by 0x759FFE8: QListData::remove(int) (qlistdata.cpp:216)
==27716==    by 0x75A005A: QListData::erase(void**) (qlistdata.cpp:285)
==27716==    by 0x559FD96: bt::PeerDownloader::checkTimeouts() (qlist.h:390)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15adad27 is 1 bytes before a block of size 56 alloc'd
==27716==    at 0x4C210C2: realloc (vg_replace_malloc.c:429)
==27716==    by 0x75A00DA: QListData::realloc(int) (qlistdata.cpp:113)
==27716==    by 0x75A02EA: QListData::append() (qlistdata.cpp:133)
==27716==    by 0x559FA56: bt::PeerDownloader::update() (qlist.h:424)
==27716==    by 0x559FE76: bt::PeerDownloader::piece(bt::Piece const&) (peerdownloader.cpp:177)
==27716==    by 0x55A012C: bt::PeerDownloader::qt_metacall(QMetaObject::Call, int, void**) (peerdownloader.moc:78)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x5598B94: bt::Peer::piece(bt::Piece const&) (peer.moc:122)
==27716==    by 0x55997F9: bt::Peer::packetReady(unsigned char const*, unsigned) (peer.cpp:267)
==27716==    by 0x55A3205: bt::PacketReader::update() (packetreader.cpp:131)
==27716==    by 0x55991E4: bt::Peer::update(bt::PeerManager*) (peer.cpp:471)
==27716==    by 0x559CE8B: bt::PeerManager::update() (peermanager.cpp:116)
==27716==    by 0x55D0525: bt::TorrentControl::update() (torrentcontrol.cpp:196)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==
==27716== Invalid read of size 1
==27716==    at 0x4C222D0: memmove (mc_replace_strmem.c:517)
==27716==    by 0x759FFE8: QListData::remove(int) (qlistdata.cpp:216)
==27716==    by 0x75A005A: QListData::erase(void**) (qlistdata.cpp:285)
==27716==    by 0x559FD96: bt::PeerDownloader::checkTimeouts() (qlist.h:390)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15adad26 is 2 bytes before a block of size 56 alloc'd
==27716==    at 0x4C210C2: realloc (vg_replace_malloc.c:429)
==27716==    by 0x75A00DA: QListData::realloc(int) (qlistdata.cpp:113)
==27716==    by 0x75A02EA: QListData::append() (qlistdata.cpp:133)
==27716==    by 0x559FA56: bt::PeerDownloader::update() (qlist.h:424)
==27716==    by 0x559FE76: bt::PeerDownloader::piece(bt::Piece const&) (peerdownloader.cpp:177)
==27716==    by 0x55A012C: bt::PeerDownloader::qt_metacall(QMetaObject::Call, int, void**) (peerdownloader.moc:78)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x5598B94: bt::Peer::piece(bt::Piece const&) (peer.moc:122)
==27716==    by 0x55997F9: bt::Peer::packetReady(unsigned char const*, unsigned) (peer.cpp:267)
==27716==    by 0x55A3205: bt::PacketReader::update() (packetreader.cpp:131)
==27716==    by 0x55991E4: bt::Peer::update(bt::PeerManager*) (peer.cpp:471)
==27716==    by 0x559CE8B: bt::PeerManager::update() (peermanager.cpp:116)
==27716==    by 0x55D0525: bt::TorrentControl::update() (torrentcontrol.cpp:196)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==
==27716== Invalid write of size 1
==27716==    at 0x4C222D8: memmove (mc_replace_strmem.c:517)
==27716==    by 0x759FFE8: QListData::remove(int) (qlistdata.cpp:216)
==27716==    by 0x75A005A: QListData::erase(void**) (qlistdata.cpp:285)
==27716==    by 0x559FD96: bt::PeerDownloader::checkTimeouts() (qlist.h:390)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
==27716==  Address 0x15adad27 is 1 bytes before a block of size 56 alloc'd
==27716==    at 0x4C210C2: realloc (vg_replace_malloc.c:429)
==27716==    by 0x75A00DA: QListData::realloc(int) (qlistdata.cpp:113)
==27716==    by 0x75A02EA: QListData::append() (qlistdata.cpp:133)
==27716==    by 0x559FA56: bt::PeerDownloader::update() (qlist.h:424)
==27716==    by 0x559FE76: bt::PeerDownloader::piece(bt::Piece const&) (peerdownloader.cpp:177)
==27716==    by 0x55A012C: bt::PeerDownloader::qt_metacall(QMetaObject::Call, int, void**) (peerdownloader.moc:78)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x5598B94: bt::Peer::piece(bt::Piece const&) (peer.moc:122)
==27716==    by 0x55997F9: bt::Peer::packetReady(unsigned char const*, unsigned) (peer.cpp:267)
==27716==    by 0x55A3205: bt::PacketReader::update() (packetreader.cpp:131)
==27716==    by 0x55991E4: bt::Peer::update(bt::PeerManager*) (peer.cpp:471)
==27716==    by 0x559CE8B: bt::PeerManager::update() (peermanager.cpp:116)
==27716==    by 0x55D0525: bt::TorrentControl::update() (torrentcontrol.cpp:196)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==
==27716== Thread 7:
==27716== Jump to the invalid address stated on the next line
==27716==    at 0xFFFFFFFFFFFFFFE8: ???
==27716==    by 0x558BEC2: net::UploadThread::update() (bufferedsocket.h:115)
==27716==    by 0x558CEE8: net::NetworkThread::run() (networkthread.cpp:48)
==27716==    by 0x757E0A4: QThreadPrivate::start(void*) (qthread_unix.cpp:190)
==27716==    by 0xBC00FC6: start_thread (pthread_create.c:297)
==27716==    by 0x84C97CC: clone (in /mnt/sda2/usr/lib/debug/libc-2.7.so)
==27716==  Address 0xffffffffffffffe8 is not stack'd, malloc'd or (recently) free'd
KCrash: Application 'ktorrent' crashing...
sock_file=/home/modax/.kde4/socket-mdxdesktop/kdeinit4__0

valgrind: m_mallocfree.c:210 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed.
valgrind: Heap block lo/hi size mismatch: lo = 112, hi = 9007658821681152.
Probably caused by overrunning/underrunning a heap block's bounds.

==27716==    at 0x380194CC: report_and_quit (m_libcassert.c:140)
==27716==    by 0x380197DA: vgPlain_assert_fail (m_libcassert.c:200)
==27716==    by 0x38021B38: vgPlain_arena_free (m_mallocfree.c:207)
==27716==    by 0x38001AED: die_and_free_mem (mc_malloc_wrappers.c:122)
==27716==    by 0x38033DC6: vgPlain_scheduler (scheduler.c:1269)
==27716==    by 0x3801F97B: final_tidyup (m_main.c:2107)
==27716==    by 0x3801FA8C: shutdown_actions_NORETURN (m_main.c:1942)
==27716==    by 0x38044A98: run_a_thread_NORETURN (syswrap-linux.c:144)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==27716==    at 0x4C20B6E: free (vg_replace_malloc.c:323)
==27716==    by 0x84FF178: _nl_archive_subfreeres (loadarchive.c:519)
==27716==    by 0x84FEE38: free_mem (gconv_db.c:832)
==27716==    by 0x84FF551: __libc_freeres (set-freeres.c:47)
==27716==    by 0x4A1D31C: _vgnU_freeres (vg_preloaded.c:60)
==27716==    by 0xFFFFFFFE: ???
==27716==    by 0x759FFE8: QListData::remove(int) (qlistdata.cpp:216)
==27716==    by 0x75A005A: QListData::erase(void**) (qlistdata.cpp:285)
==27716==    by 0x559FD96: bt::PeerDownloader::checkTimeouts() (qlist.h:390)
==27716==    by 0x55AE8A7: bt::Downloader::update() (downloader.cpp:162)
==27716==    by 0x55D056D: bt::TorrentControl::update() (torrentcontrol.cpp:207)
==27716==    by 0x42C0E9: kt::Core::update() (core.cpp:798)
==27716==    by 0x4327B5: kt::Core::qt_metacall(QMetaObject::Call, int, void**) (core.moc:145)
==27716==    by 0x767A473: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3016)
==27716==    by 0x7674D82: QObject::event(QEvent*) (qobject.cpp:1105)
==27716==    by 0x648441C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3800)
==27716==    by 0x648C179: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3765)
==27716==    by 0x5A8FFAA: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==27716==    by 0x766611E: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:591)
==27716==    by 0x7691FA5: QTimerInfoList::activateTimers() (qcoreapplication.h:215)
==27716==    by 0x768E4FC: _ZL19timerSourceDispatchP8_GSourcePFiPvES1_ (qeventdispatcher_glib.cpp:166)
==27716==    by 0xB971891: g_main_context_dispatch (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB97501C: (within /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0xB9751DA: g_main_context_iteration (in /mnt/sda2/usr/lib/libglib-2.0.so.0.1600.5)
==27716==    by 0x768E45E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:325)
==27716==    by 0x651586E: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:204)
==27716==    by 0x7664A41: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==27716==    by 0x7664BCC: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:200)
==27716==    by 0x766707C: QCoreApplication::exec() (qcoreapplication.cpp:849)
==27716==    by 0x4254E2: main (main.cpp:167)
George
Moderator
Posts
5421
Karma
1

Mon Sep 15, 2008 4:46 pm
@MoDaX:

This should have been fixed yesterday, try latest SVN
MoDaX
Registered Member
Posts
241
Karma
0
OS

Mon Sep 15, 2008 7:09 pm
Yeah, seems to be fixed. Thanks.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]