Bug 237557 - [ iOS ] ASSERTION FAILED: m_isWaitingForDidUpdateGeometry on accessibility/visible-character-range.html
Summary: [ iOS ] ASSERTION FAILED: m_isWaitingForDidUpdateGeometry on accessibility/vi...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-07 14:15 PST by Dawn Morningstar
Modified: 2022-10-25 21:37 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawn Morningstar 2022-03-07 14:15:53 PST
accessibility/visible-character-range.html
Is a constant crash on iOS Debug queues.

HISTORY:
https://results.webkit.org/?platform=ios&suite=layout-tests&test=accessibility%2Fvisible-character-range.html

CRASH-LOG:
CRASHING TEST: accessibility/visible-character-range.html

Thread 0 Crashed:
0   com.apple.JavaScriptCore      	0x000000010fbab74e WTFCrash + 14 (Assertions.cpp:322)
1   com.apple.WebKit              	0x000000012d400afb WTFCrashWithInfo(int, char const*, char const*, int) + 27 (Assertions.h:741)
2   com.apple.WebKit              	0x000000012e9f1cc8 WebKit::RemoteLayerTreeDrawingAreaProxy::didUpdateGeometry() + 104 (RemoteLayerTreeDrawingAreaProxy.mm:188)
3   com.apple.WebKit              	0x000000012d4cee2b void IPC::callMemberFunctionImpl<WebKit::DrawingAreaProxy, void (WebKit::DrawingAreaProxy::*)(), std::__1::tuple<> >(WebKit::DrawingAreaProxy*, void (WebKit::DrawingAreaProxy::*)(), std::__1::tuple<>&&, std::__1::integer_sequence<unsigned long>) + 123 (HandleMessage.h:125)
4   com.apple.WebKit              	0x000000012d4ced5d void IPC::callMemberFunction<WebKit::DrawingAreaProxy, void (WebKit::DrawingAreaProxy::*)(), std::__1::tuple<>, std::__1::integer_sequence<unsigned long> >(std::__1::tuple<>&&, WebKit::DrawingAreaProxy*, void (WebKit::DrawingAreaProxy::*)()) + 109 (HandleMessage.h:131)
5   com.apple.WebKit              	0x000000012d4c9e00 void IPC::handleMessage<Messages::DrawingAreaProxy::DidUpdateGeometry, WebKit::DrawingAreaProxy, void (WebKit::DrawingAreaProxy::*)()>(IPC::Connection&, IPC::Decoder&, WebKit::DrawingAreaProxy*, void (WebKit::DrawingAreaProxy::*)()) + 192 (HandleMessage.h:196)
6   com.apple.WebKit              	0x000000012d4c989a WebKit::DrawingAreaProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 426 (DrawingAreaProxyMessageReceiver.cpp:57)
7   com.apple.WebKit              	0x000000012d9ac716 WebKit::RemoteLayerTreeDrawingAreaProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 294 (RemoteLayerTreeDrawingAreaProxyMessageReceiver.cpp:49)
8   com.apple.WebKit              	0x000000012e860593 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 387 (MessageReceiverMap.cpp:129)
9   com.apple.WebKit              	0x000000012ecfc6dc WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 44 (AuxiliaryProcessProxy.cpp:245)
10  com.apple.WebKit              	0x000000012ef455d9 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 41 (WebProcessProxy.cpp:856)
11  com.apple.WebKit              	0x000000012e829fa4 IPC::Connection::dispatchMessage(IPC::Decoder&) + 532 (Connection.cpp:1092)
12  com.apple.WebKit              	0x000000012e82a662 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 610 (Connection.cpp:1137)
13  com.apple.WebKit              	0x000000012e823b83 IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch() + 67 (Connection.cpp:125)
14  com.apple.WebKit              	0x000000012e823856 IPC::Connection::SyncMessageState::dispatchMessages(WTF::Function<void (IPC::MessageName, unsigned long long)>&&) + 550 (Connection.cpp:217)
15  com.apple.WebKit              	0x000000012e829a56 IPC::Connection::dispatchSyncMessage(IPC::Decoder&) + 582 (Connection.cpp:996)
16  com.apple.WebKit              	0x000000012e82a648 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 584 (Connection.cpp:1135)
17  com.apple.WebKit              	0x000000012e823b83 IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch() + 67 (Connection.cpp:125)
18  com.apple.WebKit              	0x000000012e823856 IPC::Connection::SyncMessageState::dispatchMessages(WTF::Function<void (IPC::MessageName, unsigned long long)>&&) + 550 (Connection.cpp:217)
19  com.apple.WebKit              	0x000000012e827825 IPC::Connection::waitForSyncReply(WTF::ObjectIdentifier<IPC::Connection::SyncRequestIDType>, IPC::MessageName, IPC::Timeout, WTF::OptionSet<IPC::SendSyncOption>) + 229 (Connection.cpp:679)
20  com.apple.WebKit              	0x000000012e826796 IPC::Connection::sendSyncMessage(WTF::ObjectIdentifier<IPC::Connection::SyncRequestIDType>, WTF::UniqueRef<IPC::Encoder>&&, IPC::Timeout, WTF::OptionSet<IPC::SendSyncOption>) + 662 (Connection.cpp:660)
21  com.apple.WebKit              	0x000000012e825f28 IPC::Connection::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>, std::__1::optional<WTF::Thread::QOS>) + 616 (Connection.cpp:481)
22  com.apple.WebKit              	0x000000012ecfc1f9 WebKit::AuxiliaryProcessProxy::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>, std::__1::optional<std::__1::pair<WTF::CompletionHandler<void (IPC::Decoder*)>, unsigned long long> >&&, WebKit::AuxiliaryProcessProxy::ShouldStartProcessThrottlerActivity) + 1049 (AuxiliaryProcessProxy.cpp:206)
23  com.apple.WebKit              	0x000000012ed004c9 WebKit::DrawingAreaProxy::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>, std::__1::optional<std::__1::pair<WTF::CompletionHandler<void (IPC::Decoder*)>, unsigned long long> >&&) + 89 (DrawingAreaProxy.cpp:90)
24  com.apple.WebKit              	0x000000012ea024ca bool IPC::MessageSender::send<Messages::DrawingArea::UpdateGeometry>(Messages::DrawingArea::UpdateGeometry const&, unsigned long long, WTF::OptionSet<IPC::SendOption>) + 202 (MessageSender.h:50)
25  com.apple.WebKit              	0x000000012e9f1d52 bool IPC::MessageSender::send<Messages::DrawingArea::UpdateGeometry>(Messages::DrawingArea::UpdateGeometry const&, WTF::OptionSet<IPC::SendOption>) + 66 (MessageSender.h:40)
26  com.apple.WebKit              	0x000000012e9f1b3b WebKit::RemoteLayerTreeDrawingAreaProxy::sendUpdateGeometry() + 123 (RemoteLayerTreeDrawingAreaProxy.mm:201)
27  com.apple.WebKit              	0x000000012e9f1ab6 WebKit::RemoteLayerTreeDrawingAreaProxy::sizeDidChange() + 70 (RemoteLayerTreeDrawingAreaProxy.mm:178)
28  com.apple.WebKit              	0x000000012ed002fe WebKit::DrawingAreaProxy::setSize(WebCore::IntSize const&, WebCore::IntSize const&) + 126 (DrawingAreaProxy.cpp:72)
29  com.apple.WebKit              	0x000000012e7bac17 -[WKWebView(WKViewInternalIOS) _frameOrBoundsChanged] + 775 (WKWebViewIOS.mm:1987)
30  com.apple.WebKit              	0x000000012e7a7815 -[WKWebView(WKViewInternalIOS) setFrame:] + 309 (WKWebViewIOS.mm:123)
31  org.webkit.WebKitTestRunnerApp	0x0000000102401b0f WTR::PlatformWebView::setWindowFrame(WKRect, WTR::PlatformWebView::WebViewSizingMode) + 287
32  org.webkit.WebKitTestRunnerApp	0x0000000102401955 WTR::PlatformWebView::resizeTo(unsigned int, unsigned int, WTR::PlatformWebView::WebViewSizingMode) + 149
33  org.webkit.WebKitTestRunnerApp	0x000000010249d4f8 WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle(OpaqueWKString const*, void const*) + 1192
34  org.webkit.WebKitTestRunnerApp	0x000000010243ccd1 WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle(OpaqueWKString const*, void const*, OpaqueWKMessageListener const*) + 1553
35  org.webkit.WebKitTestRunnerApp	0x0000000102435f51 WTR::TestController::didReceiveSynchronousPageMessageFromInjectedBundleWithListener(OpaqueWKPage const*, OpaqueWKString const*, void const*, OpaqueWKMessageListener const*, void const*) + 49
36  com.apple.WebKit              	0x000000012eed8c83 WebKit::WebPageInjectedBundleClient::didReceiveSynchronousMessageFromInjectedBundle(WebKit::WebPageProxy*, WTF::String const&, API::Object*, WTF::CompletionHandler<void (WTF::RefPtr<API::Object, WTF::RawPtrTraits<API::Object>, WTF::DefaultRefDerefTraits<API::Object> >)>&&) + 467 (WebPageInjectedBundleClient.cpp:58)
37  com.apple.WebKit              	0x000000012eee217f WebKit::WebPageProxy::handleSynchronousMessage(IPC::Connection&, WTF::String const&, WebKit::UserData const&, WTF::CompletionHandler<void (WebKit::UserData&&)>&&) + 431 (WebPageProxy.cpp:847)
38  com.apple.WebKit              	0x000000012fd8f536 void IPC::callMemberFunctionImpl<WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&, WTF::CompletionHandler<void (WebKit::UserData&&)>&&), void (WebKit::UserData const&), std::__1::tuple<WTF::String, WebKit::UserData>, 0ul, 1ul>(IPC::Connection&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&, WTF::CompletionHandler<void (WebKit::UserData&&)>&&), WTF::CompletionHandler<void (WebKit::UserData const&)>&&, std::__1::tuple<WTF::String, WebKit::UserData>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) + 246 (HandleMessage.h:153)
39  com.apple.WebKit              	0x000000012fd8e8db void IPC::callMemberFunction<WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&, WTF::CompletionHandler<void (WebKit::UserData&&)>&&), void (WebKit::UserData const&), std::__1::tuple<WTF::String, WebKit::UserData>, std::__1::integer_sequence<unsigned long, 0ul, 1ul> >(IPC::Connection&, std::__1::tuple<WTF::String, WebKit::UserData>&&, WTF::CompletionHandler<void (WebKit::UserData const&)>&&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&, WTF::CompletionHandler<void (WebKit::UserData&&)>&&)) + 203 (HandleMessage.h:159)
40  com.apple.WebKit              	0x000000012fc766f6 bool IPC::handleMessageSynchronousWantsConnection<Messages::WebPageProxy::HandleSynchronousMessage, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&, WTF::CompletionHandler<void (WebKit::UserData&&)>&&)>(IPC::Connection&, IPC::Decoder&, WTF::UniqueRef<IPC::Encoder>&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&, WTF::CompletionHandler<void (WebKit::UserData&&)>&&)) + 422 (HandleMessage.h:238)
41  com.apple.WebKit              	0x000000012fc71e28 WebKit::WebPageProxy::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, WTF::UniqueRef<IPC::Encoder>&) + 4536 (WebPageProxyMessageReceiver.cpp:2490)
42  com.apple.WebKit              	0x000000012e860860 IPC::MessageReceiverMap::dispatchSyncMessage(IPC::Connection&, IPC::Decoder&, WTF::UniqueRef<IPC::Encoder>&) + 400 (MessageReceiverMap.cpp:144)
43  com.apple.WebKit              	0x000000012ecfc724 WebKit::AuxiliaryProcessProxy::dispatchSyncMessage(IPC::Connection&, IPC::Decoder&, WTF::UniqueRef<IPC::Encoder>&) + 52 (AuxiliaryProcessProxy.cpp:250)
44  com.apple.WebKit              	0x000000012ef456d1 WebKit::WebProcessProxy::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, WTF::UniqueRef<IPC::Encoder>&) + 49 (WebProcessProxy.cpp:872)
45  com.apple.WebKit              	0x000000012e829a86 IPC::Connection::dispatchSyncMessage(IPC::Decoder&) + 630 (Connection.cpp:999)
46  com.apple.WebKit              	0x000000012e82a648 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 584 (Connection.cpp:1135)
47  com.apple.WebKit              	0x000000012e823b83 IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch() + 67 (Connection.cpp:125)
48  com.apple.WebKit              	0x000000012e823e18 IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&) + 632 (Connection.cpp:240)
49  com.apple.WebKit              	0x000000012e83c2cc IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&, std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >&)::$_5::operator()() + 44 (Connection.cpp:190)
50  com.apple.WebKit              	0x000000012e83c1f9 WTF::Detail::CallableWrapper<IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&, std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >&)::$_5, void>::call() + 25 (Function.h:53)
51  com.apple.JavaScriptCore      	0x000000010fbd87e2 WTF::Function<void ()>::operator()() const + 130 (Function.h:82)
52  com.apple.JavaScriptCore      	0x000000010fc6afde WTF::RunLoop::performWork() + 318 (RunLoop.cpp:133)
53  com.apple.JavaScriptCore      	0x000000010fc6f80e WTF::RunLoop::performWork(void*) + 30 (RunLoopCF.cpp:46)
54  com.apple.CoreFoundation      	0x0000000106210e25 0x106190000 + 527909
55  com.apple.CoreFoundation      	0x0000000106210d1d 0x106190000 + 527645
56  com.apple.CoreFoundation      	0x00000001062101f2 0x106190000 + 524786
57  com.apple.CoreFoundation      	0x000000010620a951 0x106190000 + 502097
58  com.apple.CoreFoundation      	0x000000010620a103 0x106190000 + 499971
59  com.apple.Foundation          	0x000000010389841c 0x103776000 + 1188892
60  org.webkit.WebKitTestRunnerApp	0x000000010247314d WTR::TestController::platformRunUntil(bool&, WTF::Seconds) + 285
61  org.webkit.WebKitTestRunnerApp	0x0000000102433d5f WTR::TestController::runUntil(bool&, WTF::Seconds) + 79
62  org.webkit.WebKitTestRunnerApp	0x0000000102499ab2 WTR::TestInvocation::invoke() + 402
63  org.webkit.WebKitTestRunnerApp	0x000000010243bdb5 WTR::TestController::runTest(char const*) + 581
64  org.webkit.WebKitTestRunnerApp	0x000000010243c206 WTR::TestController::runTestingServerLoop() + 214
65  org.webkit.WebKitTestRunnerApp	0x0000000102434737 WTR::TestController::run() + 39
66  org.webkit.WebKitTestRunnerApp	0x00000001024340c0 WTR::TestController::TestController(int, char const**) + 832
67  org.webkit.WebKitTestRunnerApp	0x0000000102434803 WTR::TestController::TestController(int, char const**) + 35
68  org.webkit.WebKitTestRunnerApp	0x00000001023ff70c -[WebKitTestRunnerApp _runTestController] + 44
69  com.apple.Foundation          	0x00000001038c158c 0x103776000 + 1357196
70  com.apple.CoreFoundation      	0x0000000106210e25 0x106190000 + 527909
71  com.apple.CoreFoundation      	0x0000000106210d1d 0x106190000 + 527645
72  com.apple.CoreFoundation      	0x0000000106210254 0x106190000 + 524884
73  com.apple.CoreFoundation      	0x000000010620a951 0x106190000 + 502097
74  com.apple.CoreFoundation      	0x000000010620a103 0x106190000 + 499971
75  com.apple.GraphicsServices    	0x00000001030becd3 GSEventRunModal + 139
76  com.apple.UIKitCore           	0x000000011c54ae63 0x11b883000 + 13401699
77  com.apple.UIKitCore           	0x000000011c54fa53 0x11b883000 + 13421139
78  org.webkit.WebKitTestRunnerApp	0x00000001023ff894 main + 84
79  dyld_sim                      	0x0000000102962e1e start_sim + 10
80  ???                           	0x0000000000000001 0 + 1
81  ???                           	0x0000000000000002 0 + 2

CRASH-LOG-URL:
https://build.webkit.org/results/Apple-iPadOS-15-Simulator-Debug-WK2-Tests/r290896%20(1164)/accessibility/visible-character-range-crash-log.txt
Comment 1 Radar WebKit Bug Importer 2022-03-07 14:16:19 PST
<rdar://problem/89929195>
Comment 2 Dawn Morningstar 2022-03-07 14:17:14 PST
Crash persists as far back as the test was introduced.
Comment 3 Dawn Morningstar 2022-03-15 12:22:30 PDT
Marking expectations until assertion can be resolved r291307
Comment 4 Ryan Haddad 2022-06-01 11:36:45 PDT
This test was removed / split as part of https://commits.webkit.org/248693@main, we should remove test expectations and file a new bug if this is still happening.
Comment 5 Cameron McCormack (:heycam) 2022-10-25 21:37:04 PDT
Addressing these failures in bug 242884.