Bug 226924 - KTorrent 3.3.3 crash report
Summary: KTorrent 3.3.3 crash report
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 05:08 UTC by Xenophon
Modified: 2010-04-10 17:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xenophon 2010-02-15 05:08:07 UTC
Version:           3.3.3 (using KDE 4.3.5)
Installed from:    Ubuntu Packages

Memory usage was at 72.7% when the crash report was displayed.I will upgrade to 3.3.4 shortly.

------------
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xb7706700 (LWP 11401))]

Thread 5 (Thread 0xb612bb70 (LWP 11403)):
#0  0x00136422 in __kernel_vsyscall ()
#1  0x00d21e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x011be87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03beae67 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x00dfc922 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0x03be9e32 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00d1d80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x011b18de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb472cb70 (LWP 13307)):
[KCrash Handler]
#6  0x00136422 in __kernel_vsyscall ()
#7  0x0110f4d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x01112932 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x076a34df in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0x076a1415 in ?? () from /usr/lib/libstdc++.so.6
#11 0x076a1452 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0x076a1591 in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0x076a1c0f in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#14 0x076a1ced in operator new[](unsigned int) () from /usr/lib/libstdc++.so.6
#15 0x007a515e in IncomingPacket (this=0xbff60b30, size=16393) at /compiled/ktorrent-3.3.3/libbtcore/peer/packetreader.cpp:97
#16 0x007a52d1 in bt::PacketReader::newPacket (this=0xa6173af0, buf=0x8860bb "", size=1421) at /compiled/ktorrent-3.3.3/libbtcore/peer/packetreader.cpp:191
#17 0x007a5430 in bt::PacketReader::onDataReady (this=0xa6173af0, buf=0x8860a0 "\006\314q\316`g.\210\227`\202G\265@@\314\314^U\374\204m\330*\302\330L", size=1448)
    at /compiled/ktorrent-3.3.3/libbtcore/peer/packetreader.cpp:246
#18 0x0078c0a7 in mse::StreamSocket::onDataReady (this=0xbc4d08b8, buf=0x8860a0 "\006\314q\316`g.\210\227`\202G\265@@\314\314^U\374\204m\330*\302\330L", size=1448)
    at /compiled/ktorrent-3.3.3/libbtcore/mse/streamsocket.cpp:280
#19 0x0077f3ee in net::BufferedSocket::readBuffered (this=0xbc4d1470, max_bytes_to_read=0, now=1266206124341) at /compiled/ktorrent-3.3.3/libbtcore/net/bufferedsocket.cpp:110
#20 0x00788066 in net::SocketGroup::processUnlimited (this=0xa02f5f8, up=false, now=1266206124341) at /compiled/ktorrent-3.3.3/libbtcore/net/socketgroup.cpp:53
#21 0x007883ff in net::SocketGroup::process (this=0xa02f5f8, up=false, now=57153129807878, global_allowance=@0xb472c264) at /compiled/ktorrent-3.3.3/libbtcore/net/socketgroup.cpp:192
#22 0x0078846e in net::SocketGroup::download (this=0xa02f5f8, global_allowance=@0xb472c264, now=1266206124341) at /compiled/ktorrent-3.3.3/libbtcore/net/socketgroup.cpp:110
#23 0x00784bc2 in net::DownloadThread::doGroup (this=0xa02f2e0, g=0xa02f5f8, allowance=@0xb472c264, now=1262720385024) at /compiled/ktorrent-3.3.3/libbtcore/net/downloadthread.cpp:124
#24 0x0078603e in net::NetworkThread::doGroups (this=0xa02f2e0, num_ready=1, now=1266206124341, limit=0) at /compiled/ktorrent-3.3.3/libbtcore/net/networkthread.cpp:155
#25 0x00784da2 in net::DownloadThread::update (this=0xa02f2e0) at /compiled/ktorrent-3.3.3/libbtcore/net/downloadthread.cpp:102
#26 0x00786408 in net::NetworkThread::run (this=0xa02f2e0) at /compiled/ktorrent-3.3.3/libbtcore/net/networkthread.cpp:48
#27 0x03be9e32 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00d1d80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#29 0x011b18de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3f2bb70 (LWP 13308)):
#0  0x00136422 in __kernel_vsyscall ()
#1  0x00d21e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x011be87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03beae67 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x007840f2 in net::UploadThread::update (this=0xa02f640) at /compiled/ktorrent-3.3.3/libbtcore/net/uploadthread.cpp:73
#5  0x00786408 in net::NetworkThread::run (this=0xa02f640) at /compiled/ktorrent-3.3.3/libbtcore/net/networkthread.cpp:48
#6  0x03be9e32 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00d1d80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x011b18de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb372ab70 (LWP 13309)):
#0  0x00136422 in __kernel_vsyscall ()
#1  0x00d21e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x011be87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03beae67 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x0078a547 in net::ReverseResolverThread::run (this=0xa8abf20) at /compiled/ktorrent-3.3.3/libbtcore/net/reverseresolver.cpp:120
#5  0x03be9e32 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00d1d80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x011b18de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7706700 (LWP 11401)):
#0  0x00136422 in __kernel_vsyscall ()
#1  0x00d21e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x011be87d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03be94d2 in ?? () from /usr/lib/libQtCore.so.4
#4  0x03be4ba2 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#5  0x0078308c in QMutexLocker::relock (this=0xbfb6514c) at /usr/include/qt4/QtCore/qmutex.h:120
#6  0x007a4c82 in bt::PacketReader::dequeuePacket (this=0xa6173af0) at /compiled/ktorrent-3.3.3/libbtcore/peer/packetreader.cpp:120
#7  0x007a4d39 in bt::PacketReader::update (this=0xa6173af0) at /compiled/ktorrent-3.3.3/libbtcore/peer/packetreader.cpp:139
#8  0x007975f9 in bt::Peer::update (this=0xbc4d98f8) at /compiled/ktorrent-3.3.3/libbtcore/peer/peer.cpp:462
#9  0x0079b9a0 in bt::PeerManager::update (this=0xa3e5848) at /compiled/ktorrent-3.3.3/libbtcore/peer/peermanager.cpp:119
#10 0x007d9796 in bt::TorrentControl::update (this=0xa410b48) at /compiled/ktorrent-3.3.3/libbtcore/torrent/torrentcontrol.cpp:150
#11 0x08073629 in kt::Core::update (this=0xa158750) at /compiled/ktorrent-3.3.3/ktorrent/core.cpp:849
#12 0x080767ac in kt::Core::qt_metacall (this=0xa158750, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfb6541c) at /compiled/ktorrent-3.3.3/build/ktorrent/core.moc:149
#13 0x03cf0263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x03cf0ec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x03d2a667 in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#16 0x03cf59ae in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#17 0x03cea3bf in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x030ecf54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x030f467c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00a7e25a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x03cda6cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x03d077ce in ?? () from /usr/lib/libQtCore.so.4
#23 0x03d050e0 in ?? () from /usr/lib/libQtCore.so.4
#24 0x09a25e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x09a29730 in ?? () from /lib/libglib-2.0.so.0
#26 0x09a29863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x03d0502c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x0318dbe5 in ?? () from /usr/lib/libQtGui.so.4
#29 0x03cd8c79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x03cd90ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x03cdb53f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x030ecdd7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#33 0x08069897 in main (argc=5, argv=0xbfb65fd4) at /compiled/ktorrent-3.3.3/ktorrent/main.cpp:172
Comment 1 Joris Guisson 2010-04-10 17:42:52 UTC
SVN commit 1113364 by guisson:

Workaround memory leak in krosspython by not passing QObject pointers as arguments to callMethod 

BUG: 223885
BUG: 226924

 M  +1 -0      ChangeLog  
 M  +1 -5      plugins/scripting/api/scriptablegroup.cpp  
 M  +3 -2      plugins/scripting/scripts/tracker_groups/tracker_groups.py  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1113364