Webview crashes - Failed to acquire RBS assertion

Hey there, on a specific page in our app, when loading another page, this error appears in xcode and the webview reolads completly (sometimes it works?).

2022-04-22 16:04:42.037219+0200 App[20358:1582226] [Process] 0x114001910 - [PID=20365] WebProcessProxy::didClose: (web process 20365 crash)
2022-04-22 16:04:42.037276+0200 App[20358:1582226] [Process] 0x114001910 - [PID=20365] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=4
2022-04-22 16:04:42.037305+0200 App[20358:1582226] [ProcessSuspension] 0x112018300 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID 0 is invalid
2022-04-22 16:04:42.037362+0200 App[20358:1582226] [Process] 0x105021418 - [pageProxyID=7, webPageID=8, PID=20365] WebPageProxy::processDidTerminate: (pid 20365), reason 4
2022-04-22 16:04:42.037358+0200 App[20358:1583066] [ProcessSuspension] 0x112018300 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
2022-04-22 16:04:42.040106+0200 App[20358:1582226] [Loading] 0x105021418 - [pageProxyID=7, webPageID=8, PID=20365] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
2022-04-22 16:04:42.048096+0200 App[20358:1583066] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
2022-04-22 16:04:42.050357+0200 App[20358:1583066] [ProcessSuspension] 0x112018360 - ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=20365, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
2022-04-22 16:04:42.054601+0200 App[20358:1583066] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
2022-04-22 16:04:42.066444+0200 App[20358:1583066] [ProcessSuspension] 0x112009c10 - ProcessAssertion: Failed to acquire RBS assertion 'GPUProcess Background Assertion' for process with PID=20367, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}

If don’t know how to dig into this, does someone experienced the same and can help me getting in the right direction?

Also if some of the Ionic team would like to help, please answer me, i will give you access to the app so you can debug i for example?

Hey EinfachHans, finally managed to fix ?

Any particular component to mention on the page where it was crashing ?

See: bug: ios, unexpected reloads with safari and z-index · Issue #25760 · ionic-team/ionic-framework · GitHub

1 Like