[webkit-qt] Excessive timer usage results in 100% CPU usage

İsmail Dönmez ismail at namtrac.org
Fri Mar 26 04:03:29 PDT 2010


On Fri, Mar 26, 2010 at 12:56 PM, İsmail Dönmez <ismail at namtrac.org> wrote:

> On Fri, Mar 26, 2010 at 12:44 PM, Benjamin Poulain <
> benjamin.poulain at nokia.com> wrote:
>
>> ext İsmail Dönmez wrote:
>>
>>> Turns out that my extreme CPU usage was due to excessive timer usage.
>>> Such a bug is reported at https://bugs.webkit.org/show_bug.cgi?id=24913but I am on WinCE where there is no plugins and the page I am experiencing
>>> the CPU usage is http://en.m.wikipedia.org/wiki?search=dinasour .
>>>
>>> Did anyone experience a similar problem?
>>>
>>
>> This seems unrelated to 24913.
>> Flash is known to trigger excessive timers, this is probably the cause of
>> 24913. In your case, could you debug WebKit to search what is instantiating
>> the timers?
>>
>
>
> Trace goes like this:
>
> Also another similar one:

> qtwebkit4.dll!WebCore::SharedTimerQt::inst(void) Line: 73, Byte Offsets:
0x08 C++
  qtwebkit4.dll!WebCore::stopSharedTimer(void) Line: 129, Byte Offsets: 0x1c
C++
  qtwebkit4.dll!WebCore::ThreadTimers::updateSharedTimer(void) Line: 85,
Byte Offsets: 0x70 C++
  qtwebkit4.dll!WebCore::TimerBase::setNextFireTime(double newTime =
4.0051336221387097e-302) Line: 311, Byte Offsets: 0x110 C++
  qtwebkit4.dll!WebCore::Loader::scheduleServePendingRequests(void) Line:
157, Byte Offsets: 0x34 C++
  qtwebkit4.dll!WebCore::Loader::Host::servePendingRequests(WTF::Deque<WebCore::Request
*>& requestsPending = {...}, bool& serveLowerPriority = false) Line: 372,
Byte Offsets: 0x434 C++
  qtwebkit4.dll!WebCore::Loader::Host::servePendingRequests(WebCore::Loader::Priority
minimumPriority = 303355172) Line: 310, Byte Offsets: 0x50 C++
  qtwebkit4.dll!WebCore::Loader::servePendingRequests(WebCore::Loader::Priority
minimumPriority = 303355172) Line: 183, Byte Offsets: 0x104 C++
  qtwebkit4.dll!WebCore::Timer<WebCore::Loader>::fired(void) Line: 98, Byte
Offsets: 0x14 C++
  qtwebkit4.dll!WebCore::ThreadTimers::sharedTimerFiredInternal(void) Line:
115, Byte Offsets: 0x114 C++
  qtwebkit4.dll!WebCore::SharedTimerQt::timerEvent(QTimerEvent* ev =
0x1214d524) Line: 106, Byte Offsets: 0x3c C++
  qtcore4.dll!QObject::event(QEvent* e = 0x1214d524) Line: 1276, Byte
Offsets: 0x33c C++
  qtgui4.dll!QApplicationPrivate::notify_helper(QObject* receiver =
0x1214d524, QEvent* e = 0x01bbf164) Line: 4303, Byte Offsets: 0x8c C++
  qtgui4.dll!QApplication::notify(QObject* receiver = 0x1214d524, QEvent* e
= 0x01bbf164) Line: 4262, Byte Offsets: 0xec8 C++
  qtcore4.dll!QCoreApplication::notifyInternal(QObject* receiver =
0x1214d524, QEvent* event = 0x01bbf164) Line: 717, Byte Offsets: 0x74 C++
  qtcore4.dll!QEventDispatcherWin32::event(QEvent* e = 0x1214d524) Line:
1109, Byte Offsets: 0x88 C++
  qtgui4.dll!QApplicationPrivate::notify_helper(QObject* receiver =
0x1214d524, QEvent* e = 0x01bbf164) Line: 4303, Byte Offsets: 0x8c C++
  qtgui4.dll!QApplication::notify(QObject* receiver = 0x1214d524, QEvent* e
= 0x01bbf164) Line: 4262, Byte Offsets: 0xec8 C++
  qtcore4.dll!QCoreApplication::notifyInternal(QObject* receiver =
0x1214d524, QEvent* event = 0x01bbf164) Line: 717, Byte Offsets: 0x74 C++
  qtcore4.dll!QCoreApplicationPrivate::sendPostedEvents(QObject* receiver =
0x4c20b0a8, int event_type = 303355172, QThreadData* data = 0x01bbf164)
Line: 1361, Byte Offsets: 0x244 C++
  qtcore4.dll!qt_internal_proc(HWND__* hwnd = 0x4c20b0a8, unsigned int
message = 303355172, unsigned int wp = 29094244, long int lp = 303364520)
Line: 492, Byte Offsets: 0x1e0 C++
  0x03f85c04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100326/53096a79/attachment.html>


More information about the webkit-qt mailing list