defold / extension-iac

Inter-app communication extension for Defold
MIT License
5 stars 7 forks source link

Crash on iOS when force closing #4

Closed britzl closed 4 years ago

britzl commented 4 years ago

App crashes every time you force close it (meaning the user doesn’t see the crash)

Incident Identifier: D64B77C9-DC6F-4EB0-94DB-31510A1A192C
CrashReporter Key:   aeaf8c375b71516ae75fe0752d4e1ff9417faf7f
Hardware Model:      iPhone10,6
Process:             test55 [1749]
Path:                /private/var/containers/Bundle/Application/D66FDA78-0798-43E5-B5E8-875BACF4CBD2/test55.app/test55
Identifier:          example.unnamed
Version:             1.0 (1.0)
Code Type:           ARM-64 (Native)
Role:                Non UI
Parent Process:      launchd [1]
Coalition:           example.unnamed [1828]
Date/Time:           2019-12-20 09:43:55.2705 +0100
Launch Time:         2019-12-20 09:43:48.1457 +0100
OS Version:          iPhone OS 13.2 (17B5077a)
Release Type:        Beta
Baseband Version:    3.02.02
Report Version:      104
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0
Thread 0 name:  engine_main  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x0000000193679ec4 __pthread_kill + 8
1   libsystem_pthread.dylib         0x0000000193599c00 pthread_kill$VARIANT$armv81 + 192
2   libsystem_c.dylib               0x00000001934e98c0 __abort + 112
3   libsystem_c.dylib               0x00000001934e9850 __abort + 0
4   libsystem_c.dylib               0x00000001934e8c64 err + 0
5   test55                          0x00000001043559dc dmMutex::Delete(dmMutex::Mutex*) + 2398684 (.cold.2) + 0
6   test55                          0x00000001043558cc dmMutex::Delete(dmMutex::Mutex*) + 2398412 (mutex.cpp:36)
7   test55                          0x000000010411ba10 AppFinalizeIAC(dmExtension::AppParams*) + 64016 (iac_ios.mm:170)
8   test55                          0x000000010432216c dmExtension::AppFinalize(dmExtension::AppParams*) + 2187628 (extension.cpp:144)
9   test55                          0x00000001041b6a04 dmEngine::Delete(dmEngine::Engine*) + 698884 (engine.cpp:314)
10  test55                          0x0000000104395190 ShutdownEngine + 2658704 (AppDelegate.m:112)
11  CoreFoundation                  0x0000000193887c10 __invoking___ + 144
12  CoreFoundation                  0x0000000193757b00 -[NSInvocation invoke] + 300
13  CoreFoundation                  0x00000001937586d8 -[NSInvocation invokeWithTarget:] + 76
14  test55                          0x000000010439582c -[AppDelegateProxy forwardInvocation:] + 2660396 (AppDelegateProxy.m:91)
15  CoreFoundation                  0x0000000193885a00 ___forwarding___ + 676
16  CoreFoundation                  0x0000000193887a6c _CF_forwarding_prep_0 + 92
17  UIKitCore                       0x00000001978eee98 -[UIApplication _terminateWithStatus:] + 244
18  UIKitCore                       0x00000001970b6790 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 124
19  UIKitCore                       0x00000001970b6410 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 216
20  UIKitCore                       0x00000001978e5190 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212
21  FrontBoardServices              0x000000019897e9bc -[FBSUIApplicationWorkspaceShim workspaceShouldExit:withTransitionContext:] + 84
22  FrontBoardServices              0x00000001989aa10c __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke_2 + 76
23  FrontBoardServices              0x000000019898ffb4 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232
24  FrontBoardServices              0x00000001989aa09c __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke + 124
25  libdispatch.dylib               0x000000019354f184 _dispatch_client_callout + 16
26  libdispatch.dylib               0x0000000193529420 _dispatch_block_invoke_direct$VARIANT$armv81 + 216
27  FrontBoardServices              0x00000001989cf4c8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
28  FrontBoardServices              0x00000001989cf194 -[FBSSerialQueue _queue_performNextIfPossible] + 404
29  FrontBoardServices              0x00000001989cf6bc -[FBSSerialQueue _performNextFromRunLoopSource] + 28
30  CoreFoundation                  0x00000001937ff7c4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
31  CoreFoundation                  0x00000001937ff71c __CFRunLoopDoSource0 + 80
32  CoreFoundation                  0x00000001937feeb4 __CFRunLoopDoSources0 + 180
33  CoreFoundation                  0x00000001937fa000 __CFRunLoopRun + 1080
34  CoreFoundation                  0x00000001937f98a0 CFRunLoopRunSpecific + 464
35  GraphicsServices                0x000000019d74f328 GSEventRunModal + 104
36  UIKitCore                       0x00000001978e9988 UIApplicationMain + 1936
37  test55                          0x00000001041b9a78 engine_main(int, char**) + 711288 (engine_main.cpp:50)
38  libdyld.dylib                   0x0000000193684360 start + 4