<?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>137314</bug_id>
          
          <creation_ts>2014-10-01 14:21:46 -0700</creation_ts>
          <short_desc>storage/indexeddb/database-basics.html crashes intermittently in IDBDatabaseBackend::createObjectStore()</short_desc>
          <delta_ts>2014-10-01 14:29:47 -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>Page Loading</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Dakin">bdakin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bdakin</cc>
    
    <cc>beidson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1038651</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2014-10-01 14:21:46 -0700</bug_when>
    <thetext>storage/indexeddb/database-basics.html has been intermittently asserting in IDBDatabaseBackend::createObjectStore() on the bots. The assertion is: ASSERT(!m_metadata.objectStores.contains(objectStoreId));


Process:         com.apple.WebKit.WebContent.Development [50843]
Path:            /Volumes/VOLUME/*/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.Development.xpc/Contents/MacOS/com.apple.WebKit.WebContent.Development
Identifier:      com.apple.WebKit.WebContent.Development
Version:         601+ (601.1.1+)
Code Type:       X86-64 (Native)
Parent Process:  ??? [1]
Responsible:     bash [233]
User ID:         501

Date/Time:       2014-10-01 11:18:05.043 -0700
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID:  E724C068-036D-67C1-EA3C-9A0CD8F1E44C


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 000000010f3b8000-000000010f3ba000 [    8K] r-x/rwx SM=COW  /Volumes/VOLUME/*/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.Development.xpc/Contents/MacOS/com.apple.WebKit.WebContent.Development

Application Specific Information:
CRASHING TEST:storage/indexeddb/database-basics.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x0000000116216f9a WTFCrash + 42 (Assertions.cpp:321)
1   com.apple.WebCore             	0x00000001182137cb WebCore::IDBDatabaseBackend::createObjectStore(long long, long long, WTF::String const&amp;, WebCore::IDBKeyPath const&amp;, bool) + 267 (IDBDatabaseBackend.cpp:141)
2   com.apple.WebCore             	0x0000000118209ac7 WebCore::IDBDatabase::createObjectStore(WTF::String const&amp;, WebCore::IDBKeyPath const&amp;, bool, int&amp;) + 615 (IDBDatabase.cpp:187)
3   com.apple.WebCore             	0x000000011870483f WebCore::JSIDBDatabase::createObjectStore(JSC::ExecState*) + 927 (JSIDBDatabaseCustom.cpp:79)
4   com.apple.WebCore             	0x0000000118701b3f WebCore::jsIDBDatabasePrototypeFunctionCreateObjectStore(JSC::ExecState*) + 383 (JSIDBDatabase.cpp:363)
5   ???                           	0x000051bd08601034 0 + 89872331182132
6   com.apple.JavaScriptCore      	0x0000000115ffa444 llint_entry + 25432
7   com.apple.JavaScriptCore      	0x0000000115ff3ea9 vmEntryToJavaScript + 361
8   com.apple.JavaScriptCore      	0x0000000115e817fa JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 266 (JITCode.cpp:56)
9   com.apple.JavaScriptCore      	0x0000000115e62b16 JSC::Interpreter::execute(JSC::EvalExecutable*, JSC::ExecState*, JSC::JSValue, JSC::JSScope*) + 2422 (Interpreter.cpp:1209)
10  com.apple.JavaScriptCore      	0x0000000115e62174 JSC::eval(JSC::ExecState*) + 1044 (Interpreter.cpp:136)
11  com.apple.JavaScriptCore      	0x0000000115fedac2 llint_slow_path_call_eval + 386 (LLIntSlowPaths.cpp:1244)
12  com.apple.JavaScriptCore      	0x0000000115ffa767 llint_entry + 26235
13  ???                           	0x000051bd086019fa 0 + 89872331184634
14  com.apple.JavaScriptCore      	0x0000000115ff3ea9 vmEntryToJavaScript + 361
15  com.apple.JavaScriptCore      	0x0000000115e817fa JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 266 (JITCode.cpp:56)
16  com.apple.JavaScriptCore      	0x0000000115e664e3 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 1443 (Interpreter.cpp:989)
17  com.apple.JavaScriptCore      	0x00000001159fc00e JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 190 (CallData.cpp:39)
18  com.apple.JavaScriptCore      	0x00000001159fc073 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, JSC::JSValue*) + 83 (CallData.cpp:44)
19  com.apple.WebCore             	0x000000011848922b WebCore::JSMainThreadExecState::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, JSC::JSValue*) + 107 (JSMainThreadExecState.h:56)
20  com.apple.WebCore             	0x0000000118608231 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) + 1281 (JSEventListener.cpp:127)
21  com.apple.WebCore             	0x0000000117e0c92b WebCore::EventTarget::fireEventListeners(WebCore::Event*, WebCore::EventTargetData*, WTF::Vector&lt;WebCore::RegisteredEventListener, 1ul, WTF::CrashOnOverflow&gt;&amp;) + 1499 (EventTarget.cpp:247)
22  com.apple.WebCore             	0x0000000117e0c1fe WebCore::EventTarget::fireEventListeners(WebCore::Event*) + 334 (EventTarget.cpp:197)
23  com.apple.WebCore             	0x000000011822c629 WebCore::IDBEventDispatcher::dispatch(WebCore::Event*, WTF::Vector&lt;WTF::RefPtr&lt;WebCore::EventTarget&gt;, 0ul, WTF::CrashOnOverflow&gt;&amp;) + 361 (IDBEventDispatcher.cpp:55)
24  com.apple.WebCore             	0x00000001182404cd WebCore::IDBRequest::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;) + 2301 (IDBRequest.cpp:505)
25  com.apple.WebCore             	0x000000011823b547 WebCore::IDBOpenDBRequest::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;) + 391 (IDBOpenDBRequest.cpp:150)
26  com.apple.WebCore             	0x000000011823b58c non-virtual thunk to WebCore::IDBOpenDBRequest::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;) + 28 (IDBOpenDBRequest.cpp:151)
27  com.apple.WebCore             	0x0000000117c5ec74 WebCore::DocumentEventQueue::dispatchEvent(WebCore::Event&amp;) + 196 (DocumentEventQueue.cpp:149)
28  com.apple.WebCore             	0x0000000117c5eb5a WebCore::DocumentEventQueue::pendingEventTimerFired() + 506 (DocumentEventQueue.cpp:138)
29  com.apple.WebCore             	0x0000000117c628b2 WebCore::DocumentEventQueue::Timer::fired() + 98 (DocumentEventQueue.cpp:52)
30  com.apple.WebCore             	0x00000001194a8b4c WebCore::ThreadTimers::sharedTimerFiredInternal() + 396 (ThreadTimers.cpp:135)
31  com.apple.WebCore             	0x00000001194a8809 WebCore::ThreadTimers::sharedTimerFired() + 25 (ThreadTimers.cpp:108)
32  com.apple.WebCore             	0x00000001191b212f WebCore::timerFired(__CFRunLoopTimer*, void*) + 31 (SharedTimerMac.mm:125)
33  com.apple.CoreFoundation      	0x00007fff868463e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
34  com.apple.CoreFoundation      	0x00007fff86845f1f __CFRunLoopDoTimer + 1151
35  com.apple.CoreFoundation      	0x00007fff868b75aa __CFRunLoopDoTimers + 298
36  com.apple.CoreFoundation      	0x00007fff868016a5 __CFRunLoopRun + 1525
37  com.apple.CoreFoundation      	0x00007fff86800e75 CFRunLoopRunSpecific + 309
38  com.apple.HIToolbox           	0x00007fff89aaca0d RunCurrentEventLoopInMode + 226
39  com.apple.HIToolbox           	0x00007fff89aac7b7 ReceiveNextEventCommon + 479
40  com.apple.HIToolbox           	0x00007fff89aac5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
41  com.apple.AppKit              	0x00007fff922f124e _DPSNextEvent + 1434
42  com.apple.AppKit              	0x00007fff922f089b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
43  com.apple.AppKit              	0x00007fff922e499c -[NSApplication run] + 553
44  com.apple.AppKit              	0x00007fff922cf783 NSApplicationMain + 940
45  com.apple.XPCService          	0x00007fff91cf1c0f _xpc_main + 385
46  libxpc.dylib                  	0x00007fff92fa9bde xpc_main + 399
47  com.apple.WebKit.WebContent.Development	0x000000010f3b9135 main + 37
48  libdyld.dylib                 	0x00007fff89dd45fd start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1038655</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2014-10-01 14:29:33 -0700</bug_when>
    <thetext>Marked this test as crash-flaky in http://trac.webkit.org/changeset/174172</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>