<?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>148026</bug_id>
          
          <creation_ts>2015-08-14 08:49:44 -0700</creation_ts>
          <short_desc>Frequent assertions on animations/restart-after-scroll.html</short_desc>
          <delta_ts>2015-08-14 10:32:19 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1117635</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-08-14 08:49:44 -0700</bug_when>
    <thetext>animations/restart-after-scroll.html very frequently asserts in debug builds, both WK1 and WK2:

    if (m_absCaretBoundsDirty &amp;&amp; m_selection.isCaret()) // We should be able to always assert this condition.
        ASSERT(m_absCaretBounds == m_selection.visibleStart().absoluteCaretBounds());

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000011088c2f7 WTFCrash + 39
1   com.apple.WebCore             	0x0000000112a029ce WebCore::FrameSelection::recomputeCaretRect() + 878 (FrameSelection.cpp:1484)
2   com.apple.WebCore             	0x0000000112a02e0b WebCore::FrameSelection::invalidateCaretRect() + 91 (FrameSelection.cpp:1518)
3   com.apple.WebCore             	0x00000001129f9b4b WebCore::FrameSelection::caretBlinkTimerFired() + 235 (FrameSelection.cpp:1987)
4   com.apple.WebCore             	0x0000000112a079c8 void std::__1::__invoke_void_return_wrapper&lt;void&gt;::__call&lt;std::__1::__bind&lt;void (WebCore::FrameSelection::*&amp;)(), WebCore::FrameSelection*&gt;&amp;&gt;(std::__1::__bind&lt;void (WebCore::FrameSelection::*&amp;)(), WebCore::FrameSelection*&gt;&amp;&amp;&amp;) + 248 (__functional_base:441)
5   com.apple.WebCore             	0x0000000112a0789c std::__1::__function::__func&lt;std::__1::__bind&lt;void (WebCore::FrameSelection::*&amp;)(), WebCore::FrameSelection*&gt;, std::__1::allocator&lt;std::__1::__bind&lt;void (WebCore::FrameSelection::*&amp;)(), WebCore::FrameSelection*&gt; &gt;, void ()&gt;::operator()() + 44 (functional:1407)
6   com.apple.WebCore             	0x00000001120c463a std::__1::function&lt;void ()&gt;::operator()() const + 26 (functional:1793)
7   com.apple.WebCore             	0x00000001120c455c WebCore::Timer::fired() + 28 (Timer.h:134)
8   com.apple.WebCore             	0x000000011410713a WebCore::ThreadTimers::sharedTimerFiredInternal() + 394 (ThreadTimers.cpp:135)
9   com.apple.WebCore             	0x0000000114106df9 WebCore::ThreadTimers::sharedTimerFired() + 25 (ThreadTimers.cpp:108)
10  com.apple.WebCore             	0x0000000113db5802 WebCore::timerFired(__CFRunLoopTimer*, void*) + 34 (SharedTimerCF.cpp:82)

rdar://problem/21843062</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1117658</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-08-14 10:10:16 -0700</bug_when>
    <thetext>Got 9 crashes when running the test like this, so the assertion is readily reproducible:

run-webkit-tests LayoutTests/animations/restart-after-scroll.html  --repeat 100 -f

Skipped the test in r188476</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1117663</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-08-14 10:32:19 -0700</bug_when>
    <thetext>This was an iOS platform test that I moved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>