<?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>173178</bug_id>
          
          <creation_ts>2017-06-09 12:53:36 -0700</creation_ts>
          <short_desc>svg/animations/svglength-element-removed-crash.svg is flaky</short_desc>
          <delta_ts>2023-10-03 17:50:14 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>191237</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=191047</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=191664</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>sabouhallawa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1317588</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-06-09 12:53:36 -0700</bug_when>
    <thetext>svg/animations/svglength-element-removed-crash.svg is a flaky failure but is becoming more consistent in failing.

Dashboard shows the failures happening on iOS Simulator Release:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=svg%2Fanimations%2Fsvglength-element-removed-crash.svg

https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/r217993%20(2116)/results.html
https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/builds/2085


I was able to reproduce the issue locally with:
run-webkit-tests svg/animations/svglength-element-removed-crash.svg --iterations=100 --no-retry-failure --ios-simulator

I was also able to narrow down the failure to Revision r217944 using same testing method
https://trac.webkit.org/changeset/217944/webkit

Diff:
--- /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/svg/animations/svglength-element-removed-crash-expected.txt
+++ /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/svg/animations/svglength-element-removed-crash-actual.txt
@@ -1 +1 @@
-PASS x = 10
+FAIL: -20 extra live node(s) x = 10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317613</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-06-09 14:02:34 -0700</bug_when>
    <thetext>This is affecting EWS results, so we should take care of this quickly or roll out the offending change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317619</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-06-09 14:10:45 -0700</bug_when>
    <thetext>Ryan, can you disable the test for now? That fix was definitely addressing a JSC bug and test flakiness, while this may be just a bad test.

But it is somewhat surprising.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317627</commentid>
    <comment_count>3</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2017-06-09 14:25:27 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #2)
&gt; Ryan, can you disable the test for now? That fix was definitely addressing a
&gt; JSC bug and test flakiness, while this may be just a bad test.
&gt; 
&gt; But it is somewhat surprising.

Maybe this SVG test was inadvertently taking advantage of LLInt&apos;s old wrong behavior.  It would flake, because the wrong behavior was in a LLInt optimization, so sometimes you wouldn&apos;t get the wrong behavior.

Specifically, what happens if you have both a custom property and an element called &quot;foo&quot;.  What does document.foo do?  Some what the property, some want the element.  Correct behavior is to give the element, LLInt would sometimes give the property.

I agree that it&apos;s worth skipping the SVG test.  It&apos;s probably not too hard to fix, if I&apos;m right about what&apos;s going on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317628</commentid>
    <comment_count>4</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-06-09 14:27:13 -0700</bug_when>
    <thetext>Skipped test:
https://trac.webkit.org/changeset/218018/webkit/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1476190</commentid>
    <comment_count>5</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2018-11-07 13:49:52 -0800</bug_when>
    <thetext>This should be fixed by removing the SVG tear-off object. https://bugs.webkit.org/show_bug.cgi?id=191237

*** This bug has been marked as a duplicate of bug 191237 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>