<?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>135352</bug_id>
          
          <creation_ts>2014-07-28 14:17:16 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: m_heap-&gt;vm()-&gt;currentThreadIsHoldingAPILock()</short_desc>
          <delta_ts>2014-07-28 15:19:33 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Mark Hahnenberg">mhahnenberg</reporter>
          <assigned_to name="Mark Hahnenberg">mhahnenberg</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1025229</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2014-07-28 14:17:16 -0700</bug_when>
    <thetext>ASSERTION FAILED: m_heap-&gt;vm()-&gt;currentThreadIsHoldingAPILock()
/Volumes/Data/Development/OSX/webkit/OpenSource/Source/JavaScriptCore/heap/MarkedAllocator.cpp(164) : void *JSC::MarkedAllocator::allocateSlowCase(size_t)
1   0x10fa6b5c0 WTFCrash
2   0x10f83cfe5 JSC::MarkedAllocator::allocateSlowCase(unsigned long)
3   0x10f2406a1 JSC::MarkedAllocator::allocate(unsigned long)
4   0x10f252c19 JSC::MarkedSpace::allocateWithImmortalStructureDestructor(unsigned long)
5   0x10f252be6 JSC::Heap::allocateWithImmortalStructureDestructor(unsigned long)
6   0x10f976a67 void* JSC::allocateCell&lt;JSC::PropertyTable&gt;(JSC::Heap&amp;, unsigned long)
7   0x10f97623f void* JSC::allocateCell&lt;JSC::PropertyTable&gt;(JSC::Heap&amp;)
8   0x10f975723 JSC::PropertyTable::clone(JSC::VM&amp;, JSC::PropertyTable const&amp;)
9   0x10f9e43c2 JSC::PropertyTable::copy(JSC::VM&amp;, unsigned int)
10  0x10f9df720 JSC::Structure::materializePropertyMap(JSC::VM&amp;)
11  0x10f2444c3 JSC::Structure::materializePropertyMapIfNecessary(JSC::VM&amp;, JSC::PropertyTable*&amp;)
12  0x10f241fc3 JSC::Structure::get(JSC::VM&amp;, JSC::PropertyName, unsigned int&amp;, JSC::JSCell*&amp;)
13  0x10f245aee JSC::JSObject::inlineGetOwnPropertySlot(JSC::VM&amp;, JSC::Structure&amp;, JSC::PropertyName, JSC::PropertySlot&amp;)
14  0x10f23e58a JSC::JSObject::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;)
15  0x10f723749 bool JSC::getStaticFunctionSlot&lt;JSC::JSSegmentedVariableObject&gt;(JSC::ExecState*, JSC::HashTable const&amp;, JSC::JSObject*, JSC::PropertyName, JSC::PropertySlot&amp;)
16  0x10f70fbec JSC::JSGlobalObject::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;)
17  0x112fcbc9c WebCore::JSDOMWindow::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;)
18  0x1124c1de7 JSC::JSObject::fastGetOwnPropertySlot(JSC::ExecState*, JSC::VM&amp;, JSC::Structure&amp;, JSC::PropertyName, JSC::PropertySlot&amp;)
19  0x1124c1bc6 JSC::JSObject::getPropertySlot(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;)
20  0x1124c0e48 JSC::JSObject::get(JSC::ExecState*, JSC::PropertyName) const
21  0x113734350 WebCore::QuickTimePluginReplacement::ensureReplacementScriptInjected()

ensureReplacementScriptInjected should be taking a JSLock like its sibling methods do (e.g. installReplacement).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1025230</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2014-07-28 14:17:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/17833422&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1025234</commentid>
    <comment_count>2</comment_count>
      <attachid>235616</attachid>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2014-07-28 14:20:23 -0700</bug_when>
    <thetext>Created attachment 235616
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1025257</commentid>
    <comment_count>3</comment_count>
      <attachid>235616</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-28 15:19:28 -0700</bug_when>
    <thetext>Comment on attachment 235616
Patch

Clearing flags on attachment: 235616

Committed r171703: &lt;http://trac.webkit.org/changeset/171703&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1025258</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-28 15:19:33 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>235616</attachid>
            <date>2014-07-28 14:20:23 -0700</date>
            <delta_ts>2014-07-28 15:19:28 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-135352-20140728142009.patch</filename>
            <type>text/plain</type>
            <size>1605</size>
            <attacher name="Mark Hahnenberg">mhahnenberg</attacher>
            
              <data encoding="base64">SW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vdXJjZS9XZWJDb3JlL01vZHVsZXMvcGx1Z2lucy9RdWlja1Rp
bWVQbHVnaW5SZXBsYWNlbWVudC5tbQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2ViQ29yZS9Nb2R1
bGVzL3BsdWdpbnMvUXVpY2tUaW1lUGx1Z2luUmVwbGFjZW1lbnQubW0JKHJldmlzaW9uIDE3MTY5
MikKKysrIFNvdXJjZS9XZWJDb3JlL01vZHVsZXMvcGx1Z2lucy9RdWlja1RpbWVQbHVnaW5SZXBs
YWNlbWVudC5tbQkod29ya2luZyBjb3B5KQpAQCAtMTU5LDYgKzE1OSw3IEBAIGJvb2wgUXVpY2tU
aW1lUGx1Z2luUmVwbGFjZW1lbnQ6OmVuc3VyZVIKICAgICBTY3JpcHRDb250cm9sbGVyJiBzY3Jp
cHRDb250cm9sbGVyID0gcGFnZS0+bWFpbkZyYW1lKCkuc2NyaXB0KCk7CiAgICAgSlNET01HbG9i
YWxPYmplY3QqIGdsb2JhbE9iamVjdCA9IEpTQzo6anNDYXN0PEpTRE9NR2xvYmFsT2JqZWN0Kj4o
c2NyaXB0Q29udHJvbGxlci5nbG9iYWxPYmplY3Qod29ybGQpKTsKICAgICBKU0M6OkV4ZWNTdGF0
ZSogZXhlYyA9IGdsb2JhbE9iamVjdC0+Z2xvYmFsRXhlYygpOworICAgIEpTQzo6SlNMb2NrSG9s
ZGVyIGxvY2soZXhlYyk7CiAgICAgCiAgICAgSlNDOjpKU1ZhbHVlIHJlcGxhY2VtZW50RnVuY3Rp
b24gPSBnbG9iYWxPYmplY3QtPmdldChleGVjLCBKU0M6OklkZW50aWZpZXIoZXhlYywgImNyZWF0
ZVBsdWdpblJlcGxhY2VtZW50IikpOwogICAgIGlmIChyZXBsYWNlbWVudEZ1bmN0aW9uLmlzRnVu
Y3Rpb24oKSkK
</data>

          </attachment>
      

    </bug>

</bugzilla>