-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hi -
Thanks for your great Work.
In my case, when opening the scanner, the App in the background sometimes crashes and restarts. Therefore not listening to any callbacks and the scanned input is lost. I don't know when exactly it happens. Not depending of the size of the scan.
It might be related to a webkit bug: ionic-team/capacitor#5491
Anyway, here's the log:
⚡️ [log] - start scan
⚡️ To Native -> DocumentScanner scanDocument 67361918
2022-09-09 14:14:59.176340+0200 App[16404:767529] [XPC] Handle connection with error: Connection interrupted
2022-09-09 14:14:59.176974+0200 App[16404:766008] [Process] 0x113001230 - [PID=16415] WebProcessProxy::didClose: (web process 0 crash)
2022-09-09 14:14:59.177008+0200 App[16404:766008] [Process] 0x113001230 - [PID=16415] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=4
2022-09-09 14:14:59.177119+0200 App[16404:766008] [ProcessSuspension] 0x111018120 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID 0 is invalid
2022-09-09 14:14:59.177285+0200 App[16404:767530] [ProcessSuspension] 0x111018120 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
2022-09-09 14:14:59.179592+0200 App[16404:766008] [Process] 0x10301d018 - [pageProxyID=7, webPageID=8, PID=16415] WebPageProxy::processDidTerminate: (pid 16415), reason 4
2022-09-09 14:14:59.198168+0200 App[16404:766008] [Loading] 0x10301d018 - [pageProxyID=7, webPageID=8, PID=16415] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
⚡️ [log] - onscript loading complete
Maybe somebody can point me in the right direction for a fix.
Best,
hofer
Metadata
Metadata
Assignees
Labels
No labels