Description

When closing ShooterGame on an iOS device, the application crashes due to "exhausting the real time allowance of 5.00 seconds".

This issue is NOT a regression for //UE4/Dev-Networking as it is also occurring in //UE4/Main @ CL #4242847.

Steps to Reproduce
  1. Open ShooterGame in the editor
  2. Package for iOS in the Development build configuration
  3. Navigate to your package directory
  4. Connect an iOS device to your computer
  5. Install the .ipa using Xcode or IPhonePackager
  6. Open the application on device
  7. Double-press the home button and swipe the application off screen

Expected Result
The application closes with no errors or crashes encountered

Actual Result
The app crashes on close due to exhausting real time allowance of 5.00 seconds

Callstack
Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, process-exit watchdog transgression: com.epicgames.ShooterGame exhausted real (wall clock) time allowance of 5.00 seconds |  | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: process-exit | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 3.840 (user 3.840, system 0.000), 13% CPU", | "Elapsed application CPU time (seconds): 1.745, 6% CPU" | )
Triggered by Thread:  0

Filtered syslog:
None found

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x0000000183d29610 __semwait_signal + 8
1   libsystem_c.dylib             	0x0000000183c4212c nanosleep + 212
2   libsystem_c.dylib             	0x0000000183c4204c usleep + 64
3   ShooterGame                   	0x0000000101925908 -[IOSAppDelegate applicationWillTerminate:] + 19257608 (IOSAppDelegate.cpp:1081)
4   UIKit                         	0x000000018e18de08 -[UIApplication _terminateWithStatus:] + 220
5   UIKit                         	0x000000018e4ac8c4 __98-[__UICanvasLifecycleMonitor_Compatability deactivateEventsOnly:withContext:forceExit:completion:]_block_invoke.271 + 336
6   UIKit                         	0x000000018e296884 _runAfterCACommitDeferredBlocks + 296
7   UIKit                         	0x000000018e28c958 _cleanUpAfterCAFlushAndRunDeferredBlocks + 384
8   UIKit                         	0x000000018e17151c _afterCACommitHandler + 132
9   CoreFoundation                	0x000000018424a910 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
10  CoreFoundation                	0x0000000184248238 __CFRunLoopDoObservers + 412
11  CoreFoundation                	0x0000000184248884 __CFRunLoopRun + 1436
12  CoreFoundation                	0x0000000184168da8 CFRunLoopRunSpecific + 552
13  GraphicsServices              	0x000000018614d020 GSEventRunModal + 100
14  UIKit                         	0x000000018e185758 UIApplicationMain + 236
15  ShooterGame                   	0x0000000100c79208 main + 5968392 (LaunchIOS.cpp:331)
16  libdyld.dylib                 	0x0000000183bf9fc0 start + 4

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62299 in the post.

4
Login to Vote

Won't Fix
ComponentUE - Platform - Mobile
Affects Versions4.21
CreatedJul 30, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue