Bug 315048

Summary: REGRESSION(313302@main): [macOS]: 2 tests in imported/w3c/web-platform-tests/dom/nodes/moveBefore are flaky crashes
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: rniwa, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Marta Darbinyan
Reported 2026-05-18 14:27:41 PDT
The following tests are flaky crashes on both macOS Release and Debug after 313302@main. imported/w3c/web-platform-tests/dom/nodes/moveBefore/style-applies.html imported/w3c/web-platform-tests/dom/nodes/moveBefore/throws-exception.html Errors: com.apple.JavaScriptCore 0x10792852c void JSC::MarkedBlock::Handle::finishSweepKnowingHeapCellType<JSC::JSDestructibleObjectDestroyFunc>(JSC::FreeList*, JSC::JSDestructibleObjectDestroyFunc const&)::'lambda'()::operator()() const 5 com.apple.JavaScriptCore 0x1079208cc void JSC::MarkedBlock::Handle::finishSweepKnowingHeapCellType<JSC::JSDestructibleObjectDestroyFunc>(JSC::FreeList*, JSC::JSDestructibleObjectDestroyFunc const&) 6 com.apple.JavaScriptCore 0x1079207ac JSC::JSDestructibleObjectHeapCellType::finishSweep(JSC::MarkedBlock::Handle&, JSC::FreeList*) const 7 com.apple.JavaScriptCore 0x1075fd53c JSC::MarkedBlock::Handle::sweep(JSC::FreeList*) 8 com.apple.JavaScriptCore 0x1075ef398 JSC::IncrementalSweeper::doWorkUntil(JSC::VM&, WTF::MonotonicTime) 9 com.apple.JavaScriptCore 0x107c86d4c JSC::VM::performOpportunisticallyScheduledTasks(WTF::MonotonicTime, WTF::OptionSet<JSC::VM::SchedulerOptions, (WTF::ConcurrencyTag)0>) 10 com.apple.WebCore 0x11b5b67e4 WebCore::Page::performOpportunisticallyScheduledTasks(WTF::MonotonicTime) 11 com.apple.WebCore 0x11cd9b6e0 WebCore::OpportunisticTaskScheduler::runLoopObserverFired() 12 com.apple.WebCore 0x11cd9c444 WTF::Detail::CallableWrapper<WebCore::OpportunisticTaskScheduler::OpportunisticTaskScheduler(WebCore::Page&)::$_0, void>::call() 13 com.apple.CoreFoundation 0x18ba95e28 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (/AppleInternal/Library/BuildRoots/4~CBlGugABKDty_5edG4CtU6MHKiRfYY-Ccx9KkSM/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:1802) 14 com.apple.CoreFoundation 0x18ba95d10 __CFRunLoopDoObservers + 536 (/AppleInternal/Library/BuildRoots/4~CBlGugABKDty_5edG4CtU6MHKiRfYY-Ccx9KkSM/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:1915) 15 com.apple.CoreFoundation 0x18ba94a34 CFRunLoopRunSpecific + 648 (/AppleInternal/Library/BuildRoots/4~CBlGugABKDty_5edG4CtU6MHKiRfYY-Ccx9KkSM/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:3437) 16 com.apple.Foundation 0x18d064c78 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (/AppleInternal/Library/BuildRoots/4~CBp_ugDCD1ZixlL_r009GH_a7ecCJAKs2QildTo/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation/Soil.subproj/NSRunLoop.m:375) 17 com.apple.Foundation 0x18d0dc79c -[NSRunLoop(NSRunLoop) run] + 64 (/AppleInternal/Library/BuildRoots/4~CBp_ugDCD1ZixlL_r009GH_a7ecCJAKs2QildTo/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation/Soil.subproj/NSRunLoop.m:400) 18 libxpc.dylib 0x18b6bc9c8 _xpc_objc_main + 700 (/AppleInternal/Library/BuildRoots/4~B_mcugDfntfruSYU7gkna6jbd84yhdi2s1mRhSc/Library/Caches/com.apple.xbs/Sources/libxpc/src/main.m:267) 19 libxpc.dylib 0x18b6ccfc8 _xpc_main + 40 (/AppleInternal/Library/BuildRoots/4~B_mcugDfntfruSYU7gkna6jbd84yhdi2s1mRhSc/Library/Caches/com.apple.xbs/Sources/libxpc/src/init.c:1293) 20 libxpc.dylib 0x18b6bc568 xpc_main + 64 (/AppleInternal/Library/BuildRoots/4~B_mcugDfntfruSYU7gkna6jbd84yhdi2s1mRhSc/Library/Caches/com.apple.xbs/Sources/libxpc/src/init.c:1376) 21 com.apple.WebKit 0x10a425c20 WebKit::XPCServiceMain(int, char const**) 22 dyld 0x18b60ab98 start + 6076 (/AppleInternal/Library/BuildRoots/4~CBqEugCOr-D1KLuFUEAO-KWeTKGiIgcvPt3mmJc/Library/Caches/com.apple.xbs/Sources/dyld/dyld/dyldMain.cpp:1450) Thread 1 (0x884112): 0 libsystem_pthread.dylib 0x18b9a6b6c start_wqthread + 0 Thread 2 (0x884114): 0 libsystem_pthread.dylib 0x18b9a6b6c start_wqthread + 0 Thread 3 (0x884115) name: JavaScriptCore libpas scavenger: 0 libsystem_kernel.dylib 0x18b96d3cc __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b9ac09c _pthread_psynch_cond_wait + 92 (/AppleInternal/Library/BuildRoots/4~B6CTugDzGsQ6UOW8JS63INnA1VlKZOPeME5MfO0/Library/Caches/com.apple.xbs/Sources/libpthread/src/pthread_cond.c:636) [inlined] 2 libsystem_pthread.dylib 0x18b9ac09c _pthread_cond_wait + 984 (/AppleInternal/Library/BuildRoots/4~B6CTugDzGsQ6UOW8JS63INnA1VlKZOPeME5MfO0/Library/Caches/com.apple.xbs/Sources/libpthread/src/pthread_cond.c:862) 3 com.apple.JavaScriptCore 0x106bc0304 scavenger_thread_main 4 libsystem_pthread.dylib 0x18b9abbc8 _pthread_start + 136 (/AppleInternal/Library/BuildRoots/4~B6CTugDzGsQ6UOW8JS63INnA1VlKZOPeME5MfO0/Library/Caches/com.apple.xbs/Sources/libpthread/src/pthread.c:931) 5 libsystem_pthread.dylib 0x18b9a6b80 thread_start + 8 Test history: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fdom%2Fnodes%2FmoveBefore%2Fstyle-applies.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fdom%2Fnodes%2FmoveBefore%2Fthrows-exception.html Test results: https://ews-build.webkit.org/#/builders/169/builds/25922
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-18 14:31:52 PDT
EWS
Comment 2 2026-05-18 14:51:21 PDT
Test gardening commit 313442@main (a0ebaaa0898b): <https://commits.webkit.org/313442@main> Reviewed commits have been landed. Closing PR #65133 and removing active labels.
Alexey Proskuryakov
Comment 3 2026-05-19 11:30:00 PDT
*** This bug has been marked as a duplicate of bug 315034 ***
Alexey Proskuryakov
Comment 4 2026-05-19 11:30:58 PDT
Duped, but we still need to undo the test gardening.
Note You need to log in before you can comment on or make changes to this bug.