Official-Kodi-Remote-iOS icon indicating copy to clipboard operation
Official-Kodi-Remote-iOS copied to clipboard

Crash in [FBSSceneSnapshotRequestHandle performRequestForScene:]

Open wutschel opened this issue 2 years ago • 2 comments

With 1.9, 1.10 and mostly 1.10.1 I see several crashes which -- as far as I understand -- point to an issue when iOS kills the App because it was moved to background but is still active.

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: FRONTBOARD 2343432205 
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application<it.joethefox.XBMC-Remote>:33891 exhausted real (wall clock) time allowance of 10.00 seconds
ProcessVisibility: Background
ProcessState: Running
WatchdogEvent: scene-update
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 21.930 (user 21.930, system 0.000), 100% CPU",
"Elapsed application CPU time (seconds): 0.024, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>

Is there a standard way to find out more details and resolve this?

wutschel avatar Jun 12 '22 15:06 wutschel

the only "standard" way is to check what's going on when app is suspended. Maybe some synchronous network request takes time? This can be tackled with [UIApplication.sharedApplication beginBackgroundTask...].

kambala-decapitator avatar Jul 24 '22 06:07 kambala-decapitator

Thanks, adding a link for future use: Proper use of beginBackgroundTaskWithExpirationHandler

wutschel avatar Jul 24 '22 15:07 wutschel