<?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>129583</bug_id>
          
          <creation_ts>2014-03-02 14:21:56 -0800</creation_ts>
          <short_desc>Web Inspector: Inspector asserting immediately on bring up</short_desc>
          <delta_ts>2014-03-02 17:23:58 -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>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>129328</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="Sam Weinig">sam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>986165</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2014-03-02 14:21:56 -0800</bug_when>
    <thetext>The Web Inspector is asserting as soon as you bring it up in debug builds.  It looks like InspectorIndexedDBAgent is using IDBRequest incorrectly.

ASSERTION FAILED: m_readyState == DONE || m_readyState == EarlyDeath || !scriptExecutionContext()
/Volumes/Data/Code/WebKitSVN/OpenSource/Source/WebCore/Modules/indexeddb/IDBRequest.cpp(93) : virtual WebCore::IDBRequest::~IDBRequest()
1   0x1140e0ed0 WTFCrash
2   0x115dbe23d WebCore::IDBRequest::~IDBRequest()
3   0x115dbe135 WebCore::IDBRequest::~IDBRequest()
4   0x115dbe109 WebCore::IDBRequest::~IDBRequest()
5   0x115d803b3 WTF::RefCounted&lt;WebCore::IDBCallbacks&gt;::deref()
6   0x115d80351 void WTF::derefIfNotNull&lt;WebCore::IDBRequest&gt;(WebCore::IDBRequest*)
7   0x115d807c8 WTF::RefPtr&lt;WebCore::IDBRequest&gt;::~RefPtr()
8   0x115d7fd85 WTF::RefPtr&lt;WebCore::IDBRequest&gt;::~RefPtr()
9   0x115f11729 WebCore::InspectorIndexedDBAgent::requestDatabaseNames(WTF::String*, WTF::String const&amp;, WTF::PassRefPtr&lt;Inspector::InspectorIndexedDBBackendDispatcherHandler::RequestDatabaseNamesCallback&gt;)
10  0x115f119b7 non-virtual thunk to WebCore::InspectorIndexedDBAgent::requestDatabaseNames(WTF::String*, WTF::String const&amp;, WTF::PassRefPtr&lt;Inspector::InspectorIndexedDBBackendDispatcherHandler::RequestDatabaseNamesCallback&gt;)
11  0x115f984f9 Inspector::InspectorIndexedDBBackendDispatcher::requestDatabaseNames(long, Inspector::InspectorObject const&amp;)
12  0x115f98046 Inspector::InspectorIndexedDBBackendDispatcher::dispatch(long, WTF::String const&amp;, WTF::PassRefPtr&lt;Inspector::InspectorObject&gt;)
13  0x113d2ccfc Inspector::InspectorBackendDispatcher::dispatch(WTF::String const&amp;)
14  0x115e9f3a1 WebCore::InspectorController::dispatchMessageFromFrontend(WTF::String const&amp;)
15  0x115f049ee WebCore::InspectorBackendDispatchTask::timerFired(WebCore::Timer&lt;WebCore::InspectorBackendDispatchTask&gt;&amp;)
16  0x115f0656e std::__1::__function::__func&lt;std::__1::__bind&lt;void (WebCore::InspectorBackendDispatchTask::*&amp;)(WebCore::Timer&lt;WebCore::InspectorBackendDispatchTask&gt;&amp;), WebCore::InspectorBackendDispatchTask*&amp;, std::__1::reference_wrapper&lt;WebCore::Timer&lt;WebCore::InspectorBackendDispatchTask&gt; &gt; &gt;, std::__1::allocator&lt;std::__1::__bind&lt;void (WebCore::InspectorBackendDispatchTask::*&amp;)(WebCore::Timer&lt;WebCore::InspectorBackendDispatchTask&gt;&amp;), WebCore::InspectorBackendDispatchTask*&amp;, std::__1::reference_wrapper&lt;WebCore::Timer&lt;WebCore::InspectorBackendDispatchTask&gt; &gt; &gt; &gt;, void ()&gt;::operator()()
17  0x1152fe11a std::__1::function&lt;void ()&gt;::operator()() const
18  0x115f0449c WebCore::Timer&lt;WebCore::InspectorBackendDispatchTask&gt;::fired()
19  0x117012b4c WebCore::ThreadTimers::sharedTimerFiredInternal()
20  0x117012809 WebCore::ThreadTimers::sharedTimerFired()
21  0x116d674f7 WebCore::timerFired(__CFRunLoopTimer*, void*)
22  0x7fff8d837054 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
23  0x7fff8d836cd4 __CFRunLoopDoTimer
24  0x7fff8d8aab5a __CFRunLoopDoTimers
25  0x7fff8d7f3387 __CFRunLoopRun
26  0x7fff8d7f2988 CFRunLoopRunSpecific
27  0x7fff8b91f6ae RunCurrentEventLoopInMode
28  0x7fff8b91f461 ReceiveNextEventCommon
29  0x7fff8b91f25b _BlockUntilNextEventMatchingListInModeWithFilter
30  0x7fff90a5c3a4 _DPSNextEvent
31  0x7fff90a5bc74 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>986167</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-03-02 14:24:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/16206696&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>986213</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2014-03-02 17:23:58 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>