Bug 234977

Summary: [Debug] imported/w3c/web-platform-tests/dom/events/focus-event-document-move.html is crashing since import
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=234963

Description Chris Dumez 2022-01-07 12:18:59 PST
imported/w3c/web-platform-tests/dom/events/focus-event-document-move.html is crashing in debug since import:
Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000bbadbeef
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [4234]

VM Regions Near 0xbbadbeef:
--> 
    __TEXT                      100340000-100344000    [   16K] r-x/r-x SM=COW  /Volumes/*/*.Development

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000013aa9a984 WTFCrash + 20
1   com.apple.WebCore             	0x0000000119b73344 WebCore::EventHandler::updateMouseEventTargetNode(WTF::AtomString const&, WebCore::Node*, WebCore::PlatformMouseEvent const&, WebCore::EventHandler::FireMouseOverOut) + 536
2   com.apple.WebCore             	0x0000000119b717e4 WebCore::EventHandler::dispatchMouseEvent(WTF::AtomString const&, WebCore::Node*, int, WebCore::PlatformMouseEvent const&, WebCore::EventHandler::FireMouseOverOut) + 100
3   com.apple.WebCore             	0x0000000119b73f28 WebCore::EventHandler::handleMouseReleaseEvent(WebCore::PlatformMouseEvent const&) + 1328
4   com.apple.WebCore             	0x000000011ab688c8 WebCore::UserInputBridge::handleMouseReleaseEvent(WebCore::PlatformMouseEvent const&, WebCore::InputSource) + 84
5   com.apple.WebKit              	0x000000010308d008 WebKit::handleMouseEvent(WebKit::WebMouseEvent const&, WebKit::WebPage*) + 344
6   com.apple.WebKit              	0x000000010308cbe4 WebKit::WebPage::mouseEvent(WebKit::WebMouseEvent const&, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> >&&) + 504
7   com.apple.WebKit              	0x000000010313b5d4 void IPC::callMemberFunctionImpl<WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> >&&), std::__1::tuple<WebKit::WebMouseEvent, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> > >, 0ul, 1ul>(WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> >&&), std::__1::tuple<WebKit::WebMouseEvent, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> > >&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) + 172
8   com.apple.WebKit              	0x0000000103139104 void IPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> >&&), std::__1::tuple<WebKit::WebMouseEvent, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> > >, std::__1::integer_sequence<unsigned long, 0ul, 1ul> >(std::__1::tuple<WebKit::WebMouseEvent, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> > >&&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> >&&)) + 124
9   com.apple.WebKit              	0x0000000103107348 void IPC::handleMessage<Messages::WebPage::MouseEvent, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> >&&)>(IPC::Connection&, IPC::Decoder&, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebMouseEvent const&, std::__1::optional<WTF::Vector<WebKit::SandboxExtension::Handle, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> >&&)) + 236
10  com.apple.WebKit              	0x0000000103100dfc WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&, IPC::Decoder&) + 4652
11  com.apple.WebKit              	0x0000000103097768 WebKit::WebPage::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 352
12  com.apple.WebKit              	0x0000000101d88040 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 384
13  com.apple.WebKit              	0x000000010288f428 WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 52
Comment 1 Radar WebKit Bug Importer 2022-01-14 12:19:17 PST
<rdar://problem/87612930>