<?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>244061</bug_id>
          
          <creation_ts>2022-08-17 14:37:16 -0700</creation_ts>
          <short_desc>REGRESSION (253491@main): [ macOS Debug ] Nine wasm.yaml/wasm/gc/rec.js tests are consistent failures</short_desc>
          <delta_ts>2022-08-17 16:22:01 -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>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=239666</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=244062</see_also>
          <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="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>asumu</cc>
    
    <cc>ross.kirsling</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1892058</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-08-17 14:37:16 -0700</bug_when>
    <thetext>Description:
wasm.yaml/wasm/gc/rec.js.default-wasm
wasm.yaml/wasm/gc/rec.js.wasm-air
wasm.yaml/wasm/gc/rec.js.wasm-b3
wasm.yaml/wasm/gc/rec.js.wasm-bbqb3
wasm.yaml/wasm/gc/rec.js.wasm-eager
wasm.yaml/wasm/gc/rec.js.wasm-eager-jettison
wasm.yaml/wasm/gc/rec.js.wasm-no-cjit-yes-tls-context
wasm.yaml/wasm/gc/rec.js.wasm-no-tls-context
wasm.yaml/wasm/gc/rec.js.wasm-slow-memory

The history shows the regression at 253503@main.

https://build.webkit.org/#/builders/378/builds/1540/steps/12/logs/stdio 

History:
https://results.webkit.org/?suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;suite=javascriptcore-tests&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.default-wasm&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-air&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-b3&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-bbqb3&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-eager&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-eager-jettison&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-no-cjit-yes-tls-context&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-no-tls-context&amp;test=wasm.yaml%2Fwasm%2Fgc%2Frec.js.wasm-slow-memory

wasm.yaml/wasm/gc/rec.js.default-wasm

SHOULD NEVER BE REACHED
wasm/WasmTypeDefinition.cpp(278) : const JSC::Wasm::TypeDefinition &amp;JSC::Wasm::TypeDefinition::replacePlaceholders(JSC::Wasm::TypeIndex) const
1   0x112c6988c WTFCrash
2   0x113273c20 JSC::IntlListFormat::initializeListFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)
3   0x114f222ec JSC::Wasm::TypeDefinition::replacePlaceholders(unsigned long) const
4   0x114f22568 JSC::Wasm::TypeDefinition::expand() const
5   0x114dfd190 JSC::Wasm::FunctionParser&lt;JSC::Wasm::LLIntGenerator&gt;::FunctionParser(JSC::Wasm::LLIntGenerator&amp;, unsigned char const*, unsigned long, JSC::Wasm::TypeDefinition const&amp;, JSC::Wasm::ModuleInformation const&amp;)
6   0x114dc1c2c JSC::Wasm::FunctionParser&lt;JSC::Wasm::LLIntGenerator&gt;::FunctionParser(JSC::Wasm::LLIntGenerator&amp;, unsigned char const*, unsigned long, JSC::Wasm::TypeDefinition const&amp;, JSC::Wasm::ModuleInformation const&amp;)
7   0x114dc1ac8 JSC::Wasm::parseAndCompileBytecode(unsigned char const*, unsigned long, JSC::Wasm::TypeDefinition const&amp;, JSC::Wasm::ModuleInformation&amp;, unsigned int)
8   0x114dd688c JSC::Wasm::LLIntPlan::compileFunction(unsigned int)
9   0x114db390c JSC::Wasm::EntryPlan::compileFunctions(JSC::Wasm::Plan::CompilationEffort)
10  0x114dd7de4 JSC::Wasm::LLIntPlan::work(JSC::Wasm::Plan::CompilationEffort)
11  0x114f2bedc JSC::Wasm::Worklist::Thread::work()
12  0x112c7fbd0 WTF::AutomaticThread::start(WTF::AbstractLocker const&amp;)::$_0::operator()() const
13  0x112c7f7c8 WTF::Detail::CallableWrapper&lt;WTF::AutomaticThread::start(WTF::AbstractLocker const&amp;)::$_0, void&gt;::call()
14  0x112c96f28 WTF::Function&lt;void ()&gt;::operator()() const
15  0x112d81830 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
16  0x112d90148 WTF::wtfThreadEntryPoint(void*)
17  0x1826f626c _pthread_start
18  0x1826f108c thread_start
test_script_76687: line 2: 34768 Segmentation fault: 11  ( &quot;$@&quot; ../../../../.vm/JavaScriptCore.framework/Helpers/jsc --useFTLJIT\=false --useFunctionDotArguments\=true --validateExceptionChecks\=true --useDollarVM\=true --maxPerThreadStackUsage\=1572864 --useFTLJIT\=true -m --useWebAssemblyTypedFunctionReferences\=true --useWebAssemblyGC\=true rec.js )
ERROR: Unexpected exit code: 139
FAIL: wasm.yaml/wasm/gc/rec.js.default-wasm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892059</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-17 14:37:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/98800203&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892066</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-08-17 15:20:16 -0700</bug_when>
    <thetext>Upon further review the regression is more likely to be 253491@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892083</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-08-17 16:20:33 -0700</bug_when>
    <thetext>REGRESSION(253491@main): Revert WASM GC patch
Committed 253541@main (be774cf81a91): &lt;https://commits.webkit.org/253541@main&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>