<?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>140688</bug_id>
          
          <creation_ts>2015-01-20 11:23:00 -0800</creation_ts>
          <short_desc>REGRESSION(178696): Sporadic crashes while garbage collecting</short_desc>
          <delta_ts>2015-01-20 11:35:26 -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>312.x</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Michael Saboff">msaboff</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1062821</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-01-20 11:23:00 -0800</bug_when>
    <thetext>After r178696 several build bots are crashing running WebKit tests.  As an example:

ASSERTION FAILED: heap()-&gt;m_storageSpace.contains(block)
/Volumes/Data/slave/mavericks-debug/build/Source/JavaScriptCore/heap/SlotVisitorInlines.h(246) : void JSC::SlotVisitor::copyLater(JSC::JSCell *, JSC::CopyToken, void *, size_t)
 1   0x109fc0860 WTFCrash
 2   0x109675541 JSC::SlotVisitor::copyLater(JSC::JSCell*, JSC::CopyToken, void*, unsigned long)
 3   0x109cdd65d JSC::JSObject::visitButterfly(JSC::SlotVisitor&amp;, JSC::Butterfly*, unsigned long)
 4   0x109cd015f JSC::JSObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&amp;)
 5   0x109ef46d8 JSC::visitChildren(JSC::SlotVisitor&amp;, JSC::JSCell const*)
 6   0x109ef4539 JSC::SlotVisitor::drain()
 7   0x109ef4c1d JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode)
 8   0x109b3bc95 JSC::GCThread::gcThreadMain()
 9   0x109b3bd6d JSC::GCThread::gcThreadStartFunc(void*)
 10  0x10a0157b9 WTF::createThread(void (*)(void*), void*, char const*)::$_0::operator()() const
 11  0x10a01578c std::__1::__function::__func&lt;WTF::createThread(void (*)(void*), void*, char const*)::$_0, std::__1::allocator&lt;WTF::createThread(void (*)(void*), void*, char const*)::$_0&gt;, void ()&gt;::operator()()
 12  0x109f6ce4a std::__1::function&lt;void ()&gt;::operator()() const
 13  0x10a01473e WTF::threadEntryPoint(void*)
 14  0x10a0160d8 WTF::wtfThreadEntryPoint(void*)
 15  0x7fff8e6e7899 _pthread_body
 16  0x7fff8e6e772a _pthread_struct_init
 17  0x7fff8e6ebfc9 thread_start

and

CRASHING TEST: imported/w3c/canvas/2d.composite.transparent.destination-out.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000010fedd90a WTFCrash + 42
1   com.apple.JavaScriptCore      	0x000000010fe9207b JSC::WeakBlock::reap() + 235
2   com.apple.JavaScriptCore      	0x000000010fcba017 JSC::WeakSet::reap() + 55
3   com.apple.JavaScriptCore      	0x000000010fcb6eac JSC::MarkedBlock::reapWeakSet() + 28
4   com.apple.JavaScriptCore      	0x000000010fcb8b19 JSC::ReapWeakSet::operator()(JSC::MarkedBlock*) + 25
5   com.apple.JavaScriptCore      	0x000000010fcb8a96 void JSC::MarkedAllocator::forEachBlock&lt;JSC::ReapWeakSet&gt;(JSC::ReapWeakSet&amp;) + 86
6   com.apple.JavaScriptCore      	0x000000010fcb897a JSC::ReapWeakSet::ReturnType JSC::MarkedSpace::forEachBlock&lt;JSC::ReapWeakSet&gt;(JSC::ReapWeakSet&amp;) + 586
7   com.apple.JavaScriptCore      	0x000000010fcb6ed9 JSC::ReapWeakSet::ReturnType JSC::MarkedSpace::forEachBlock&lt;JSC::ReapWeakSet&gt;() + 25</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1062822</commentid>
    <comment_count>1</comment_count>
      <attachid>245004</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-01-20 11:25:13 -0800</bug_when>
    <thetext>Created attachment 245004
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1062826</commentid>
    <comment_count>2</comment_count>
      <attachid>245004</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2015-01-20 11:33:50 -0800</bug_when>
    <thetext>Comment on attachment 245004
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1062827</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-01-20 11:35:26 -0800</bug_when>
    <thetext>Committed r178728: &lt;http://trac.webkit.org/changeset/178728&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>245004</attachid>
            <date>2015-01-20 11:25:13 -0800</date>
            <delta_ts>2015-01-20 11:33:50 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>140688.patch</filename>
            <type>text/plain</type>
            <size>1328</size>
            <attacher name="Michael Saboff">msaboff</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTc4NzI1KQorKysgU291cmNl
L0phdmFTY3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hU2NyaXB0Q29yZS9ydW50aW1lL0pTR2xvYmFsT2JqZWN0LmNw
cAkod29ya2luZyBjb3B5KQpAQCAtNjU2LDYgKzY1Niw3IEBAIHZvaWQgSlNHbG9iYWxPYmplY3Q6
OnZpc2l0Q2hpbGRyZW4oSlNDZWwKICNlbmRpZgogCiAgICAgdmlzaXRvci5hcHBlbmQoJnRoaXNP
YmplY3QtPm1fbnVsbEdldHRlckZ1bmN0aW9uKTsKKyAgICB2aXNpdG9yLmFwcGVuZCgmdGhpc09i
amVjdC0+bV9udWxsU2V0dGVyRnVuY3Rpb24pOwogCiAgICAgdmlzaXRvci5hcHBlbmQoJnRoaXNP
YmplY3QtPm1fZXZhbEZ1bmN0aW9uKTsKICAgICB2aXNpdG9yLmFwcGVuZCgmdGhpc09iamVjdC0+
bV9jYWxsRnVuY3Rpb24pOwo=
</data>
<flag name="review"
          id="269941"
          type_id="1"
          status="+"
          setter="ggaren"
    />
          </attachment>
      

    </bug>

</bugzilla>