Bug 278781
Summary: | Some `fast/xpath` tests hit an assertion in release with `ENABLE_ASSERTS=1` | ||
---|---|---|---|
Product: | WebKit | Reporter: | Vitaly Dyackhov <vitaly> |
Component: | XML | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Vitaly Dyackhov
Tests:
fast/xpath/4XPath/Core/test_parser.html
fast/xpath/attribute-node-predicate.html
fast/xpath/document-order.html
fast/xpath/id-path.html
fast/xpath/position.html
fast/xpath/preceding-axis.xhtml
fast/xpath/py-dom-xpath/abbreviations.html
fast/xpath/py-dom-xpath/axes.html
fast/xpath/py-dom-xpath/data.html
fast/xpath/py-dom-xpath/expressions.html
fast/xpath/py-dom-xpath/functions.html
fast/xpath/py-dom-xpath/nodetests.html
fast/xpath/py-dom-xpath/paths.html
fast/xpath/py-dom-xpath/predicates.html
fast/xpath/text-nodes.html
fast/xpath/union-context-node.xhtml
fast/xpath/xpath-functional-test.html
Stack trace:
STDERR: ASSERTION FAILED: parentNodes.isEmpty()
STDERR: /home/vitaly/WebKit/Source/WebCore/xml/XPathNodeSet.cpp(136) : void WebCore::XPath::sortBlock(unsigned int, unsigned int, WTF::Vector<WTF::Vector<WebCore::Node*> >&, bool)
STDERR: 1 0x7f28c42deba8 WebCore::XPath::sortBlock(unsigned int, unsigned int, WTF::Vector<WTF::Vector<WebCore::Node*, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, bool)
STDERR: 2 0x7f28c42e02fe WebCore::XPath::NodeSet::sort() const
STDERR: 3 0x7f28c42e1dbb WebCore::XPathResult::convertTo(unsigned short)
STDERR: 4 0x7f28c42d02a8 WebCore::XPathExpression::evaluate(WebCore::Node&, unsigned short, WebCore::XPathResult*)
STDERR: 5 0x7f28c42d067d WebCore::XPathEvaluator::evaluate(WTF::String const&, WebCore::Node&, WTF::RefPtr<WebCore::XPathNSResolver, WTF::RawPtrTraits<WebCore::XPathNSResolver>, WTF::DefaultRefDerefTraits<WebCore::XPathNSResolver> >&&, unsigned short, WebCore::XPathResult*)
STDERR: 6 0x7f28c29e65fe WebCore::Document::evaluate(WTF::String const&, WebCore::Node&, WTF::RefPtr<WebCore::XPathNSResolver, WTF::RawPtrTraits<WebCore::XPathNSResolver>, WTF::DefaultRefDerefTraits<WebCore::XPathNSResolver> >&&, unsigned short, WebCore::XPathResult*)
STDERR: 7 0x7f28c0e9093f WebCore::jsDocumentPrototypeFunction_evaluate(JSC::JSGlobalObject*, JSC::CallFrame*)
STDERR: 8 0x7f274fe10038 ???
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Vitaly Dyackhov
Pull request: https://github.com/WebKit/WebKit/pull/32818
EWS
Committed 282842@main (54db0db4919d): <https://commits.webkit.org/282842@main>
Reviewed commits have been landed. Closing PR #32818 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/134855577>
Vitaly Dyackhov
Re-opening for pull request https://github.com/WebKit/WebKit/pull/32940
EWS
Committed 282992@main (7ce6a1c447e1): <https://commits.webkit.org/282992@main>
Reviewed commits have been landed. Closing PR #32940 and removing active labels.