Description

Licensee report of crash during shutdown due to setting [UIApplication sharedApplication].idleTimerDisabledbeing from the Game thread.

Grouped together with others items in [Link Removed]

Steps to Reproduce

Close the app while under the debugger

Callstack

Thread 2 Crashed:
0 libsystem_kernel.dylib 0x00000001b83bdec4 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001b82dd724 pthread_kill$VARIANT$armv81 + 216 (pthread.c:1458)
2 libsystem_c.dylib 0x00000001b822d844 abort + 100 (abort.c:110)
3 libc++abi.dylib 0x00000001b83867d4 abort_message + 128 (abort_message.cpp:76)
4 libc++abi.dylib 0x00000001b83869c4 demangling_terminate_handler() + 296 (cxa_default_handlers.cpp:66)
5 libobjc.A.dylib 0x00000001b82ee258 _objc_terminate() + 124 (objc-exception.mm:701)
6 libc++abi.dylib 0x00000001b8393304 std::__terminate(void [Image Removed]()) + 16 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x00000001b8392c58 _cxxabiv1::failed_throw(cxxabiv1::_cxa_exception*) + 32 (cxa_exception.cpp:153)
8 libc++abi.dylib 0x00000001b8392c18 __cxa_throw + 124 (cxa_exception.cpp:285)
9 libobjc.A.dylib 0x00000001b82ee0d0 objc_exception_throw + 356 (objc-exception.mm:591)
10 CoreFoundation 0x00000001b84c8e88 [NSException raise:format:arguments:]  96 (NSException.m:146)
11 Foundation 0x00000001b88fe654 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 128 (NSException.m:231)
12 FrontBoardServices 0x00000001bd742a4c -[FBSSerialQueue assertOnQueue] + 228 (FBSSerialQueue.m:98)
13 FrontBoardServices 0x00000001bd6f7ec8 -[FBSSceneImpl updateClientSettings:withTransitionContext:] + 76 (FBSSceneImpl.m:190)
14 FrontBoardServices 0x00000001bd6f8130 -[FBSSceneImpl updateClientSettingsWithTransitionBlock:] + 160 (FBSSceneImpl.m:213)
15 FrontBoardServices 0x00000001bd6f8038 -[FBSSceneImpl updateClientSettingsWithBlock:] + 112 (FBSSceneImpl.m:203)
16 UIKitCore 0x00000001bc1df31c -[FBSScene(UIApp) updateUIClientSettingsWithBlock:] + 168 (FBSScene+UIApp.m:41)
17 UIKitCore 0x00000001bc641108 -[UIApplication _setIdleTimerDisabled:forReason:] + 208 (UIApplication.m:1740)
18 OurApp 0x000000010360af74 -[IOSAppDelegate MainAppThread:] + 18001780 (IOSAppDelegate.cpp:337)
19 Foundation 0x00000001b89af09c _NSThreadstart_ + 848 (NSThread.m:724)
20 libsystem_pthread.dylib 0x00000001b82e1d8c _pthread_start + 156 (pthread.c:896)
21 libsystem_pthread.dylib 0x00000001b82e576c thread_start + 8

Have Comments or More Details?

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

2
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.25
Target Fix4.25.1
Fix Commit13535851
Main Commit14151001
Release Commit13535851
CreatedApr 29, 2020
ResolvedMay 25, 2020
UpdatedMar 30, 2021