[Webkit-unassigned] [Bug 97424] New: Hang in WebCore::SelectorDataList::execute<0>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 23 22:16:18 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=97424

           Summary: Hang in WebCore::SelectorDataList::execute<0>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mikelawther at chromium.org
                CC: koivisto at iki.fi, kling at webkit.org,
                    inferno at chromium.org


As reported in http://code.google.com/p/chromium/issues/detail?id=148736:

We are seeing hangs in WebCore (83% of them hanging on http://live.gizmodo.com/).

Stack looks like:

0x5e612eee     [chrome.dll]     - selectorquery.cpp:118 (cs|src|ann)]    WebCore::SelectorDataList::execute<0>(WebCore::SelectorChecker const &,WebCore::Node *,WTF::Vector<WTF::RefPtr<WebCore::Node>,0> &)
0x5e612d50     [chrome.dll]     - selectorquery.cpp:62 (cs|src|ann)]    WebCore::SelectorDataList::queryAll(WebCore::SelectorChecker const &,WebCore::Node *)
0x5e612d0d     [chrome.dll]     - selectorquery.cpp:158 (cs|src|ann)]    WebCore::SelectorQuery::queryAll(WebCore::Node *)
0x5e611d1b     [chrome.dll]     - node.cpp:1624 (cs|src|ann)]    WebCore::Node::querySelectorAll(WTF::AtomicString const &,int &)

Looking at SelectorQuery.cpp:118, it looks like this:

117: while (n) {
118:   if (n->isElementNode())
119:     ...;

So it looks like the hang is due to an infinite loop over the tree.

Not sure how the tree gets in a state where such an infinite loop is possible, but filing the bug here anyway.

Antti - as you wrote the code initially, any ideas how this could be happening?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list