Bug 230780

Summary: fast/workers/use-machine-stack.html hits a flaky assertion failure
Product: WebKit Reporter: Eric Hutchison <ehutchison>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, ehutchison, fpizlo, keith_miller, mark.lam, saam, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Crash Log none

Eric Hutchison
Reported 2021-09-24 17:32:45 PDT
Created attachment 439220 [details] Crash Log fast/workers/use-machine-stack.html is a flaky crash on Catalina and BigSur Debug History: https://results.webkit.org/?suite=layout-tests&test=fast/workers/use-machine-stack.html Results: https://ews-build.webkit.org/#/builders/56/builds/15954; https://ews-build.s3-us-west-2.amazonaws.com/macOS-Catalina-Debug-WK1-Tests-EWS/r439137-15954/results.html Crash Log (attached): https://ews-build.s3-us-west-2.amazonaws.com/macOS-Catalina-Debug-WK1-Tests-EWS/r439137-15954/fast/workers/use-machine-stack-crash-log.txt Thread 27 Crashed:: WebCore: Worker 0 com.apple.JavaScriptCore 0x0000000108e7901e WTFCrash + 14 (Assertions.cpp:321) 1 com.apple.JavaScriptCore 0x00000001097b351b WTFCrashWithInfo(int, char const*, char const*, int) + 27 2 com.apple.JavaScriptCore 0x000000010ae1c442 JSC::VMTraps::handleTraps(unsigned int) + 1170 3 com.apple.JavaScriptCore 0x000000010ae1bf91 JSC::VM::hasExceptionsAfterHandlingTraps() + 81 4 com.apple.JavaScriptCore 0x000000010a4f663f JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 783 5 com.apple.JavaScriptCore 0x000000010a8e4b3d JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 221 6 com.apple.JavaScriptCore 0x000000010a8e4c1f JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 207 7 com.apple.JavaScriptCore 0x000000010a8e4f02 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 130 8 com.apple.WebCore 0x000000012cf5b02e WebCore::JSExecState::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 110 9 com.apple.WebCore 0x000000012cf7b681 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 2193 10 com.apple.WebCore 0x000000012d7b7af7 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener> >, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase) + 1063 11 com.apple.WebCore 0x000000012d7b7554 WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) + 356 12 com.apple.WebCore 0x000000012d7b73a5 WebCore::EventTarget::dispatchEvent(WebCore::Event&) + 357 13 com.apple.WebCore 0x000000012d803521 WebCore::MessagePort::dispatchEvent(WebCore::Event&) + 129 14 com.apple.WebCore 0x000000012d5ed643 WebCore::ActiveDOMObject::queueTaskToDispatchEventInternal(WebCore::EventTarget&, WebCore::TaskSource, WTF::Ref<WebCore::Event, WTF::RawPtrTraits<WebCore::Event> >&&)::$_2::operator()() const + 67 15 com.apple.WebCore 0x000000012d5ed4ce WTF::Detail::CallableWrapper<WebCore::ActiveDOMObject::queueTaskToDispatchEventInternal(WebCore::EventTarget&, WebCore::TaskSource, WTF::Ref<WebCore::Event, WTF::RawPtrTraits<WebCore::Event> >&&)::$_2, void>::call() + 30 16 com.apple.WebCore 0x000000012a511e32 WTF::Function<void ()>::operator()() const + 130 (Function.h:82) 17 com.apple.WebCore 0x000000012d5edc6c WebCore::ActiveDOMObjectEventDispatchTask::execute() + 60 18 com.apple.WebCore 0x000000012d7b0f75 WebCore::EventLoop::run() + 373 19 com.apple.WebCore 0x000000012fa62a91 WebCore::WorkerEventLoop::scheduleToRun()::$_0::operator()(WebCore::ScriptExecutionContext&) const + 33 20 com.apple.WebCore 0x000000012fa62893 WTF::Detail::CallableWrapper<WebCore::WorkerEventLoop::scheduleToRun()::$_0, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) + 51 21 com.apple.WebCore 0x000000012cd17faa WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const + 154 22 com.apple.WebCore 0x000000012cd063ad WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) + 29 23 com.apple.WebCore 0x000000012fa81ba0 WebCore::WorkerRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) + 128 24 com.apple.WebCore 0x000000012fa811b7 WebCore::WorkerRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&, WebCore::WorkerRunLoop::WaitMode) + 871 25 com.apple.WebCore 0x000000012fa7fe58 WebCore::WorkerRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*) + 88 26 com.apple.WebCore 0x000000012fa7fdf8 WebCore::WorkerOrWorkletThread::runEventLoop() + 56 27 com.apple.WebCore 0x000000012fa35c54 WebCore::DedicatedWorkerThread::runEventLoop() + 84 28 com.apple.WebCore 0x000000012fa800b0 WebCore::WorkerOrWorkletThread::workerOrWorkletThread() + 544 29 com.apple.WebCore 0x000000012faa09cb WebCore::WorkerThread::createThread()::$_14::operator()() const + 27 30 com.apple.WebCore 0x000000012faa095e WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_14, void>::call() + 30 31 com.apple.JavaScriptCore 0x0000000108ea6572 WTF::Function<void ()>::operator()() const + 130 (Function.h:82) 32 com.apple.JavaScriptCore 0x0000000108f79a48 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 424 (Threading.cpp:188) 33 com.apple.JavaScriptCore 0x0000000108f879f8 WTF::wtfThreadEntryPoint(void*) + 24 (ThreadingPOSIX.cpp:241) 34 libsystem_pthread.dylib 0x00007fff6d6e0109 _pthread_start + 148 35 libsystem_pthread.dylib 0x00007fff6d6dbb8b thread_start + 15 Thread 27 crashed with X86 Thread State (64-bit): rax: 0x00000000bbadbeef rbx: 0x0000700003c05000 rcx: 0x000000010be90580 rdx: 0xc1399b9d48a600be rdi: 0x0000700003c03d50 rsi: 0x0000000000000000 rbp: 0x0000700003c03ed0 rsp: 0x0000700003c03ed0 r8: 0x00007fd6f4800000 r9: 0x0000000106ea53e0 r10: 0x0000000000000040 r11: 0x000000000000003b r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 rip: 0x0000000108e7901e rfl: 0x0000000000010206 cr2: 0x00000000bbadbeef
Attachments
Crash Log (148.58 KB, text/plain)
2021-09-24 17:32 PDT, Eric Hutchison
no flags
Radar WebKit Bug Importer
Comment 1 2021-09-24 17:37:09 PDT
Eric Hutchison
Comment 2 2021-09-24 17:41:05 PDT
Alexey Proskuryakov
Comment 3 2021-09-27 13:19:04 PDT
Not too frequent, but not particularly rare either.
Note You need to log in before you can comment on or make changes to this bug.