<?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>278132</bug_id>
          
          <creation_ts>2024-08-14 16:27:51 -0700</creation_ts>
          <short_desc>REGRESSION(281900@main?): [ macOS Debug ] workers/wasm-references.html is a flaky crash</short_desc>
          <delta_ts>2024-08-15 14:36:18 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=278041</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="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darbinyan</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2052850</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2024-08-14 16:27:51 -0700</bug_when>
    <thetext>The following test is flaky crash on Sonoma Debug starting from 281900@main.

workers/wasm-references.html


Crash logs:
stderr:
ASSERTION FAILED: ((opcode &amp; (1 &lt;&lt; 24)) - 1) == opcode
./wasm/WasmOpcodeOrigin.h(56) : JSC::Wasm::OpcodeOrigin::OpcodeOrigin(JSC::Wasm::OpType, uint32_t, size_t)
1   0x11db53b5c JSC::Wasm::OpcodeOrigin::OpcodeOrigin(JSC::Wasm::OpType, unsigned int, unsigned long)
2   0x11db383e8 JSC::Wasm::OpcodeOrigin::OpcodeOrigin(JSC::Wasm::OpType, unsigned int, unsigned long)
3   0x11db11bb0 JSC::Wasm::OMGIRGenerator::origin()
4   0x11db17a50 JSC::Wasm::OMGIRGenerator::addTableFill(unsigned int, JSC::B3::Variable*, JSC::B3::Variable*, JSC::B3::Variable*)
5   0x11dbb1c8c JSC::Wasm::FunctionParser&lt;JSC::Wasm::OMGIRGenerator&gt;::parseExpression()
6   0x11dba309c JSC::Wasm::FunctionParser&lt;JSC::Wasm::OMGIRGenerator&gt;::parseBody()
7   0x11db3460c JSC::Wasm::FunctionParser&lt;JSC::Wasm::OMGIRGenerator&gt;::parse()
8   0x11db38770 JSC::Wasm::parseAndCompileOMG(JSC::Wasm::CompilationContext&amp;, JSC::Wasm::OptimizingJITCallee&amp;, JSC::Wasm::FunctionData const&amp;, JSC::Wasm::TypeDefinition const&amp;, WTF::Vector&lt;JSC::Wasm::UnlinkedWasmToWasmCall, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, JSC::Wasm::CalleeGroup&amp;, JSC::Wasm::ModuleInformation const&amp;, JSC::MemoryMode, JSC::Wasm::CompilationMode, unsigned int, std::__1::optional&lt;bool&gt;, unsigned int, JSC::Wasm::TierUpCount*)
9   0x11dbfa844 JSC::Wasm::OMGPlan::work(JSC::Wasm::Plan::CompilationEffort)
10  0x11dc90690 JSC::Wasm::Worklist::Thread::work()
11  0x11b689450 WTF::AutomaticThread::start(WTF::AbstractLocker const&amp;)::$_0::operator()() const
12  0x11b689038 WTF::Detail::CallableWrapper&lt;WTF::AutomaticThread::start(WTF::AbstractLocker const&amp;)::$_0, void&gt;::call()
13  0x11b6a37f8 WTF::Function&lt;void ()&gt;::operator()() const
14  0x11b7c7fb0 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
15  0x11b7d478c WTF::wtfThreadEntryPoint(void*)
16  0x18aa5bfa8 _pthread_start
17  0x18aa56da0 thread_start

History:
https://results.webkit.org/?platform=ios&amp;platform=mac&amp;style=debug&amp;suite=layout-tests&amp;test=workers%2Fwasm-references.html

Test Result: 
https://build.webkit.org/results/Apple-Ventura-Debug-AppleSilicon-WK1-Tests/281900@main%20(7127)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052851</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-14 16:32:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/133888901&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052853</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2024-08-14 16:44:26 -0700</bug_when>
    <thetext>The backtrace looks very similar to https://bugs.webkit.org/show_bug.cgi?id=278041</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053109</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-08-15 14:36:18 -0700</bug_when>
    <thetext>Likely fixed in https://commits.webkit.org/282247@main</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>