<?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>240023</bug_id>
          
          <creation_ts>2022-05-03 10:11:46 -0700</creation_ts>
          <short_desc>REGRESSION (r293703): 358 JSC tests failing</short_desc>
          <delta_ts>2022-05-03 12:16:16 -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>FIXED</resolution>
          
          
          <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="Truitt Savell">tsavell</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>mark.lam</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1866170</commentid>
    <comment_count>0</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2022-05-03 10:11:46 -0700</bug_when>
    <thetext>Somewhere between 250180@main - 250200@main it seems that 358 JSC tests began failing constantly on Mac 
Most of these are from the stress/ directory, with some in microbenchmarks/ and v8-v6/

Build
https://build.webkit.org/#/builders/378/builds/1003

history example:
https://results.webkit.org/?suite=javascriptcore-tests&amp;test=microbenchmarks%2Fempty-string-plus-int.js.bytecode-cache</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866171</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-03 10:12:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/92676663&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866172</commentid>
    <comment_count>2</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2022-05-03 10:14:54 -0700</bug_when>
    <thetext>stress/for-in-string.js.bytecode-cache: ASSERTION FAILED: m_isConstructed
stress/for-in-string.js.bytecode-cache: /Users/yusukesuzuki/dev/OpenSource/WebKitBuild/Debug/usr/local/include/wtf/NeverDestroyed.h(152) : WTF::LazyNeverDestroyed::PointerType WTF::LazyNeverDestroyed&lt;const WTF::AtomString&gt;::storagePointerWithoutAccessCheck() const [T = const WTF::AtomString, AccessTraits = WTF::AnyThreadsAccessTraits]
stress/for-in-string.js.bytecode-cache: 1   0x10ddccb04 WTFCrash
stress/for-in-string.js.bytecode-cache: 2   0x10e3e8434 WTFCrashWithInfo(int, char const*, char const*, int)
stress/for-in-string.js.bytecode-cache: 3   0x10f813f50 WTF::LazyNeverDestroyed&lt;WTF::AtomString const, WTF::AnyThreadsAccessTraits&gt;::storagePointerWithoutAccessCheck() const
stress/for-in-string.js.bytecode-cache: 4   0x10f813ec8 WTF::LazyNeverDestroyed&lt;WTF::AtomString const, WTF::AnyThreadsAccessTraits&gt;::storagePointer() const
stress/for-in-string.js.bytecode-cache: 5   0x10f813e94 WTF::LazyNeverDestroyed&lt;WTF::AtomString const, WTF::AnyThreadsAccessTraits&gt;::get()
stress/for-in-string.js.bytecode-cache: 6   0x10f813590 WTF::emptyAtom()
stress/for-in-string.js.bytecode-cache:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866173</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-05-03 10:15:57 -0700</bug_when>
    <thetext>microbenchmarks/string-out-of-bounds.js.bytecode-cache: ASSERTION FAILED: m_isConstructed
microbenchmarks/string-out-of-bounds.js.bytecode-cache: /Volumes/Data/worker/Apple-Monterey-Debug-Build/build/Source/WTF/wtf/NeverDestroyed.h(152) : WTF::LazyNeverDestroyed::PointerType WTF::LazyNeverDestroyed&lt;const WTF::AtomString&gt;::storagePointerWithoutAccessCheck() const [T = const WTF::AtomString, AccessTraits = WTF::AnyThreadsAccessTraits]
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 1   0x11476ce70 WTFCrash
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 2   0x114d79a30 void JSC::IntlNumberFormat::visitChildrenImpl&lt;JSC::AbstractSlotVisitor&gt;(JSC::JSCell*, JSC::AbstractSlotVisitor&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 3   0x114773bf0 WTF::LazyNeverDestroyed&lt;WTF::AtomString const, WTF::AnyThreadsAccessTraits&gt;::storagePointerWithoutAccessCheck() const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 4   0x11617f1e4 WTF::LazyNeverDestroyed&lt;WTF::AtomString const, WTF::AnyThreadsAccessTraits&gt;::storagePointer() const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 5   0x114773b70 WTF::LazyNeverDestroyed&lt;WTF::AtomString const, WTF::AnyThreadsAccessTraits&gt;::get()
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 6   0x114773a60 WTF::emptyAtom()
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 7   0x11617e690 JSC::CachedUniquedStringImplBase&lt;WTF::UniquedStringImpl&gt;::decode(JSC::Decoder&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 8   0x1161c5940 JSC::CachedJSValue::decode(JSC::Decoder&amp;, JSC::WriteBarrier&lt;JSC::Unknown, WTF::RawValueTraits&lt;JSC::Unknown&gt; &gt;&amp;, JSC::JSCell const*) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 9   0x1161c4b6c std::__1::enable_if&lt;!(std::is_same&lt;JSC::CachedJSValue, JSC::SourceTypeImpl&lt;JSC::CachedJSValue, void&gt;::type&gt;::value), void&gt;::type JSC::decode&lt;JSC::CachedJSValue, JSC::UnlinkedCodeBlock*&gt;(JSC::Decoder&amp;, JSC::CachedJSValue const&amp;, JSC::SourceTypeImpl&lt;JSC::CachedJSValue, void&gt;::type&amp;, JSC::UnlinkedCodeBlock*)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 10  0x1161c457c void JSC::CachedVector&lt;JSC::CachedJSValue, 0ul, WTF::CrashOnOverflow, WTF::FastMalloc&gt;::decode&lt;JSC::UnlinkedCodeBlock*, WTF::FixedVector&lt;JSC::WriteBarrier&lt;JSC::Unknown, WTF::RawValueTraits&lt;JSC::Unknown&gt; &gt; &gt; &gt;(JSC::Decoder&amp;, WTF::FixedVector&lt;JSC::WriteBarrier&lt;JSC::Unknown, WTF::RawValueTraits&lt;JSC::Unknown&gt; &gt; &gt;&amp;, JSC::UnlinkedCodeBlock*) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 11  0x1161af728 JSC::CachedCodeBlock&lt;JSC::UnlinkedProgramCodeBlock&gt;::decode(JSC::Decoder&amp;, JSC::UnlinkedCodeBlock&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 12  0x1161af54c JSC::CachedProgramCodeBlock::decode(JSC::Decoder&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 13  0x1161af34c JSC::UnlinkedProgramCodeBlock* JSC::CachedPtr&lt;JSC::CachedProgramCodeBlock, JSC::UnlinkedProgramCodeBlock&gt;::decode&lt;&gt;(JSC::Decoder&amp;, bool&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 14  0x1161ab824 JSC::UnlinkedProgramCodeBlock* JSC::CachedPtr&lt;JSC::CachedProgramCodeBlock, JSC::UnlinkedProgramCodeBlock&gt;::decode&lt;&gt;(JSC::Decoder&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 15  0x116175d08 JSC::CacheEntry&lt;JSC::UnlinkedProgramCodeBlock&gt;::decode(JSC::Decoder&amp;, std::__1::pair&lt;JSC::SourceCodeKey, JSC::UnlinkedProgramCodeBlock*&gt;&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 16  0x116175a78 JSC::GenericCacheEntry::decode(JSC::Decoder&amp;, std::__1::pair&lt;JSC::SourceCodeKey, JSC::UnlinkedCodeBlock*&gt;&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 17  0x116176818 JSC::decodeCodeBlockImpl(JSC::VM&amp;, JSC::SourceCodeKey const&amp;, WTF::Ref&lt;JSC::CachedBytecode, WTF::RawPtrTraits&lt;JSC::CachedBytecode&gt; &gt;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 18  0x1161f0ea0 JSC::UnlinkedProgramCodeBlock* JSC::decodeCodeBlock&lt;JSC::UnlinkedProgramCodeBlock&gt;(JSC::VM&amp;, JSC::SourceCodeKey const&amp;, WTF::Ref&lt;JSC::CachedBytecode, WTF::RawPtrTraits&lt;JSC::CachedBytecode&gt; &gt;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 19  0x1161f0d30 JSC::UnlinkedProgramCodeBlock* JSC::CodeCacheMap::fetchFromDiskImpl&lt;JSC::UnlinkedProgramCodeBlock&gt;(JSC::VM&amp;, JSC::SourceCodeKey const&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 20  0x1161f0988 std::__1::enable_if&lt;(std::is_base_of&lt;JSC::UnlinkedCodeBlock, JSC::UnlinkedProgramCodeBlock&gt;::value) &amp;&amp; (!(std::is_same&lt;JSC::UnlinkedProgramCodeBlock, JSC::UnlinkedEvalCodeBlock&gt;::value)), JSC::UnlinkedProgramCodeBlock*&gt;::type JSC::CodeCacheMap::fetchFromDisk&lt;JSC::UnlinkedProgramCodeBlock&gt;(JSC::VM&amp;, JSC::SourceCodeKey const&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 21  0x1161f052c JSC::UnlinkedProgramCodeBlock* JSC::CodeCacheMap::findCacheAndUpdateAge&lt;JSC::UnlinkedProgramCodeBlock&gt;(JSC::VM&amp;, JSC::SourceCodeKey const&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 22  0x116179950 JSC::UnlinkedProgramCodeBlock* JSC::CodeCache::getUnlinkedGlobalCodeBlock&lt;JSC::UnlinkedProgramCodeBlock, JSC::ProgramExecutable&gt;(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, JSC::JSParserScriptMode, WTF::OptionSet&lt;JSC::CodeGenerationMode&gt;, JSC::ParserError&amp;, JSC::EvalContextType)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 23  0x116179824 JSC::CodeCache::getUnlinkedProgramCodeBlock(JSC::VM&amp;, JSC::ProgramExecutable*, JSC::SourceCode const&amp;, JSC::JSParserStrictMode, WTF::OptionSet&lt;JSC::CodeGenerationMode&gt;, JSC::ParserError&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 24  0x116588178 JSC::ProgramExecutable::initializeGlobalProperties(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSScope*)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 25  0x115d84be8 JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::JSGlobalObject*, JSC::JSObject*)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 26  0x116211528 JSC::evaluate(JSC::JSGlobalObject*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 27  0x10263fe80 runWithOptions(GlobalObject*, CommandLine&amp;, bool&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 28  0x1025f6a98 jscmain(int, char**)::$_9::operator()(JSC::VM&amp;, GlobalObject*, bool&amp;) const
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 29  0x1025c20fc int runJSC&lt;jscmain(int, char**)::$_9&gt;(CommandLine const&amp;, bool, jscmain(int, char**)::$_9 const&amp;)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 30  0x1025bfa44 jscmain(int, char**)
microbenchmarks/string-out-of-bounds.js.bytecode-cache: 31  0x1025bf654 main

Seems like something fails to call AtomString::init() before running JSC tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866174</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-05-03 10:25:21 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/470</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866205</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-03 12:16:13 -0700</bug_when>
    <thetext>Committed r293735 (250223@main): &lt;https://commits.webkit.org/250223@main&gt;

Reviewed commits have been landed. Closing PR #470 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>