<?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>205816</bug_id>
          
          <creation_ts>2020-01-06 11:20:03 -0800</creation_ts>
          <short_desc>imported/w3c/web-platform-tests/IndexedDB/request-event-ordering.html crashes sometimes</short_desc>
          <delta_ts>2020-01-08 16:07:21 -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>WebCore Misc.</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>205833</dup_id>
          
          <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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>sihui_liu</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1603158</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-01-06 11:20:03 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/IndexedDB/request-event-ordering.html crashes sometimes, especially on WK1 Debug.


https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2FIndexedDB%2Frequest-event-ordering.html


https://build.webkit.org/results/Apple%20High%20Sierra%20Debug%20WK1%20(Tests)/r254035%20(12518)/results.html
https://build.webkit.org/results/Apple%20High%20Sierra%20Debug%20WK1%20(Tests)/r254038%20(12521)/results.html
https://build.webkit.org/results/Apple%20High%20Sierra%20Debug%20WK1%20(Tests)/r254041%20(12524)/results.html

https://ews-build.webkit.org/results/macOS-High-Sierra-Debug-WK1-Tests-EWS/r386844-9449-clean-tree/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1603160</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-01-06 11:21:08 -0800</bug_when>
    <thetext>Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000bbadbeef
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 000000010f42b000-000000010f52d000 [ 1032K] r-x/rwx SM=COW  - [/Volumes/Data/worker/macOS-High-Sierra-Debug-WK1-Tests-EWS/build/WebKitBuild/Debug/DumpRenderTree]

Application Specific Information:
CRASHING TEST: http://localhost:8800/IndexedDB/request-event-ordering.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x00000001152ddb4d bmalloc::SmallLine::deref(std::__1::unique_lock&lt;bmalloc::Mutex&gt;&amp;) + 45 (SmallLine.h:62)
1   com.apple.JavaScriptCore      	0x00000001152dd8ac bmalloc::Heap::derefSmallLine(std::__1::unique_lock&lt;bmalloc::Mutex&gt;&amp;, bmalloc::Object, std::__1::array&lt;bmalloc::List&lt;bmalloc::SmallPage&gt;, 112ul&gt;&amp;) + 60 (Heap.h:178)
2   com.apple.JavaScriptCore      	0x00000001152dd7d5 bmalloc::Deallocator::processObjectLog(std::__1::unique_lock&lt;bmalloc::Mutex&gt;&amp;) + 165 (Deallocator.cpp:61)
3   com.apple.JavaScriptCore      	0x00000001152dd9f7 bmalloc::Deallocator::deallocateSlowCase(void*) + 231
4   com.apple.JavaScriptCore      	0x00000001151f6654 bmalloc::Deallocator::deallocate(void*) + 68 (Deallocator.h:79)
5   com.apple.JavaScriptCore      	0x00000001151f65f5 bmalloc::Cache::deallocate(bmalloc::HeapKind, void*) + 165 (Cache.h:107)
6   com.apple.JavaScriptCore      	0x00000001151f5b7b bmalloc::api::free(void*, bmalloc::HeapKind) + 27 (bmalloc.h:87)
7   com.apple.JavaScriptCore      	0x00000001151f5b57 WTF::fastFree(void*) + 23 (FastMalloc.cpp:520)
8   com.apple.WebCore             	0x00000001221bd795 WTF::ThreadSafeRefCountedBase::operator delete(void*) + 21 (ThreadSafeRefCounted.h:43)
9   com.apple.WebCore             	0x00000001238c63d3 WTF::ThreadSafeRefCounted&lt;WebCore::ThreadSafeDataBufferImpl, (WTF::DestructionThread)0&gt;::deref() const::&apos;lambda&apos;()::operator()() const + 51 (ThreadSafeRefCounted.h:118)
10  com.apple.WebCore             	0x00000001238c638d WTF::ThreadSafeRefCounted&lt;WebCore::ThreadSafeDataBufferImpl, (WTF::DestructionThread)0&gt;::deref() const + 61 (ThreadSafeRefCounted.h:136)
11  com.apple.WebCore             	0x00000001238c62f1 void WTF::derefIfNotNull&lt;WebCore::ThreadSafeDataBufferImpl&gt;(WebCore::ThreadSafeDataBufferImpl*) + 49 (RefPtr.h:45)
12  com.apple.WebCore             	0x00000001238c62b9 WTF::RefPtr&lt;WebCore::ThreadSafeDataBufferImpl, WTF::DumbPtrTraits&lt;WebCore::ThreadSafeDataBufferImpl&gt; &gt;::~RefPtr() + 41 (RefPtr.h:69)
13  com.apple.WebCore             	0x00000001238c6285 WTF::RefPtr&lt;WebCore::ThreadSafeDataBufferImpl, WTF::DumbPtrTraits&lt;WebCore::ThreadSafeDataBufferImpl&gt; &gt;::~RefPtr() + 21 (RefPtr.h:69)
14  com.apple.WebCore             	0x00000001238c6265 WebCore::ThreadSafeDataBuffer::~ThreadSafeDataBuffer() + 21 (ThreadSafeDataBuffer.h:57)
15  com.apple.WebCore             	0x00000001238c6245 WebCore::ThreadSafeDataBuffer::~ThreadSafeDataBuffer() + 21 (ThreadSafeDataBuffer.h:57)
16  com.apple.WebCore             	0x00000001238c621c WebCore::IDBValue::~IDBValue() + 60 (IDBValue.h:37)
17  com.apple.WebCore             	0x00000001238bb8f5 WebCore::IDBValue::~IDBValue() + 21 (IDBValue.h:37)
18  com.apple.WebCore             	0x00000001238bb831 WebCore::IDBCursor::~IDBCursor() + 257 (IDBCursor.cpp:78)
19  com.apple.WebCore             	0x00000001238bf105 WebCore::IDBCursorWithValue::~IDBCursorWithValue() + 21 (IDBCursorWithValue.cpp:58)
20  com.apple.WebCore             	0x00000001238bf125 WebCore::IDBCursorWithValue::~IDBCursorWithValue() + 21 (IDBCursorWithValue.cpp:58)
21  com.apple.WebCore             	0x00000001238bf149 WebCore::IDBCursorWithValue::~IDBCursorWithValue() + 25 (IDBCursorWithValue.cpp:58)
22  com.apple.WebCore             	0x0000000122c999ff WTF::RefCounted&lt;WebCore::IDBCursor, std::__1::default_delete&lt;WebCore::IDBCursor&gt; &gt;::deref() const + 95 (RefCounted.h:190)
23  com.apple.WebCore             	0x0000000122dbe385 void WTF::derefIfNotNull&lt;WebCore::IDBCursor&gt;(WebCore::IDBCursor*) + 53 (RefPtr.h:45)
24  com.apple.WebCore             	0x0000000122dbe349 WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;::~RefPtr() + 41 (RefPtr.h:69)
25  com.apple.WebCore             	0x0000000122dbe315 WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;::~RefPtr() + 21 (RefPtr.h:69)
26  com.apple.WebCore             	0x0000000122dbe2cd WTF::__storage_wrapper&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt; &gt;::__destroy() + 29 (Variant.h:444)
27  com.apple.WebCore             	0x0000000122dbe2a5 WTF::__variant_storage&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, false&gt;::__destroy(WTF::__storage_wrapper&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt; &gt;&amp;) + 21 (Variant.h:481)
28  com.apple.WebCore             	0x0000000122dbe27c WTF::__variant_data&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt; &gt;::__destroy(WTF::in_place_tag (&amp;)(WTF::__in_place_private::__value_holder&lt;0ul&gt;&amp;)) + 28 (Variant.h:552)
29  com.apple.WebCore             	0x0000000123930f06 WTF::__variant_data&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, WTF::RefPtr&lt;WebCore::IDBDatabase, WTF::DumbPtrTraits&lt;WebCore::IDBDatabase&gt; &gt;, WebCore::IDBKeyData, WTF::Vector&lt;WebCore::IDBKeyData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::IDBGetResult, WebCore::IDBGetAllResult, unsigned long long, WebCore::IDBRequest::NullResultType&gt;::__destroy(WTF::in_place_tag (&amp;)(WTF::__in_place_private::__value_holder&lt;0ul&gt;&amp;)) + 38 (Variant.h:671)
30  com.apple.WebCore             	0x0000000123930d10 void WTF::__destroy_op_table&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, WTF::RefPtr&lt;WebCore::IDBDatabase, WTF::DumbPtrTraits&lt;WebCore::IDBDatabase&gt; &gt;, WebCore::IDBKeyData, WTF::Vector&lt;WebCore::IDBKeyData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::IDBGetResult, WebCore::IDBGetAllResult, unsigned long long, WebCore::IDBRequest::NullResultType&gt;, WTF::__index_sequence&lt;0l, 1l, 2l, 3l, 4l, 5l, 6l, 7l&gt; &gt;::__destroy_func&lt;0l&gt;(WTF::Variant&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, WTF::RefPtr&lt;WebCore::IDBDatabase, WTF::DumbPtrTraits&lt;WebCore::IDBDatabase&gt; &gt;, WebCore::IDBKeyData, WTF::Vector&lt;WebCore::IDBKeyData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::IDBGetResult, WebCore::IDBGetAllResult, unsigned long long, WebCore::IDBRequest::NullResultType&gt;*) + 48 (Variant.h:827)
31  com.apple.WebCore             	0x0000000123930c7d WTF::Variant&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, WTF::RefPtr&lt;WebCore::IDBDatabase, WTF::DumbPtrTraits&lt;WebCore::IDBDatabase&gt; &gt;, WebCore::IDBKeyData, WTF::Vector&lt;WebCore::IDBKeyData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::IDBGetResult, WebCore::IDBGetAllResult, unsigned long long, WebCore::IDBRequest::NullResultType&gt;::__destroy_self() + 77 (Variant.h:1472)
32  com.apple.WebCore             	0x0000000123930c25 WTF::__variant_base&lt;WTF::Variant&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, WTF::RefPtr&lt;WebCore::IDBDatabase, WTF::DumbPtrTraits&lt;WebCore::IDBDatabase&gt; &gt;, WebCore::IDBKeyData, WTF::Vector&lt;WebCore::IDBKeyData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::IDBGetResult, WebCore::IDBGetAllResult, unsigned long long, WebCore::IDBRequest::NullResultType&gt;, false&gt;::~__variant_base() + 21 (Variant.h:923)
33  com.apple.WebCore             	0x0000000123930c05 WTF::Variant&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, WTF::RefPtr&lt;WebCore::IDBDatabase, WTF::DumbPtrTraits&lt;WebCore::IDBDatabase&gt; &gt;, WebCore::IDBKeyData, WTF::Vector&lt;WebCore::IDBKeyData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::IDBGetResult, WebCore::IDBGetAllResult, unsigned long long, WebCore::IDBRequest::NullResultType&gt;::~Variant() + 21 (Variant.h:1439)
34  com.apple.WebCore             	0x000000012391a695 WTF::Variant&lt;WTF::RefPtr&lt;WebCore::IDBCursor, WTF::DumbPtrTraits&lt;WebCore::IDBCursor&gt; &gt;, WTF::RefPtr&lt;WebCore::IDBDatabase, WTF::DumbPtrTraits&lt;WebCore::IDBDatabase&gt; &gt;, WebCore::IDBKeyData, WTF::Vector&lt;WebCore::IDBKeyData, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::IDBGetResult, WebCore::IDBGetAllResult, unsigned long long, WebCore::IDBRequest::NullResultType&gt;::~Variant() + 21 (Variant.h:1439)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1603375</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-01-06 16:49:48 -0800</bug_when>
    <thetext>Started on 2019-12-19. Hopefully a duplicate of one of other issues Sihui is looking into, but starting with a separate bug to make sure that this is tracked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1603377</commentid>
    <comment_count>3</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2020-01-06 16:52:57 -0800</bug_when>
    <thetext>likely same as this one: &lt;rdar://problem/58146233&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604344</commentid>
    <comment_count>4</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2020-01-08 16:07:21 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>