<?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>125942</bug_id>
          
          <creation_ts>2013-12-18 13:33:26 -0800</creation_ts>
          <short_desc>COLLECT_ON_EVERY_ALLOCATION makes any script execution crash with an assertion in DelayedReleaseScope constructor</short_desc>
          <delta_ts>2013-12-19 10:07:53 -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>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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Mark Hahnenberg">mhahnenberg</assigned_to>
          <cc>ggaren</cc>
    
    <cc>mhahnenberg</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>961080</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-12-18 13:33:26 -0800</bug_when>
    <thetext>Regression tests just crash before running any JS when COLLECT_ON_EVERY_ALLOCATION is enabled:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x0000000100f7deaa WTFCrash + 42 (Assertions.cpp:341)
1   com.apple.JavaScriptCore      	0x0000000100c2048a JSC::DelayedReleaseScope::DelayedReleaseScope(JSC::MarkedSpace&amp;) + 106 (DelayedReleaseScope.h:41)
2   com.apple.JavaScriptCore      	0x0000000100c1675d JSC::DelayedReleaseScope::DelayedReleaseScope(JSC::MarkedSpace&amp;) + 29 (DelayedReleaseScope.h:43)
3   com.apple.JavaScriptCore      	0x0000000100c13c3c JSC::Heap::collectAllGarbage() + 60 (Heap.cpp:730)
4   com.apple.JavaScriptCore      	0x0000000100db842d JSC::MarkedAllocator::allocateSlowCase(unsigned long) + 141 (MarkedAllocator.cpp:85)
5   com.apple.WebCore             	0x0000000102ac61df JSC::MarkedAllocator::allocate(unsigned long) + 79 (MarkedAllocator.h:91)
6   com.apple.WebCore             	0x0000000102ac6079 JSC::MarkedSpace::allocateWithImmortalStructureDestructor(unsigned long) + 41 (MarkedSpace.h:224)
7   com.apple.WebCore             	0x0000000102ac6006 JSC::Heap::allocateWithImmortalStructureDestructor(unsigned long) + 118 (Heap.h:420)
8   com.apple.WebCore             	0x0000000102ac5f1c void* JSC::allocateCell&lt;JSC::Structure&gt;(JSC::Heap&amp;, unsigned long) + 252 (JSCellInlines.h:97)
9   com.apple.WebCore             	0x0000000102ac5a8f void* JSC::allocateCell&lt;JSC::Structure&gt;(JSC::Heap&amp;) + 31 (JSCellInlines.h:109)
10  com.apple.WebCore             	0x0000000102ac580f JSC::Structure::create(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSValue, JSC::TypeInfo const&amp;, JSC::ClassInfo const*, unsigned char, unsigned int) + 191 (StructureInlines.h:39)
11  com.apple.WebCore             	0x000000010409f788 WebCore::JSDOMWindowShell::createStructure(JSC::VM&amp;, JSC::JSValue) + 104 (JSDOMWindowShell.h:62)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>961256</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2013-12-18 20:40:05 -0800</bug_when>
    <thetext>I believe this was fixed in http://trac.webkit.org/changeset/160822.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>961424</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-12-19 10:07:53 -0800</bug_when>
    <thetext>Yes, tests run now. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>