100% CPU usage in Quanta

Andras Mantia amantia at kde.org
Tue Mar 23 17:46:01 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 23 March 2004 18:37, David Faure wrote:
> On Tuesday 23 March 2004 17:32, Andras Mantia wrote:
> > Hi,
> >
> >  I don't know if this or the core devel list is better, but let's try. I
> > found that since I've rebuild my whole KDE system, Quanta is using ~100%
> > of the CPU. The system is not noticeable slower, so it was not even easy
> > for me to detect this change, I just saw my CPU temperature going up
> > constantly. First I thought that yes, it's a Quanta problem. I've tried
> > to interrupt the running Quanta and look at the backtrace. It never
> > showed a Quanta call, but there was always some QTimer::singleShot call
> > in the log.
>
> Can you paste the full backtrace?

Here are some variants (Qt is compiled with debug info, kdelibs is not):
1.

#0  0x412e8138 in ?? () from /usr/lib/qt-copy-3.3/lib/libqt-mt.so.3
#1  0x413fd483 in QSignal::activate() (this=0x84b3448) at kernel/qsignal.cpp:209
#2  0x414049e7 in QSingleShotTimer::event(QEvent*) (this=0x84b3420) at kernel/qtimer.cpp:277
#3  0x4137d40b in QApplication::internalNotify(QObject*, QEvent*) (this=0x82bfb58, receiver=0x84b3420, e=0xbffff020)
    at kernel/qapplication.cpp:2618
#4  0x4137c8c8 in QApplication::notify(QObject*, QEvent*) (this=0x82bfb58, receiver=0x84b3420, e=0xbffff020)
    at kernel/qapplication.cpp:2341
#5  0x40eb1d37 in KApplication::notify(QObject*, QEvent*) () from /opt/kde-cvs/lib/libkdecore.so.4
#6  0x413136b3 in QApplication::sendEvent(QObject*, QEvent*) (receiver=0x84b3420, event=0xbffff020)
    at qapplication.h:491
#7  0x4136b6d6 in QEventLoop::activateTimers() (this=0x83be010) at kernel/qeventloop_unix.cpp:558
#8  0x413254c0 in QEventLoop::processEvents(unsigned) (this=0x83be010, flags=4) at kernel/qeventloop_x11.cpp:389
#9  0x413915c2 in QEventLoop::enterLoop() (this=0x83be010) at kernel/qeventloop.cpp:198
#10 0x413914de in QEventLoop::exec() (this=0x83be010) at kernel/qeventloop.cpp:145
#11 0x4137d58b in QApplication::exec() (this=0x82bfb58) at kernel/qapplication.cpp:2741
#12 0x080a4d6e in main (argc=1, argv=0xbffff344)
    at /home/andris/development/sources/kde-head/kdewebdev/quanta/src/main.cpp:170



2.
#0  0x41314c1d in QAsciiBucket::getKey() const (this=0x840a028) at qgdict.h:78
#1  0x416acdf8 in QGDict::look_ascii(char const*, void*, int) (this=0x82cb7a8, key=0x417874e2 "objectDestroyed()",
    d=0x0, op=0) at tools/qgdict.cpp:376
#2  0x413d0742 in QAsciiDict<QMetaData const>::find(char const*) const (this=0x82cb7a8,
    k=0x417874e2 "objectDestroyed()") at qasciidict.h:71
#3  0x413ce81c in QMetaObject::findSlot(char const*, bool) const (this=0x8409fd8, n=0x417874e2 "objectDestroyed()",
    super=true) at kernel/qmetaobject.cpp:454
#4  0x413dea97 in QObject::connect(QObject const*, char const*, QObject const*, char const*) (sender=0x8412fa8,
    signal=0x4182fc08 "destroyed()", receiver=0x87a12b0, member=0x417874e2 "objectDestroyed()")
    at kernel/qobject.cpp:1775
#5  0x413a4e2c in QGuardedPtrPrivate (this=0x87a12b0, o=0x8412fa8) at kernel/qguardedptr.cpp:199
#6  0x413fd673 in QGuardedPtr (this=0xbfffeda0, o=0x8412fa8) at qguardedptr.h:74
#7  0x413fd474 in QSignal::activate() (this=0x8412fa8) at kernel/qsignal.cpp:208
#8  0x414049e7 in QSingleShotTimer::event(QEvent*) (this=0x8412f80) at kernel/qtimer.cpp:277
#9  0x4137d40b in QApplication::internalNotify(QObject*, QEvent*) (this=0x82bfb58, receiver=0x8412f80, e=0xbffff020)
    at kernel/qapplication.cpp:2618
#10 0x4137c8c8 in QApplication::notify(QObject*, QEvent*) (this=0x82bfb58, receiver=0x8412f80, e=0xbffff020)
    at kernel/qapplication.cpp:2341
#11 0x40eb1d37 in KApplication::notify(QObject*, QEvent*) () from /opt/kde-cvs/lib/libkdecore.so.4
#12 0x413136b3 in QApplication::sendEvent(QObject*, QEvent*) (receiver=0x8412f80, event=0xbffff020)
    at qapplication.h:491
#13 0x4136b6d6 in QEventLoop::activateTimers() (this=0x83be010) at kernel/qeventloop_unix.cpp:558
#14 0x413254c0 in QEventLoop::processEvents(unsigned) (this=0x83be010, flags=4) at kernel/qeventloop_x11.cpp:389
#15 0x413915c2 in QEventLoop::enterLoop() (this=0x83be010) at kernel/qeventloop.cpp:198
#16 0x413914de in QEventLoop::exec() (this=0x83be010) at kernel/qeventloop.cpp:145
#17 0x4137d58b in QApplication::exec() (this=0x82bfb58) at kernel/qapplication.cpp:2741
#18 0x080a4d6e in main (argc=1, argv=0xbffff344)
    at /home/andris/development/sources/kde-head/kdewebdev/quanta/src/main.cpp:170


3.
#0  0x416ac015 in QGDict::hashKeyAscii(char const*) (this=0x82ac7f0, key=0x4178a9f1 "signal(const QVariant&)")
    at tools/qgdict.cpp:135
#1  0x416acd97 in QGDict::look_ascii(char const*, void*, int) (this=0x82ac7f0,
    key=0x4178a9f1 "signal(const QVariant&)", d=0x0, op=0) at tools/qgdict.cpp:371
#2  0x413d0742 in QAsciiDict<QMetaData const>::find(char const*) const (this=0x82ac7f0,
    k=0x4178a9f1 "signal(const QVariant&)") at qasciidict.h:71
#3  0x413ce71d in QMetaObject::findSignal(char const*, bool) const (this=0x8413070,
    n=0x4178a9f1 "signal(const QVariant&)", super=true) at kernel/qmetaobject.cpp:419
#4  0x413de8f1 in QObject::connect(QObject const*, char const*, QObject const*, char const*) (sender=0x84342f0,
    signal=0x4178a9f1 "signal(const QVariant&)", receiver=0x8736a08,
    member=0x421b3600 "1connectMenuAndDisConnectAgain()") at kernel/qobject.cpp:1741
#5  0x413fd3ac in QSignal::connect(QObject const*, char const*) (this=0x84342f0, receiver=0x8736a08,
    member=0x421b3600 "1connectMenuAndDisConnectAgain()") at kernel/qsignal.cpp:149
#6  0x41404980 in QSingleShotTimer::start(int, QObject*, char const*) (this=0x84342c8, msec=0, r=0x8736a08,
    m=0x421b3600 "1connectMenuAndDisConnectAgain()") at kernel/qtimer.cpp:269
#7  0x41404ac3 in QTimer::singleShot(int, QObject*, char const*) (msec=0, receiver=0x8736a08,
    member=0x421b3600 "1connectMenuAndDisConnectAgain()") at kernel/qtimer.cpp:325
#8  0x4217d5d8 in KateBookmarks::connectMenuAndDisConnectAgain() () from /opt/kde-cvs/lib/kde3/libkatepart.so
#9  0x4217cd29 in KateBookmarks::qt_invoke(int, QUObject*) () from /opt/kde-cvs/lib/kde3/libkatepart.so
#10 0x413dfd87 in QObject::activate_signal(QConnectionList*, QUObject*) (this=0x8412fa8, clist=0x848db80,
    o=0xbfffed40) at kernel/qobject.cpp:2356
#11 0x41735dd0 in QSignal::signal(QVariant const&) (this=0x8412fa8, t0=@0x8412fd0)
    at .moc/debug-shared-mt/moc_qsignal.cpp:100
#12 0x413fd4cf in QSignal::activate() (this=0x8412fa8) at kernel/qsignal.cpp:212
#13 0x414049e7 in QSingleShotTimer::event(QEvent*) (this=0x8412f80) at kernel/qtimer.cpp:277
#14 0x4137d40b in QApplication::internalNotify(QObject*, QEvent*) (this=0x82bfb58, receiver=0x8412f80, e=0xbffff020)
    at kernel/qapplication.cpp:2618
#15 0x4137c8c8 in QApplication::notify(QObject*, QEvent*) (this=0x82bfb58, receiver=0x8412f80, e=0xbffff020)
    at kernel/qapplication.cpp:2341
#16 0x40eb1d37 in KApplication::notify(QObject*, QEvent*) () from /opt/kde-cvs/lib/libkdecore.so.4
#17 0x413136b3 in QApplication::sendEvent(QObject*, QEvent*) (receiver=0x8412f80, event=0xbffff020)
    at qapplication.h:491
#18 0x4136b6d6 in QEventLoop::activateTimers() (this=0x83be010) at kernel/qeventloop_unix.cpp:558
#19 0x413254c0 in QEventLoop::processEvents(unsigned) (this=0x83be010, flags=4) at kernel/qeventloop_x11.cpp:389
#20 0x413915c2 in QEventLoop::enterLoop() (this=0x83be010) at kernel/qeventloop.cpp:198
#21 0x413914de in QEventLoop::exec() (this=0x83be010) at kernel/qeventloop.cpp:145
#22 0x4137d58b in QApplication::exec() (this=0x82bfb58) at kernel/qapplication.cpp:2741
#23 0x080a4d6e in main (argc=1, argv=0xbffff344)
    at /home/andris/development/sources/kde-head/kdewebdev/quanta/src/main.cpp:170


Andras
- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAYGnJTQdfac6L/08RAodLAJ4t8NGVkktqJBdf9hmrsHiQ7I6gSwCg2Je3
25s/17x66bU78DI/ioB09+g=
=iLDn
-----END PGP SIGNATURE-----


More information about the Kde-optimize mailing list