Bug 228864

Summary: Crash at WebKit::WebPage::requestTextRecognition caused by accessibility invocation.
Product: WebKit Reporter: Andres Gonzalez <andresg_22>
Component: New BugsAssignee: Andres Gonzalez <andresg_22>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andres Gonzalez 2021-08-06 08:26:42 PDT
Crash at WebKit::WebPage::requestTextRecognition caused by accessibility invocation.
Comment 1 Andres Gonzalez 2021-08-06 08:34:33 PDT
Created attachment 435069 [details]
Patch
Comment 2 Andres Gonzalez 2021-08-06 08:42:29 PDT
<rdar://80679512>
Comment 3 Andres Gonzalez 2021-08-06 08:45:21 PDT
Thread 0 Crashed::   Dispatch queue: com.apple.main-thread
0   WebKit                        	       0x190d4b764 WebKit::WebPage::requestTextRecognition(WebCore::Element&, WTF::CompletionHandler<void (WTF::RefPtr<WebCore::Element, WTF::RawPtrTraits<WebCore::Element>, WTF::DefaultRefDerefTraits<WebCore::Element> >&&)>&&) + 40 (/Library/Caches/com.apple.xbs/Sources/WebKit/WebKit-7612.1.22.0.3/Source/WebKit/WebProcess/WebPage/WebPage.cpp:7399)
1   WebCore                       	       0x191e2b6fc WebCore::AXImage::imageOverlayElements() + 400 (/Library/Caches/com.apple.xbs/Sources/WebCore/WebKit-7612.1.22.0.3/Source/WebCore/./accessibility/AXImage.cpp:70)
2   WebCore                       	       0x191e2b6fc WebCore::AXImage::imageOverlayElements() + 400 (/Library/Caches/com.apple.xbs/Sources/WebCore/WebKit-7612.1.22.0.3/Source/WebCore/./accessibility/AXImage.cpp:70)
3   WebCore                       	       0x19121bc30 -[WebAccessibilityObjectWrapper accessibilityImageOverlayElements] + 124 (/Library/Caches/com.apple.xbs/Sources/WebCore/WebKit-7612.1.22.0.3/Source/WebCore/./accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1886)
Comment 4 EWS 2021-08-06 09:52:52 PDT
Committed r280727 (240317@main): <https://commits.webkit.org/240317@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 435069 [details].