<?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>278041</bug_id>
          
          <creation_ts>2024-08-13 13:30:49 -0700</creation_ts>
          <short_desc>[ Mac Debug WK2 ] workers/worker-to-worker.html is consistently crashing</short_desc>
          <delta_ts>2024-08-15 11:09:53 -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>WebAssembly</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=278132</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>d_degazio</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2052468</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2024-08-13 13:30:49 -0700</bug_when>
    <thetext>workers/worker-to-worker.html

is consistently crashing on WK2 macOS Ventura Debug and later.

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=workers%2Fworker-to-worker.html


CRASH URL:
https://build.webkit.org/results/Apple-Sonoma-Debug-AppleSilicon-WK2-Tests/282173@main%20(3717)/workers/worker-to-worker-crash-log.txt


CRASH STDERR:
1   0x12cae4af8 JSC::Wasm::OpcodeOrigin::OpcodeOrigin(JSC::Wasm::OpType, unsigned int, unsigned long)
2   0x12cac8afc JSC::Wasm::OpcodeOrigin::OpcodeOrigin(JSC::Wasm::OpType, unsigned int, unsigned long)
3   0x12caa2270 JSC::Wasm::OMGIRGenerator::origin()
4   0x12caa8158 JSC::Wasm::OMGIRGenerator::addTableFill(unsigned int, JSC::B3::Variable*, JSC::B3::Variable*, JSC::B3::Variable*)
5   0x12cb43adc JSC::Wasm::FunctionParser&lt;JSC::Wasm::OMGIRGenerator&gt;::parseExpression()
6   0x12cb34ed8 JSC::Wasm::FunctionParser&lt;JSC::Wasm::OMGIRGenerator&gt;::parseBody()
7   0x12cac4cec JSC::Wasm::FunctionParser&lt;JSC::Wasm::OMGIRGenerator&gt;::parse()
8   0x12cac8e84 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   0x12cb8c7dc JSC::Wasm::OMGPlan::work(JSC::Wasm::Plan::CompilationEffort)
10  0x12cc2a3f0 JSC::Wasm::Worklist::Thread::work()
11  0x12a5bb45c WTF::AutomaticThread::start(WTF::AbstractLocker const&amp;)::$_0::operator()() const
12  0x12a5bb00c WTF::Detail::CallableWrapper&lt;WTF::AutomaticThread::start(WTF::AbstractLocker const&amp;)::$_0, void&gt;::call()
13  0x12a5d7814 WTF::Function&lt;void ()&gt;::operator()() const
14  0x12a70d718 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
15  0x12a719f98 WTF::wtfThreadEntryPoint(void*)
16  0x19c48af94 _pthread_start
17  0x19c485d34 thread_start
com.apple.WebKit.WebContent.Development terminated (pid 16806) for reason: crash
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052469</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-13 13:31:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/133784222&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052471</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-13 13:39:51 -0700</bug_when>
    <thetext>Test gardening commit 282190@main (20bce1134f43): &lt;https://commits.webkit.org/282190@main&gt;

Reviewed commits have been landed. Closing PR #32129 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052862</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-08-14 17:11:37 -0700</bug_when>
    <thetext>This test doesn&apos;t use WASM, so the issue must be caused by a preceding test that we should skip.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053035</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2024-08-15 09:33:28 -0700</bug_when>
    <thetext>According to https://results.webkit.org/?suite=layout-tests&amp;test=workers%2Fworker-to-worker.html, the crashes have stopped manifesting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053042</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-08-15 10:07:38 -0700</bug_when>
    <thetext>Robert suspects that this was fixed by 282247@main. Still need to revert the gardening commit, of course.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053045</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2024-08-15 10:12:49 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #5)
&gt; Robert suspects that this was fixed by 282247@main. Still need to revert the
&gt; gardening commit, of course.

282247@main is Wasm specific.  Since this test does not exercise Wasm at all, it cannot possibly be caused by 282247@main.  The original crash trace may be erroneous and from a different test failing due to the bug that 282247@main fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053048</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-15 10:24:02 -0700</bug_when>
    <thetext>Test gardening commit 282295@main (d7a3f89ea3cd): &lt;https://commits.webkit.org/282295@main&gt;

Reviewed commits have been landed. Closing PR #32248 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053061</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-08-15 11:09:53 -0700</bug_when>
    <thetext>As discussed in Slack, the stack trace is correct, and it is not uncommon that some async processing leaks from one test to another. It&apos;s usually a problem in itself that navigating away doesn&apos;t entirely stop all background WebKit code for it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>