<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>278781</bug_id>
          
          <creation_ts>2024-08-28 03:55:25 -0700</creation_ts>
          <short_desc>Some `fast/xpath` tests hit an assertion in release with `ENABLE_ASSERTS=1`</short_desc>
          <delta_ts>2024-08-30 14:53:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>XML</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Dyackhov">vitaly</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2055897</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-08-28 03:55:25 -0700</bug_when>
    <thetext>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&lt;WTF::Vector&lt;WebCore::Node*&gt; &gt;&amp;, bool)
STDERR: 1   0x7f28c42deba8 WebCore::XPath::sortBlock(unsigned int, unsigned int, WTF::Vector&lt;WTF::Vector&lt;WebCore::Node*, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, 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&amp;, unsigned short, WebCore::XPathResult*)
STDERR: 5   0x7f28c42d067d WebCore::XPathEvaluator::evaluate(WTF::String const&amp;, WebCore::Node&amp;, WTF::RefPtr&lt;WebCore::XPathNSResolver, WTF::RawPtrTraits&lt;WebCore::XPathNSResolver&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::XPathNSResolver&gt; &gt;&amp;&amp;, unsigned short, WebCore::XPathResult*)
STDERR: 6   0x7f28c29e65fe WebCore::Document::evaluate(WTF::String const&amp;, WebCore::Node&amp;, WTF::RefPtr&lt;WebCore::XPathNSResolver, WTF::RawPtrTraits&lt;WebCore::XPathNSResolver&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::XPathNSResolver&gt; &gt;&amp;&amp;, unsigned short, WebCore::XPathResult*)
STDERR: 7   0x7f28c0e9093f WebCore::jsDocumentPrototypeFunction_evaluate(JSC::JSGlobalObject*, JSC::CallFrame*)
STDERR: 8   0x7f274fe10038 ???</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055899</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-08-28 03:59:54 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32818</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055942</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-28 07:50:32 -0700</bug_when>
    <thetext>Committed 282842@main (54db0db4919d): &lt;https://commits.webkit.org/282842@main&gt;

Reviewed commits have been landed. Closing PR #32818 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055943</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-28 07:51:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/134855577&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2056564</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-08-30 08:03:03 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/32940</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2056679</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-30 14:53:36 -0700</bug_when>
    <thetext>Committed 282992@main (7ce6a1c447e1): &lt;https://commits.webkit.org/282992@main&gt;

Reviewed commits have been landed. Closing PR #32940 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>