<?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>178399</bug_id>
          
          <creation_ts>2017-10-17 10:37:53 -0700</creation_ts>
          <short_desc>32-bit JSC: ASSERTION FAILED: !isCompilationThread() seen with stress/dfg-object-prototype-of.js</short_desc>
          <delta_ts>2017-10-17 16:36:05 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>178067</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=178067</see_also>
          <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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Yusuke Suzuki">ysuzuki</assigned_to>
          <cc>saam</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1361302</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-10-17 10:37:53 -0700</bug_when>
    <thetext>This assertion failure is seen on 32-bit JSC bots with one of the tests for https://trac.webkit.org/changeset/223523

stress/dfg-object-prototype-of.js.default: ASSERTION FAILED: !isCompilationThread()
stress/dfg-object-prototype-of.js.default: /Volumes/Data/slave/highsierra-32bitJSC-debug/build/Source/JavaScriptCore/runtime/LazyClassStructure.h(86) : JSC::JSObject *JSC::LazyClassStructure::prototype(const JSC::JSGlobalObject *) const
stress/dfg-object-prototype-of.js.default: 1   0x148857a WTFCrash
stress/dfg-object-prototype-of.js.default: 2   0x811dbf JSC::LazyClassStructure::prototype(JSC::JSGlobalObject const*) const
stress/dfg-object-prototype-of.js.default: 3   0x811ca3 JSC::JSGlobalObject::booleanPrototype() const
stress/dfg-object-prototype-of.js.default: 4   0x80a3f8 JSC::DFG::FixupPhase::fixupGetPrototypeOf(JSC::DFG::Node*)
stress/dfg-object-prototype-of.js.default: 5   0x80352f JSC::DFG::FixupPhase::fixupNode(JSC::DFG::Node*)
stress/dfg-object-prototype-of.js.default: 6   0x7fbede JSC::DFG::FixupPhase::fixupBlock(JSC::DFG::BasicBlock*)
stress/dfg-object-prototype-of.js.default: 7   0x7fbcb3 JSC::DFG::FixupPhase::run()
stress/dfg-object-prototype-of.js.default: 8   0x7fba55 bool JSC::DFG::runAndLog&lt;JSC::DFG::FixupPhase&gt;(JSC::DFG::FixupPhase&amp;)
stress/dfg-object-prototype-of.js.default: 9   0x7f949c bool JSC::DFG::runPhase&lt;JSC::DFG::FixupPhase&gt;(JSC::DFG::Graph&amp;)
stress/dfg-object-prototype-of.js.default: 10  0x7f9457 JSC::DFG::performFixup(JSC::DFG::Graph&amp;)
stress/dfg-object-prototype-of.js.default: 11  0x9b9680 JSC::DFG::Plan::compileInThreadImpl()
stress/dfg-object-prototype-of.js.default: 12  0x9b8086 JSC::DFG::Plan::compileInThread(JSC::DFG::ThreadData*)
stress/dfg-object-prototype-of.js.default: 13  0x7f8eb8 JSC::DFG::compileImpl(JSC::VM&amp;, JSC::CodeBlock*, JSC::CodeBlock*, JSC::DFG::CompilationMode, unsigned int, JSC::Operands&lt;JSC::JSValue&gt; const&amp;, WTF::Ref&lt;JSC::DeferredCompilationCallback&gt;&amp;&amp;)
stress/dfg-object-prototype-of.js.default: 14  0x7f88d9 JSC::DFG::compile(JSC::VM&amp;, JSC::CodeBlock*, JSC::CodeBlock*, JSC::DFG::CompilationMode, unsigned int, JSC::Operands&lt;JSC::JSValue&gt; const&amp;, WTF::Ref&lt;JSC::DeferredCompilationCallback&gt;&amp;&amp;)
stress/dfg-object-prototype-of.js.default: 15  0xd8a355 operationOptimize
stress/dfg-object-prototype-of.js.default: 16  0x3512bed
stress/dfg-object-prototype-of.js.default: 17  0x35cc10 llint_entry
stress/dfg-object-prototype-of.js.default: 18  0x35cc67 llint_entry
stress/dfg-object-prototype-of.js.default: 19  0x356ff4 vmEntryToJavaScript
stress/dfg-object-prototype-of.js.default: 20  0xd80c58 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
stress/dfg-object-prototype-of.js.default: 21  0xd1c5c5 JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::ExecState*, JSC::JSObject*)
stress/dfg-object-prototype-of.js.default: 22  0xffb742 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
stress/dfg-object-prototype-of.js.default: 23  0x142d7f runWithOptions(GlobalObject*, CommandLine&amp;)
stress/dfg-object-prototype-of.js.default: 24  0x105cec jscmain(int, char**)::$_3::operator()(JSC::VM&amp;, GlobalObject*) const
stress/dfg-object-prototype-of.js.default: 25  0xeb3bf int runJSC&lt;jscmain(int, char**)::$_3&gt;(CommandLine, bool, jscmain(int, char**)::$_3 const&amp;)
stress/dfg-object-prototype-of.js.default: 26  0xe9b80 jscmain(int, char**)
stress/dfg-object-prototype-of.js.default: 27  0xe9aa7 main
stress/dfg-object-prototype-of.js.default: 28  0xa74eb711 start
stress/dfg-object-prototype-of.js.default: test_script_2717: line 2: 2

https://build.webkit.org/builders/Apple%20High%20Sierra%2032-bit%20JSC%20%28BuildAndTest%29/builds/205</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361361</commentid>
    <comment_count>1</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2017-10-17 12:25:53 -0700</bug_when>
    <thetext>Yusuke, I think this is a regression from your change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361471</commentid>
    <comment_count>2</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2017-10-17 16:32:59 -0700</bug_when>
    <thetext>I’ll look into this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361474</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-10-17 16:36:05 -0700</bug_when>
    <thetext>Duping back to original bug

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

    </bug>

</bugzilla>