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

İsmail Dönmez ismail at namtrac.org
Fri Mar 26 06:38:12 PDT 2010


Hi;

On Fri, Mar 26, 2010 at 3:32 PM, Holger Freyther <zecke at selfish.org> wrote:

> On Friday 26 March 2010 14:20:10 you wrote:
>
> > > Could you please post a backtrace that ends in:
> > >        Loader::scheduleServePendingRequests
> > >
> > > and contains
> > >
> > >         ...
> > >         Timer<WebCore::Loader>::fired(void)
> >
> > I am confused, the backtrace I sent exactly contains the two you wanted.
>
> I don't see it.
>
>
> the backtrace you posted or that I read is looking like:
>
> ::fired -> servePendingRequests
>
> but I want to see:
>
> ::fired -> servePendingRequests -> ... -> scheduleServePendingRequests
> (if that happens we do have a nice problem)



Something like this?

> qtwebkit4.dll!WebCore::Loader::scheduleServePendingRequests(void) Line:
156, Byte Offsets: 0x18 C++
  qtwebkit4.dll!WebCore::Loader::Host::servePendingRequests(WTF::Deque<WebCore::Request
*>& requestsPending = {...}, bool& serveLowerPriority = false) Line: 372,
Byte Offsets: 0x514 C++
  qtwebkit4.dll!WebCore::Loader::Host::servePendingRequests(WebCore::Loader::Priority
minimumPriority = 0) Line: 310, Byte Offsets: 0x50 C++
  qtwebkit4.dll!WebCore::Loader::servePendingRequests(WebCore::Loader::Priority
minimumPriority = 0) 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 =
0x00000000) Line: 106, Byte Offsets: 0x3c C++
  qtcore4.dll!QObject::event(QEvent* e = 0x00000000) Line: 1276, Byte
Offsets: 0x33c C++
  qtgui4.dll!QApplicationPrivate::notify_helper(QObject* receiver =
0x00000000, QEvent* e = 0x00000000) Line: 4303, Byte Offsets: 0x8c C++
  qtgui4.dll!QApplication::notify(QObject* receiver = 0x00000000, QEvent* e
= 0x00000000) Line: 4262, Byte Offsets: 0xec8 C++
  qtcore4.dll!QCoreApplication::notifyInternal(QObject* receiver =
0x00000000, QEvent* event = 0x00000000) Line: 717, Byte Offsets: 0x74 C++
  qtcore4.dll!QEventDispatcherWin32::event(QEvent* e = 0x00000000) Line:
1109, Byte Offsets: 0x88 C++
  qtgui4.dll!QApplicationPrivate::notify_helper(QObject* receiver =
0x00000000, QEvent* e = 0x00000000) Line: 4303, Byte Offsets: 0x8c C++
  qtgui4.dll!QApplication::notify(QObject* receiver = 0x00000000, QEvent* e
= 0x00000000) Line: 4262, Byte Offsets: 0xec8 C++
  qtcore4.dll!QCoreApplication::notifyInternal(QObject* receiver =
0x00000000, QEvent* event = 0x00000000) Line: 717, Byte Offsets: 0x74 C++
  qtcore4.dll!QCoreApplicationPrivate::sendPostedEvents(QObject* receiver =
0x00000000, int event_type = 0, QThreadData* data = 0x00000000) Line: 1361,
Byte Offsets: 0x244 C++
  qtcore4.dll!qt_internal_proc(HWND__* hwnd = 0x00000000, unsigned int
message = 0, unsigned int wp = 0, long int lp = 0) Line: 492, Byte Offsets:
0x1e0 C++
  0x03f85c04

Regards,
İsmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100326/6d943218/attachment-0001.html>


More information about the webkit-qt mailing list