<?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>194502</bug_id>
          
          <creation_ts>2019-02-11 09:25:13 -0800</creation_ts>
          <short_desc>REGRESSION: [ Mac Debug ] ( r240358 ) Layout Test imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor2.htm is a flaky Crash</short_desc>
          <delta_ts>2019-02-12 15:25:52 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</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>194413</dup_id>
          
          <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="Truitt Savell">tsavell</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jlewis3</cc>
    
    <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>sihui_liu</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1504885</commentid>
    <comment_count>0</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-02-11 09:25:13 -0800</bug_when>
    <thetext>The following layout test is flaky on Mac Debug

imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor2.htm

Probable cause:

This test began crashing from https://trac.webkit.org/changeset/240358/webkit.

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2FIndexedDB%2Fidbindex_openKeyCursor2.htm

confirmed using command:
run-webkit-tests --root debug-240358 imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor2.htm --iterations 1000 -f --debug

the test crashes on r240358 but not on r240357. 

Crash:

05:19:47.497 40595 worker/3 imported/w3c/web-platform-tests/IndexedDB/idbindex_openKeyCursor2.htm crashed, (stderr lines):
05:19:47.497 40595   ASSERTION FAILED: m_transactionOperationsInProgressQueue.first() == &amp;operation
05:19:47.497 40595   ./Modules/indexeddb/IDBTransaction.cpp(1397) : void WebCore::IDBTransaction::operationCompletedOnClient(IDBClient::TransactionOperation &amp;)
05:19:47.497 40595   1   0x39fbfaf39 WTFCrash
05:19:47.497 40595   2   0x38de9bb3b WTFCrashWithInfo(int, char const*, char const*, int)
05:19:47.497 40595   3   0x38f5fb938 WebCore::IDBTransaction::operationCompletedOnClient(WebCore::IDBClient::TransactionOperation&amp;)
05:19:47.497 40595   4   0x38f5f1b46 WebCore::IDBClient::TransactionOperation::doComplete(WebCore::IDBResultData const&amp;)
05:19:47.497 40595   5   0x38f5eedef WebCore::IDBTransaction::completedOperationTimerFired()
05:19:47.497 40595   6   0x38f618cc7 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;std::__1::__bind&lt;void (WebCore::IDBTransaction::*&amp;)(), WebCore::IDBTransaction*&gt; &gt;::call()
05:19:47.497 40595   7   0x38de9cfed WTF::Function&lt;void ()&gt;::operator()() const
05:19:47.497 40595   8   0x38def62a9 WebCore::Timer::fired()
05:19:47.497 40595   9   0x390e90767 WebCore::ThreadTimers::sharedTimerFiredInternal()
05:19:47.498 40595   10  0x390e97bc1 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const
05:19:47.498 40595   11  0x390e97b79 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0&gt;::call()
05:19:47.498 40595   12  0x38de9cfed WTF::Function&lt;void ()&gt;::operator()() const
05:19:47.498 40595   13  0x390e6aa47 WebCore::MainThreadSharedTimer::fired()
05:19:47.498 40595   14  0x390ef08c9 WebCore::timerFired(__CFRunLoopTimer*, void*)
05:19:47.498 40595   15  0x7fff4b320704 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
05:19:47.498 40595   16  0x7fff4b320384 __CFRunLoopDoTimer
05:19:47.498 40595   17  0x7fff4b31fe7a __CFRunLoopDoTimers
05:19:47.498 40595   18  0x7fff4b31761b __CFRunLoopRun
05:19:47.498 40595   19  0x7fff4b316a07 CFRunLoopRunSpecific
05:19:47.498 40595   20  0x7fff4a5f4d96 RunCurrentEventLoopInMode
05:19:47.498 40595   21  0x7fff4a5f4b06 ReceiveNextEventCommon
05:19:47.498 40595   22  0x7fff4a5f4884 _BlockUntilNextEventMatchingListInModeWithFilter
05:19:47.498 40595   23  0x7fff488a7a73 _DPSNextEvent
05:19:47.498 40595   24  0x7fff4903de34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
05:19:47.498 40595   25  0x7fff4889c885 -[NSApplication run]
05:19:47.498 40595   26  0x7fff4886ba72 NSApplicationMain
05:19:47.498 40595   27  0x7fff73a15f57 _xpc_objc_main
05:19:47.498 40595   28  0x7fff73a14baa xpc_main
05:19:47.498 40595   29  0x3885670c1 WebKit::XPCServiceMain(int, char const**)
05:19:47.498 40595   30  0x3883d623b WKXPCServiceMain
05:19:47.498 40595   31  0x106c79f5e main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1505307</commentid>
    <comment_count>1</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2019-02-12 11:37:34 -0800</bug_when>
    <thetext>This is most likely related to rdar://problem/47623109</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1505308</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-02-12 11:38:26 -0800</bug_when>
    <thetext>&lt;rdar://problem/48008596&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1505442</commentid>
    <comment_count>3</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2019-02-12 15:25:52 -0800</bug_when>
    <thetext>(In reply to Truitt Savell from comment #1)
&gt; This is most likely related to rdar://problem/47623109

We already had a bug for this assertion failure. This was a pre-existing bug and r240358 made the bug crash more often so we could observe it on many tests.

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

    </bug>

</bugzilla>