http/wpt/fetch/navigation-post-to-get-origin.html Is a flaky crash on macOS wk1 Debug. History: https://results.webkit.org/?suite=layout-tests&test=http%2Fwpt%2Ffetch%2Fnavigation-post-to-get-origin.html Stderr: 11 0x138fe4a13 WTF::Detail::CallableWrapper<WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData(unsigned char const*, int)::$_7, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) 12 0x137826fba WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const 13 0x1378153bd WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) 14 0x13a56d4f0 WebCore::WorkerRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) 15 0x13a56cb07 WebCore::WorkerRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&, WebCore::WorkerRunLoop::WaitMode) 16 0x13a56b7a8 WebCore::WorkerRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*) 17 0x13a56b748 WebCore::WorkerOrWorkletThread::runEventLoop() 18 0x13a5215a4 WebCore::DedicatedWorkerThread::runEventLoop() 19 0x13a56ba00 WebCore::WorkerOrWorkletThread::workerOrWorkletThread() 20 0x13a58c31b WebCore::WorkerThread::createThread()::$_14::operator()() const 21 0x13a58c2ae WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_14, void>::call() 22 0x10f4120c2 WTF::Function<void ()>::operator()() const 23 0x10f4e5528 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) 24 0x10f4f34d8 WTF::wtfThreadEntryPoint(void*) 25 0x7fff73eb5109 _pthread_start 26 0x7fff73eb0b8b thread_start
<rdar://problem/83449958>
Marked test expectations: https://trac.webkit.org/changeset/282967/webkit
Created attachment 439063 [details] Crash log
Thread 32 Crashed:: WebCore: Worker 0 com.apple.JavaScriptCore 0x000000010f3e49de WTFCrash + 14 (Assertions.cpp:321) 1 com.apple.WebCore 0x0000000134ff1d7b WTFCrashWithInfo(int, char const*, char const*, int) + 27 2 com.apple.WebCore 0x0000000137b35015 WebCore::invokeReadableStreamDefaultControllerFunction(JSC::JSGlobalObject&, JSC::Identifier const&, JSC::MarkedArgumentBufferWithSize<8ul> const&) + 213 (ReadableStreamDefaultController.cpp:48) 3 com.apple.WebCore 0x0000000137b35569 WebCore::ReadableStreamDefaultController::enqueue(JSC::JSValue) + 265 (ReadableStreamDefaultController.cpp:106) 4 com.apple.WebCore 0x0000000137b3580a WebCore::ReadableStreamDefaultController::enqueue(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&&) + 618 (ReadableStreamDefaultController.cpp:128) 5 com.apple.WebCore 0x000000013702b155 WebCore::FetchBodySource::enqueue(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&&) + 53 (FetchBodySource.h:44) 6 com.apple.WebCore 0x000000013705d2d9 WebCore::FetchResponse::BodyLoader::didReceiveData(unsigned char const*, unsigned long) + 617 (FetchResponse.cpp:373) 7 com.apple.WebCore 0x00000001370577a7 WebCore::FetchLoader::didReceiveData(unsigned char const*, int) + 71 (FetchLoader.cpp:154) 8 com.apple.WebCore 0x0000000138fe4c66 WebCore::ThreadableLoaderClientWrapper::didReceiveData(unsigned char const*, int) + 70 (ThreadableLoaderClientWrapper.h:73) 9 com.apple.WebCore 0x0000000138fe4ba3 WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData(unsigned char const*, int)::$_7::operator()(WebCore::ScriptExecutionContext&) + 211 (WorkerThreadableLoader.cpp:240) 10 com.apple.WebCore 0x0000000138fe4a13 WTF::Detail::CallableWrapper<WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData(unsigned char const*, int)::$_7, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) + 51 (Function.h:53) 11 com.apple.WebCore 0x0000000137826fba WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const + 154 (Function.h:82) 12 com.apple.WebCore 0x00000001378153bd WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) + 29 (ScriptExecutionContext.h:210) 13 com.apple.WebCore 0x000000013a56d4f0 WebCore::WorkerRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) + 128 (WorkerRunLoop.cpp:271)
I was not able to reproduce the crash locally on BigSur using run-webkit-tests http/wpt/fetch/navigation-post-to-get-origin.html --debug -1 --iterations 100 --exit-after-n-crashes-or-timeouts 1 -f
This is no longer crashing for quite some time according dashboard.
Committed r294386 (250683@main): <https://commits.webkit.org/250683@main> Reviewed commits have been landed. Closing PR #717 and removing active labels.