0 votes

I export my game for iOS compiled with FaceBook custom module.
The app works OK and everything looks fine.
When I terminate the game I am getting a crash. I noticed that I get the crash only when I click at least once somewhere on the screen. If I do not click, there is not crash.

Here is the crash details:

 Incident Identifier: 5C365089-F6DF-4521-B707-83829EF81FCA
Beta Identifier:     B36E6F35-6EBD-4FA0-8DA6-F3E7AC15D974
Hardware Model:      iPhone9,3
Process:             my-game [480]
Path:                /private/var/containers/Bundle/Application/421D4198-3859-4FC9-B020-5FC5BA48E746/my-game.app/my-game
Identifier:          com.mygame
Version:             8 (1.0)
AppStoreTools:       11C29
AppVariant:          1:iPhone9,3:13
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.mygame [619]

Date/Time:           2020-01-19 23:48:36.7786 +0200
Launch Time:         2020-01-19 23:48:32.2290 +0200
OS Version:          iPhone OS 13.3 (17C54)
Release Type:        User
Baseband Version:    4.01.02
Report Version:      104

Exception Subtype: KERN_INVALID_ADDRESS at 0x00009d8050771020
VM Region Info: 0x9d8050771020 is not in any region.  Bytes after previous region: 173163157065761  
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      MALLOC_NANO            0000000280000000-00000002a0000000 [512.0M] rw-/rwx SM=PRV  

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [480]
Triggered by Thread:  0

Thread 0 name:
Thread 0 Crashed:
0   my-game                     0x00000001032d03e8 StringName::unref() + 72
1   my-game                     0x00000001032d0ff4 StringName::~StringName() + 16
2   UIKitCore                       0x00000001a1024e78 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionSto... + 124 (_UISceneLifecycleMultiplexer.m:767)
3   UIKitCore                       0x00000001a1024af8 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 216 (_UISceneLifecycleMultiplexer.m:418)
4   UIKitCore                       0x00000001a1855324 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212 (UIApplication.m:3678)
5   FrontBoardServices              0x00000001a28ff90c -[FBSUIApplicationWorkspaceShim workspaceShouldExit:withTransitionContext:] + 84 (FBSUIApplicationWorkspace.m:144)
6   FrontBoardServices              0x00000001a292b05c __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_inv... + 76 (FBSWorkspaceScenesClient.m:281)
7   FrontBoardServices              0x00000001a2910f04 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232 (FBSWorkspace.m:357)
8   FrontBoardServices              0x00000001a292afec __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke + 124 (FBSWorkspaceScenesClient.m:278)
9   libdispatch.dylib               0x000000019d4b3184 _dispatch_client_callout + 16 (object.m:495)
10  libdispatch.dylib               0x000000019d45bfd8 _dispatch_block_invoke_direct$VARIANT$mp + 224 (queue.c:466)
11  FrontBoardServices              0x00000001a2950418 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40 (FBSSerialQueue.m:173)
12  FrontBoardServices              0x00000001a29500e4 -[FBSSerialQueue _queue_performNextIfPossible] + 404 (FBSSerialQueue.m:216)
13  FrontBoardServices              0x00000001a295060c -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:247)
14  CoreFoundation                  0x000000019d764a00 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1922)
15  CoreFoundation                  0x000000019d764958 __CFRunLoopDoSource0 + 80 (CFRunLoop.c:1956)
16  CoreFoundation                  0x000000019d7640f0 __CFRunLoopDoSources0 + 180 (CFRunLoop.c:1992)
17  CoreFoundation                  0x000000019d75f23c __CFRunLoopRun + 1080 (CFRunLoop.c:2882)
18  CoreFoundation                  0x000000019d75eadc CFRunLoopRunSpecific + 464 (CFRunLoop.c:3192)
19  GraphicsServices                0x00000001a76e4328 GSEventRunModal + 104 (GSEvent.c:2246)
20  UIKitCore                       0x00000001a1859ae0 UIApplicationMain + 1936 (UIApplication.m:4773)
21  my-game                     0x0000000102424314 main + 120

Does anyone have a clue?

in Engine by (50 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.