Bug 253010

Summary: Starting iPadOS 16.4 beta WKWebView content process crashes in split screen
Product: WebKit Reporter: erezg
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Critical CC: graouts, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: iPhone / iPad   
OS: iOS 16   

Description erezg 2023-02-27 11:21:44 PST
The only repro we have is within the Power BI app.

Console logs:
fault	20:40:39.907552+0200	Power BI	/Library/Caches/com.apple.xbs/Sources/WebKit_Sim/Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm 224: Invalid message dispatched virtual void WebKit::RemoteScrollingCoordinatorProxyIOS::establishLayerTreeScrollingRelations(const WebKit::RemoteLayerTreeHost &)
fault	20:40:39.908104+0200	Power BI	Received an invalid message 'RemoteLayerTreeDrawingAreaProxy_CommitLayerTree' from the WebContent process.
default	20:40:39.908282+0200	Power BI	AuxiliaryProcessProxy::terminate: PID=54762
error	20:40:39.909432+0200	Power BI	0x14b0748b0 - [PID=54762] WebProcessProxy::didClose: (web process 54762 crash)

Repro steps:
- Install the Power BI app from the App Store on an iPad with iPadOS 16.4 beta.
- Login with:
  Username: webkit-repro@erezoneoutlook.onmicrosoft.com
  Password: PowerBI!2
- Enter split screen (for example - bring the Safari app to the right)
- Open the "Test" report that appears on the Home page in the Power BI app
- Observe the crash
Comment 1 erezg 2023-02-27 11:56:29 PST
Adding graouts as CC.
Saw you had some major changes in this area: https://github.com/WebKit/WebKit/commit/8f2972ef9f74c7f00d74077697c4028a1121773e
Comment 2 Antoine Quint 2023-02-27 12:12:13 PST
Can you attach the full crash report?
Comment 3 Radar WebKit Bug Importer 2023-02-27 12:12:19 PST
<rdar://problem/105989520>
Comment 4 erezg 2023-02-27 13:06:08 PST
I couldn't find any crash reports both on the simulator and on device analytics for the content process.
I gathered the information from Console.

Let me know if I can help by extracting the logs from somewhere else.
Comment 5 Simon Fraser (smfr) 2023-02-27 13:35:45 PST
This type of error won't generate a crash report.
Comment 6 Simon Fraser (smfr) 2023-02-28 16:18:02 PST
Can you give the build number that your device is running please? iPadOS 16.4 beta 2 is now available.
Comment 7 erezg 2023-03-02 05:11:42 PST
The issue no longer reproduces in iPadOS 16.4 beta 2. Closing the bug.