RESOLVED CONFIGURATION CHANGED 278041
[ Mac Debug WK2 ] workers/worker-to-worker.html is consistently crashing
https://bugs.webkit.org/show_bug.cgi?id=278041
Summary [ Mac Debug WK2 ] workers/worker-to-worker.html is consistently crashing
Robert Jenner
Reported 2024-08-13 13:30:49 PDT
workers/worker-to-worker.html is consistently crashing on WK2 macOS Ventura Debug and later. HISTORY: https://results.webkit.org/?suite=layout-tests&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<JSC::Wasm::OMGIRGenerator>::parseExpression() 6 0x12cb34ed8 JSC::Wasm::FunctionParser<JSC::Wasm::OMGIRGenerator>::parseBody() 7 0x12cac4cec JSC::Wasm::FunctionParser<JSC::Wasm::OMGIRGenerator>::parse() 8 0x12cac8e84 JSC::Wasm::parseAndCompileOMG(JSC::Wasm::CompilationContext&, JSC::Wasm::OptimizingJITCallee&, JSC::Wasm::FunctionData const&, JSC::Wasm::TypeDefinition const&, WTF::Vector<JSC::Wasm::UnlinkedWasmToWasmCall, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, JSC::Wasm::CalleeGroup&, JSC::Wasm::ModuleInformation const&, JSC::MemoryMode, JSC::Wasm::CompilationMode, unsigned int, std::__1::optional<bool>, 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&)::$_0::operator()() const 12 0x12a5bb00c WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() 13 0x12a5d7814 WTF::Function<void ()>::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
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-13 13:31:07 PDT
EWS
Comment 2 2024-08-13 13:39:51 PDT
Test gardening commit 282190@main (20bce1134f43): <https://commits.webkit.org/282190@main> Reviewed commits have been landed. Closing PR #32129 and removing active labels.
Alexey Proskuryakov
Comment 3 2024-08-14 17:11:37 PDT
This test doesn't use WASM, so the issue must be caused by a preceding test that we should skip.
Mark Lam
Comment 4 2024-08-15 09:33:28 PDT
Alexey Proskuryakov
Comment 5 2024-08-15 10:07:38 PDT
Robert suspects that this was fixed by 282247@main. Still need to revert the gardening commit, of course.
Mark Lam
Comment 6 2024-08-15 10:12:49 PDT
(In reply to Alexey Proskuryakov from comment #5) > Robert suspects that this was fixed by 282247@main. Still need to revert the > 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.
EWS
Comment 7 2024-08-15 10:24:02 PDT
Test gardening commit 282295@main (d7a3f89ea3cd): <https://commits.webkit.org/282295@main> Reviewed commits have been landed. Closing PR #32248 and removing active labels.
Alexey Proskuryakov
Comment 8 2024-08-15 11:09:53 PDT
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's usually a problem in itself that navigating away doesn't entirely stop all background WebKit code for it.
Note You need to log in before you can comment on or make changes to this bug.