Bug 265540

Summary: [macOS wk2 Debug] http/tests/site-isolation/wheel-event-coordinates.html fails every second time it is run
Product: WebKit Reporter: Charlie Wolfe <charliew>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Charlie Wolfe 2023-11-29 12:53:29 PST
This test hits a debug assertion every second time it is run when running with more than one iteration. We should investigate and fix.

ASSERTION FAILED: !m_deletionHasBegun
1   0x137ea2918 WTFCrash
2   0x137ea2938 WTFIsDebuggerAttached
3   0x282dc0710 WTF::ThreadSafeRefCountedBase::ref() const
4   0x2834def8c WTF::Ref<WebCore::LocalFrame, WTF::RawPtrTraits<WebCore::LocalFrame>>::Ref(WebCore::LocalFrame&)
5   0x2833f5e28 WTF::Ref<WebCore::LocalFrame, WTF::RawPtrTraits<WebCore::LocalFrame>>::Ref(WebCore::LocalFrame&)
6   0x284bf9530 WebCore::EventHandler::protectedFrame() const
7   0x284bf91f0 WebCore::EventHandler::clearLatchedState()
8   0x284bf8dcc WebCore::EventHandler::clear()
9   0x284c6709c WebCore::LocalFrame::setView(WTF::RefPtr<WebCore::LocalFrameView, WTF::RawPtrTraits<WebCore::LocalFrameView>, WTF::DefaultRefDerefTraits<WebCore::LocalFrameView>>&&)
10  0x284c66d68 WebCore::LocalFrame::~LocalFrame()
11  0x284c67504 WebCore::LocalFrame::~LocalFrame()
12  0x284c67534 WebCore::LocalFrame::~LocalFrame()
13  0x11e91e238 WTF::ThreadSafeRefCounted<WebCore::Frame, (WTF::DestructionThread)1>::deref() const::'lambda'()::operator()() const
14  0x11e91e1c4 WTF::Detail::CallableWrapper<WTF::ThreadSafeRefCounted<WebCore::Frame, (WTF::DestructionThread)1>::deref() const::'lambda'(), void>::call()
15  0x137eccd70 WTF::Function<void ()>::operator()() const
16  0x137f2e320 WTF::ensureOnMainThread(WTF::Function<void ()>&&)
17  0x11e91dfdc WTF::ThreadSafeRefCounted<WebCore::Frame, (WTF::DestructionThread)1>::deref() const
18  0x120e568fc WTF::DefaultRefDerefTraits<WebCore::Frame>::derefIfNotNull(WebCore::Frame*)
19  0x120b7778c WTF::RefPtr<WebCore::Frame, WTF::RawPtrTraits<WebCore::Frame>, WTF::DefaultRefDerefTraits<WebCore::Frame>>::~RefPtr()
20  0x120b6d51c WTF::RefPtr<WebCore::Frame, WTF::RawPtrTraits<WebCore::Frame>, WTF::DefaultRefDerefTraits<WebCore::Frame>>::~RefPtr()
21  0x120e84960 WebKit::WebFrame::didCommitLoadInAnotherProcess(std::__1::optional<WTF::ObjectIdentifierGeneric<WebCore::LayerHostingContextIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>>)
Comment 1 Radar WebKit Bug Importer 2023-11-29 12:53:45 PST
<rdar://problem/118946373>