Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS crash - RCTCxxBridge enqueueApplicationScript:url:onComplete #42224

Open
rupeshkk-iprogrammer opened this issue Jan 10, 2024 · 17 comments
Open
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍 Newer Patch Available Platform: iOS iOS applications.

Comments

@rupeshkk-iprogrammer
Copy link

rupeshkk-iprogrammer commented Jan 10, 2024

Description

we are experiencing this crash after upgrading react-native version from 0.66.5 to 0.71.13

Crashed: com.apple.root.user-interactive-qos
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

  • RCTCxxBridge.mm - Line 1492
  • RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 1492
  • RCTCxxBridge.mm - Line 1088
  • RCTCxxBridge executeSourceCode:withSourceURL:sync:] + 1088
  • RCTCxxBridge.mm - Line 512

__21-[RCTCxxBridge start]_block_invoke_2 + 512We

Steps to reproduce

unable to reproduce @debug mode, only occurs in Firebase crash logs.

React Native Version

0.71.13 (false)

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
    OS: macOS 14.1.1
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 40.98 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.17.0 - ~/.nvm/versions/node/v18.17.0/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.0/bin/npm
    Watchman: 2023.06.12.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.12.1 - /Users/macbookpro/.rvm/rubies/ruby-2.7.5/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.2 AI-222.4459.24.2221.9862592
    Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.19 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0 
    react-native: 0.71.13 => 0.71.13 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Stacktrace or Logs

-[RCTCxxBridge enqueueApplicationScript:url:onComplete:]
EXC_BAD_ACCESS (KERN_INVALID_ADDRESS)

Crashed: com.apple.root.user-interactive-qos
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: com.apple.root.user-interactive-qos
0                            0x303d0c -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 1492 (RCTCxxBridge.mm:1492)
1                           0x301bf0 -[RCTCxxBridge executeSourceCode:withSourceURL:sync:] + 1088 (RCTCxxBridge.mm:1088)
2                          0x2ff8d0 __21-[RCTCxxBridge start]_block_invoke_2 + 512 (RCTCxxBridge.mm:512)
3  libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
4  libdispatch.dylib              0x3eac _dispatch_client_callout + 20
5  libdispatch.dylib              0x15a64 _dispatch_root_queue_drain + 684
6  libdispatch.dylib              0x16158 _dispatch_worker_thread2 + 164
7  libsystem_pthread.dylib        0xda0 _pthread_wqthread + 228
8  libsystem_pthread.dylib        0xb7c start_wqthread + 8

Reproducer

I can not find any pattern to get to the crash issue.

This is the stacktrace I got from firebase.

Crashlytics - Stack trace
Platform: apple
Version: 10.0.0 (1)
Issue: 79e765fc6589aab56495ab1ac2b10d63
Session: ffed3e5f7ab449729098a9cb06b42316_DNE_0_v2

com.heartbeat.storage.1:952492006042:ios:f96f3a5be793b8f2ec1d23
0 Foundation 0x3d208c specialized Data.init(referencing:) + 842
1 0xf9314 HeartbeatStorage.load(from:) + 142 (HeartbeatStorage.swift:142)
2 0xf921c closure #1 in HeartbeatStorage.readAndWriteSync(using:) + 99 (HeartbeatStorage.swift:99)
3 0xf0e30 partial apply for thunk for @callee_guaranteed () -> () + 4309257776 (:4309257776)
4 0xf03c8 thunk for @escaping @callee_guaranteed () -> () + 4309255112 (:4309255112)
5 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
6 libdispatch.dylib 0x13428 _dispatch_lane_barrier_sync_invoke_and_complete + 56
7 0xef1a8 HeartbeatController.flushHeartbeatFromToday() + 98 (HeartbeatStorage.swift:98)
8 0xed168 @objc _ObjC_HeartbeatController.flush() + 4309242216
9 0xeb224 -[FIRHeartbeatLogger heartbeatCodeForToday] + 81 (FIRHeartbeatLogger.m:81)
10 0x14ad5c -[FIRMessagingTokenFetchOperation performTokenOperation] + 61 (FIRMessagingTokenFetchOperation.m:61)
11 0x14fd34 __35-[FIRMessagingTokenOperation start]_block_invoke + 131 (FIRMessagingTokenOperation.m:131)
12 0x12ed14 __55-[FIRInstallations authTokenForcingRefresh:completion:]_block_invoke_2 + 225 (FIRInstallations.m:225)
13 0x1e9b58 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.18 + 273 (FBLPromise.m:273)
14 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32
15 libdispatch.dylib 0x3eac _dispatch_client_callout + 20
16 libdispatch.dylib 0x12700 _dispatch_main_queue_drain + 1020
17 libdispatch.dylib 0x122f4 _dispatch_main_queue_callback_4CF + 44
18 CoreFoundation 0x98c28 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
19 CoreFoundation 0x7a560 __CFRunLoopRun + 1992
20 CoreFoundation 0x7f3ec CFRunLoopRunSpecific + 612
21 GraphicsServices 0x135c GSEventRunModal + 164
22 UIKitCore 0x39cf58 -[UIApplication _run] + 888
23 UIKitCore 0x39cbbc UIApplicationMain + 340
24 0xb460 main + 7 (main.m:7)
25 ??? 0x1b8eb4dec (Missing)

Thread
0 libsystem_kernel.dylib 0x11ac __workq_kernreturn + 8
1 libsystem_pthread.dylib 0xe28 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xb7c start_wqthread + 8

Thread
0 libsystem_pthread.dylib 0xb74 start_wqthread + 254

Screenshots and Videos

photo_2024-01-10_13-21-48

@github-actions github-actions bot added Newer Patch Available Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Jan 10, 2024
Copy link

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.71.15. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@github-actions github-actions bot added the Platform: iOS iOS applications. label Jan 10, 2024
@cortinico
Copy link
Contributor

---unable to reproduce

We can't support in any way without a reproducer

@rupeshkk-iprogrammer
Copy link
Author

@cortinico I added a reproducer please check and revert Thanks

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. Needs: Author Feedback and removed Needs: Author Feedback labels Jan 10, 2024
@cortinico
Copy link
Contributor

I can not find any pattern to get to the crash issue.

@rupeshkk-iprogrammer you mentioned that you don't have a pattern to reproduce.
We'll need a project where this issue is reproducible as suggested by the bot here:
#42224 (comment)

@cortinico cortinico removed the Needs: Attention Issues where the author has responded to feedback. label Jan 10, 2024
Copy link

github-actions bot commented Feb 4, 2024

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 4, 2024
@faizanmansoori1
Copy link

@rupeshkk-iprogrammer were you able to reproduce it?

@faizanmansoori1
Copy link

I have this same error

EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000020
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x3d68 objc_release + 16
1 SafariServices 0x65d38 + 40
2 UIKitCore 0x2ff978 + 2176
3 UIKitCore 0x3447a8 + 240
4 UIKitCore 0x2b2cb0 + 140
5 UIKitCore 0x2b1d1c + 128
6 UIKitCore 0x2b2ea0 + 180
7 UIKitCore 0x2b2aa0 + 832
8 UIKitCore 0x1060598 UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK + 36
9 UIKitCore 0xce148 + 636
10 UIKitCore 0xcd0a4 + 436
11 UIKitCore 0xcc7c0 + 196
12 UIKitCore 0xcc8d4 + 472
13 QuartzCore 0x13474 + 232
14 libdispatch.dylib 0x3eac + 20
15 libdispatch.dylib 0x126a4 + 928
16 libdispatch.dylib 0x122f4 _dispatch_main_queue_callback_4CF + 44
17 CoreFoundation 0x98bb8 + 16
18 CoreFoundation 0x7a4f0 + 1992
19 CoreFoundation 0x7f37c CFRunLoopRunSpecific + 612
20 GraphicsServices 0x135c GSEventRunModal + 164
21 UIKitCore 0x39cf58 + 888
22 UIKitCore 0x39cbbc UIApplicationMain + 340
23 Engage Company 0x8a78 main + 8 (main.m:8)
24 ??? 0x1b31e8dec (Missing)

Don't what does this mean UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK

@github-actions github-actions bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 9, 2024
@maulikdhameliya
Copy link

this happens on ios when I upload the build on testflight & try to update and open it.

Steps:

  1. Kill the app from background
  2. update the app from test flight
  3. open the app

Note: It crashes very rarely but it does as many people reported. I got the logs from Firebase

0 App Prod 0x316c48 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 1429 (RCTCxxBridge.mm:1429)
1 App Prod 0x314bf0 -[RCTCxxBridge executeSourceCode:withSourceURL:sync:] + 1061 (RCTCxxBridge.mm:1061)
2 App Prod 0x312718 __21-[RCTCxxBridge start]_block_invoke_2 + 487 (RCTCxxBridge.mm:487)
3 libdispatch.dylib 0x26a8 _dispatch_call_block_and_release + 32
4 libdispatch.dylib 0x4300 _dispatch_client_callout + 20
5 libdispatch.dylib 0x15dbc _dispatch_root_queue_drain + 864
6 libdispatch.dylib 0x163ec _dispatch_worker_thread2 + 156
7 libsystem_pthread.dylib 0x1928 _pthread_wqthread + 228
8 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

@singhayush1403
Copy link

Is there a fix to this? We have started to see this ever since we upgraded to RN 0.73 and it's increasing everyday

@emsazlk
Copy link

emsazlk commented Mar 14, 2024

We get this crash after upgrading react-native version from 0.65.3 to 0.72.9.
There are quite a lot of errors.
Maybe you have any idea?

It is interesting that this error can get several times for a user.

1 1 1
{
  "code": "0x1",
  "exception_name": "EXC_BAD_ACCESS",
  "subcode": "0x0",
  "exception": 1,
  "code_name": "KERN_INVALID_ADDRESS"
}
  "dependencies": {
    "@bugsnag/react-native": "7.22.3",
    "@react-native-async-storage/async-storage": "1.21.0",
    "@react-native-camera-roll/camera-roll": "7.4.0",
    "@react-native-clipboard/clipboard": "1.11.1",
    "@react-native-cookies/cookies": "6.2.1",
    "@react-native-firebase/analytics": "18.9.0",
    "@react-native-firebase/app": "18.9.0",
    "@react-native-firebase/functions": "18.9.0",
    "@react-native-firebase/messaging": "18.9.0",
    "@react-native-firebase/perf": "18.9.0",
    "@react-native-firebase/remote-config": "18.9.0",
    "@react-navigation/bottom-tabs": "6.5.11",
    "@react-navigation/native": "6.1.9",
    "@react-navigation/native-stack": "6.9.17",
    "axios": "1.6.7",
    "i18n-js": "4.3.2",
    "jwt-decode": "3.1.2",
    "moment": "2.30.1",
    "prop-types": "15.8.1",
    "qs": "6.11.2",
    "react": "18.2.0",
    "react-native": "0.72.9",
    "react-native-code-push": "8.1.1",
    "react-native-date-picker": "4.3.5",
    "react-native-devsettings": "1.0.5",
    "react-native-gesture-handler": "2.14.1",
    "react-native-image-crop-picker": "0.40.2",
    "react-native-image-resizer": "1.4.5",
    "react-native-linear-gradient": "2.8.3",
    "react-native-onesignal": "5.0.6",
    "react-native-pager-view": "6.2.3",
    "react-native-permissions": "4.1.1",
    "react-native-rate": "1.2.12",
    "react-native-reanimated": "3.6.1",
    "react-native-render-html": "6.3.4",
    "react-native-safe-area-context": "4.8.2",
    "react-native-screens": "3.29.0",
    "react-native-tab-view": "3.5.2",
    "react-native-vision-camera": "3.9.1",
    "react-native-webview": "13.6.4",
    "react-redux": "8.1.3",
    "redux": "4.2.1",
    "redux-form": "8.3.10",
    "redux-persist": "6.0.0",
    "redux-saga": "1.3.0",
    "reselect": "4.0.0",
    "typed-redux-saga": "1.5.0",
    "url-parse": "1.5.10",
    "url-pattern": "1.0.3"
  },

Copy link

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 15, 2024
@rupeshkk-iprogrammer
Copy link
Author

any one find a solution ?

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Apr 15, 2024
@emsazlk
Copy link

emsazlk commented Apr 15, 2024

We disabled hermes and the number of errors started to drop, but this error is still there. Even with the hermes disabled

1

@github-actions github-actions bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 16, 2024
@phyng
Copy link

phyng commented Apr 28, 2024

We are encountering the same issue where this crash occurs intermittently during a cycle of cold start, swiping away, and cold starting again, particularly on some older devices. Below is a sample crash log:

Incident Identifier: DEDA22B4-B054-40CF-ACC1-A4067E2E600C
Distributor ID:      com.apple.TestFlight
Hardware Model:      iPad7,5
Process:             APP_NAME [6871]
Path:                /private/var/containers/Bundle/Application/B590E40B-2B43-44FA-84C0-B8EA277AA7FD/APP_NAME.app/APP_NAME
Identifier:          com.***
Version:             24.427.18536 (24.427.18536)
AppStoreTools:       15E204
AppVariant:          1:iPad7,5:17.4
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.*** [649]

Date/Time:           2024-04-28 14:09:01.6953 +0800
Launch Time:         2024-04-28 14:08:58.8204 +0800
OS Version:          iPhone OS 17.4.1 (21E236)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4296900608
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   1001d8000-1001dc000 [   16K] r-x/r-x SM=COW  /var/containers/Bundle/Application/B590E40B-2B43-44FA-84C0-B8EA277AA7FD/APP_NAME.app/APP_NAME
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [6871]

Triggered by Thread:  7


Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib        	0x00000001e26a5f60 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e26a5cf8 mach_msg2_internal + 76 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e26a5c84 mach_msg_overwrite + 492 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e26a5a8c mach_msg + 20 (mach_msg.c:323)
4   CoreFoundation                	0x000000019f440cd4 __CFRunLoopServiceMachPort + 156 (CFRunLoop.c:2624)
5   CoreFoundation                	0x000000019f43ec30 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x000000019f43e694 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3420)
7   GraphicsServices              	0x00000001de7f79fc GSEventRunModal + 160 (GSEvent.c:2196)
8   UIKitCore                     	0x00000001a178dedc -[UIApplication _run] + 868 (UIApplication.m:3692)
9   UIKitCore                     	0x00000001a178d548 UIApplicationMain + 312 (UIApplication.m:5282)
10  APP_NAME                        	0x00000001001df4b4 main + 80 (main.m:7)
11  dyld                          	0x00000001c06e992c start + 1572 (dyldMain.cpp:1298)

Thread 1:
0   libsystem_pthread.dylib       	0x00000001f4275120 start_wqthread + 0 (:-1)

Thread 2:
0   libsystem_pthread.dylib       	0x00000001f4275120 start_wqthread + 0 (:-1)

Thread 3:
0   libsystem_pthread.dylib       	0x00000001f4275120 start_wqthread + 0 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        	0x00000001e26a5f60 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e26a5cf8 mach_msg2_internal + 76 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e26a5c84 mach_msg_overwrite + 492 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e26a5a8c mach_msg + 20 (mach_msg.c:323)
4   CoreFoundation                	0x000000019f440cd4 __CFRunLoopServiceMachPort + 156 (CFRunLoop.c:2624)
5   CoreFoundation                	0x000000019f43ec30 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x000000019f43e694 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3420)
7   Foundation                    	0x000000019e3d0da0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208 (NSRunLoop.m:373)
8   Foundation                    	0x000000019e3f8300 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60 (NSRunLoop.m:420)
9   UIKitCore                     	0x00000001a16f8b98 -[UIEventFetcher threadMain] + 408 (UIEventFetcher.m:1201)
10  Foundation                    	0x000000019e43b55c __NSThread__start__ + 720 (NSThread.m:991)
11  libsystem_pthread.dylib       	0x00000001f42757a4 _pthread_start + 104 (pthread.c:927)
12  libsystem_pthread.dylib       	0x00000001f4275134 thread_start + 8 (:-1)

Thread 5 name:
Thread 5:
0   AGXMetalA10                   	0x0000000232f5cec8 -[AGXA10FamilyDevice initWithAcceleratorPort:simultaneousInstances:] + 68 (agxa_device_objc.mm:587)
1   AGXMetalA10                   	0x000000023304f7c4 -[AGXA10Device initWithAcceleratorPort:] + 48 (agxa_g9p_device.mm:19)
2   Metal                         	0x000000019f05ee88 MTLRegisterDevices + 188 (MTLIOAccelService.m:499)
3   Metal                         	0x000000019f05ed94 invocation function for block in MTLDeviceArrayInitialize() + 1000 (MTLDeviceArray.mm:577)
4   libdispatch.dylib             	0x00000001a6b24cc0 _dispatch_client_callout + 16 (object.m:576)
5   libdispatch.dylib             	0x00000001a6ac7810 _dispatch_once_callout + 28 (once.c:52)
6   Metal                         	0x000000019f0fba30 MTLCreateSystemDefaultDevice + 200 (MTLDeviceArray.mm:663)
7   PencilKit                     	0x00000001d5d50dd8 +[PKMetalUtility defaultDevice] + 12 (PKMetalUtility.m:52)
8   PencilKit                     	0x00000001d5c7abd8 +[PKTiledCanvasView prewarmFutureCanvasesIfNecessarySecureRendering:prewarmSharedResourceHandler:] + 40 (PKTiledCanvasView.mm:349)
9   PencilKit                     	0x00000001d5d2ed38 +[PKTextInputCanvasController prewarmFutureCanvasesIfNecessarySecureRendering:] + 48 (PKTextInputCanvasController.mm:83)
10  PencilKit                     	0x00000001d5caaf80 __40-[PKTextInputInteraction didMoveToView:]_block_invoke.29 + 200 (PKTextInputInteraction.m:323)
11  libdispatch.dylib             	0x00000001a6b23c9c _dispatch_call_block_and_release + 24 (init.c:1530)
12  libdispatch.dylib             	0x00000001a6b24cc0 _dispatch_client_callout + 16 (object.m:576)
13  libdispatch.dylib             	0x00000001a6ad5644 _dispatch_root_queue_drain + 836 (queue.c:7136)
14  libdispatch.dylib             	0x00000001a6ad5c3c _dispatch_worker_thread2 + 164 (queue.c:7204)
15  libsystem_pthread.dylib       	0x00000001f427504c _pthread_wqthread + 224 (pthread.c:2678)
16  libsystem_pthread.dylib       	0x00000001f4275128 start_wqthread + 8 (:-1)

Thread 6:
0   libsystem_pthread.dylib       	0x00000001f4275120 start_wqthread + 0 (:-1)

Thread 7 name:
Thread 7 Crashed:
0   APP_NAME                        	0x00000001004b3e38 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 132 (RCTCxxBridge.mm:1429)
1   APP_NAME                        	0x00000001004b1d58 -[RCTCxxBridge executeSourceCode:withSourceURL:sync:] + 176 (RCTCxxBridge.mm:1057)
2   APP_NAME                        	0x00000001004afa78 __21-[RCTCxxBridge start]_block_invoke_2 + 88 (RCTCxxBridge.mm:485)
3   libdispatch.dylib             	0x00000001a6b23c9c _dispatch_call_block_and_release + 24 (init.c:1530)
4   libdispatch.dylib             	0x00000001a6b24cc0 _dispatch_client_callout + 16 (object.m:576)
5   libdispatch.dylib             	0x00000001a6ad5644 _dispatch_root_queue_drain + 836 (queue.c:7136)
6   libdispatch.dylib             	0x00000001a6ad5c3c _dispatch_worker_thread2 + 164 (queue.c:7204)
7   libsystem_pthread.dylib       	0x00000001f427504c _pthread_wqthread + 224 (pthread.c:2678)
8   libsystem_pthread.dylib       	0x00000001f4275128 start_wqthread + 8 (:-1)

Thread 8 name:
Thread 8:
0   hermes                        	0x00000001057f7c84 hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime&, hermes::vm::InterpreterSt... + 7772
1   hermes                        	0x00000001057f5e00 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 52 (:-1)
2   hermes                        	0x0000000105826818 hermes::vm::Runtime::runBytecode(std::__1::shared_ptr<hermes::hbc::BCProviderBase>&&, hermes::vm::RuntimeModuleFlags, llvh::StringRef, hermes::vm::Handle<hermes::vm::Environment>, hermes::vm::Handl... + 1204 (:-1)
3   hermes                        	0x00000001057ceb50 facebook::hermes::HermesRuntimeImpl::evaluatePreparedJavaScript(std::__1::shared_ptr<facebook::jsi::PreparedJavaScript const> const&) + 224
4   hermes                        	0x00000001057ce9e8 facebook::hermes::HermesRuntime::evaluateJavaScriptWithSourceMap(std::__1::shared_ptr<facebook::jsi::Buffer const> const&, std::__1::shared_ptr<facebook::jsi::Buffer const> const&, std::__1::basic_... + 88
5   hermes                        	0x00000001057cf928 facebook::hermes::HermesRuntimeImpl::evaluateJavaScript(std::__1::shared_ptr<facebook::jsi::Buffer const> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>... + 32
6   APP_NAME                        	0x0000000100661c90 facebook::jsi::RuntimeDecorator<facebook::jsi::Runtime, facebook::jsi::Runtime>::evaluateJavaScript(std::__1::shared_ptr<facebook::jsi::Buffer const> const&, std::__1::basic_string<char, std::__1::... + 28 (decorator.h:118)
7   APP_NAME                        	0x0000000100661c90 facebook::jsi::WithRuntimeDecorator<facebook::react::(anonymous namespace)::ReentrancyCheck, facebook::jsi::Runtime, facebook::jsi::Runtime>::evaluateJavaScript(std::__1::shared_ptr<facebook::jsi::... + 76 (decorator.h:530)
8   APP_NAME                        	0x000000010066753c facebook::react::JSIExecutor::loadBundle(std::__1::unique_ptr<facebook::react::JSBigString const, std::__1::default_delete<facebook::react::JSBigString const>>, std::__1::basic_string<char, std::__... + 372 (JSIExecutor.cpp:160)
9   APP_NAME                        	0x000000010065b8cc facebook::react::NativeToJsBridge::loadBundle(std::__1::unique_ptr<facebook::react::RAMBundleRegistry, std::__1::default_delete<facebook::react::RAMBundleRegistry>>, std::__1::unique_ptr<facebook::... + 112 (NativeToJsBridge.cpp:144)
10  APP_NAME                        	0x000000010065b8cc decltype(std::declval<facebook::react::NativeToJsBridge::loadBundle(std::__1::unique_ptr<facebook::react::RAMBundleRegistry, std::__1::default_delete<facebook::react::RAMBundleRegistry>>, std::__1:... + 120 (invoke.h:394)
11  APP_NAME                        	0x000000010065b8cc void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::NativeToJsBridge::loadBundle(std::__1::unique_ptr<facebook::react::RAMBundleRegistry, std::__1::default_delete<faceb... + 120 (invoke.h:487)
12  APP_NAME                        	0x000000010065b8cc std::__1::__function::__alloc_func<facebook::react::NativeToJsBridge::loadBundle(std::__1::unique_ptr<facebook::react::RAMBundleRegistry, std::__1::default_delete<facebook::react::RAMBundleRegistry... + 120 (function.h:185)
13  APP_NAME                        	0x000000010065b8cc std::__1::__function::__func<facebook::react::NativeToJsBridge::loadBundle(std::__1::unique_ptr<facebook::react::RAMBundleRegistry, std::__1::default_delete<facebook::react::RAMBundleRegistry>>, st... + 144 (function.h:356)
14  APP_NAME                        	0x000000010065c8a4 std::__1::__function::__value_func<void (facebook::react::JSExecutor*)>::operator()[abi:v160006](facebook::react::JSExecutor*&&) const + 24 (function.h:510)
15  APP_NAME                        	0x000000010065c8a4 std::__1::function<void (facebook::react::JSExecutor*)>::operator()(facebook::react::JSExecutor*) const + 24 (function.h:1156)
16  APP_NAME                        	0x000000010065c8a4 facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8::operator()() const + 48 (NativeToJsBridge.cpp:308)
17  APP_NAME                        	0x000000010065c8a4 decltype(std::declval<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8&>()()) std::__1::__invoke[abi:v160006]<facebook::react::Nat... + 48 (invoke.h:394)
18  APP_NAME                        	0x000000010065c8a4 void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8&>(facebook::react... + 48 (invoke.h:487)
19  APP_NAME                        	0x000000010065c8a4 std::__1::__function::__alloc_func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeTo... + 48 (function.h:185)
20  APP_NAME                        	0x000000010065c8a4 std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBrid... + 60 (function.h:356)
21  APP_NAME                        	0x00000001004b9110 std::__1::__function::__value_func<void ()>::operator()[abi:v160006]() const + 20 (function.h:510)
22  APP_NAME                        	0x00000001004b9110 std::__1::function<void ()>::operator()() const + 20 (function.h:1156)
23  APP_NAME                        	0x00000001004b9110 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 32 (RCTCxxUtils.mm:73)
24  APP_NAME                        	0x00000001004c4a60 facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 24 (RCTMessageThread.mm:68)
25  APP_NAME                        	0x00000001004c486c std::__1::__function::__value_func<void ()>::operator()[abi:v160006]() const + 20 (function.h:510)
26  APP_NAME                        	0x00000001004c486c std::__1::function<void ()>::operator()() const + 20 (function.h:1156)
27  APP_NAME                        	0x00000001004c486c invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) + 44 (RCTMessageThread.mm:44)
28  CoreFoundation                	0x000000019f442254 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20 (CFRunLoop.c:1805)
29  CoreFoundation                	0x000000019f440b78 __CFRunLoopDoBlocks + 352 (CFRunLoop.c:1847)
30  CoreFoundation                	0x000000019f43f15c __CFRunLoopRun + 2532 (CFRunLoop.c:3203)
31  CoreFoundation                	0x000000019f43e694 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3420)
32  APP_NAME                        	0x00000001004ae8c8 +[RCTCxxBridge runRunLoop] + 212 (RCTCxxBridge.mm:332)
33  Foundation                    	0x000000019e43b55c __NSThread__start__ + 720 (NSThread.m:991)
34  libsystem_pthread.dylib       	0x00000001f42757a4 _pthread_start + 104 (pthread.c:927)
35  libsystem_pthread.dylib       	0x00000001f4275134 thread_start + 8 (:-1)

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib        	0x00000001e26a6858 __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f42780fc _pthread_cond_wait$VARIANT$mp + 1232 (pthread_cond.c:862)
2   libc++.1.dylib                	0x00000001ae86d188 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24 (condition_variable.cpp:45)
3   hermes                        	0x0000000105894108 hermes::vm::HadesGC::Executor::worker() + 316 (:-1)
4   hermes                        	0x0000000105893fa8 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, hermes::vm::HadesGC::Executor::Exec... + 44 (:-1)
5   libsystem_pthread.dylib       	0x00000001f42757a4 _pthread_start + 104 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001f4275134 thread_start + 8 (:-1)

Thread 10 name:
Thread 10:
0   libsystem_kernel.dylib        	0x00000001e26a5f60 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e26a5cf8 mach_msg2_internal + 76 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e26a5c84 mach_msg_overwrite + 492 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e26a5a8c mach_msg + 20 (mach_msg.c:323)
4   CoreFoundation                	0x000000019f440cd4 __CFRunLoopServiceMachPort + 156 (CFRunLoop.c:2624)
5   CoreFoundation                	0x000000019f43ec30 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x000000019f43e694 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3420)
7   Foundation                    	0x000000019e3d0da0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208 (NSRunLoop.m:373)
8   TextToSpeech                  	0x00000001be6c85b0 -[TTSSpeechThread main] + 304 (TTSSpeechThread.m:63)
9   Foundation                    	0x000000019e43b55c __NSThread__start__ + 720 (NSThread.m:991)
10  libsystem_pthread.dylib       	0x00000001f42757a4 _pthread_start + 104 (pthread.c:927)
11  libsystem_pthread.dylib       	0x00000001f4275134 thread_start + 8 (:-1)

Thread 11 name:
Thread 11:
0   libsystem_kernel.dylib        	0x00000001e26a68a8 __ulock_wake + 8 (:-1)
1   libsystem_platform.dylib      	0x00000001f41c131c _os_unfair_lock_unlock_slow + 52 (:-1)
2   libobjc.A.dylib               	0x00000001976bb768 objc_setAssociatedObject + 800 (objc-runtime.mm:729)
3   TextToSpeech                  	0x00000001be6ddd94 -[AVSpeechSynthesisProviderVoice(AXSpeechPublicInterface_Private) setHasPerVoiceSettings:] + 64 (TTSSpeechSynthesizerProviderVoice.m:388)
4   TextToSpeech                  	0x00000001be6dd9ac -[AVSpeechSynthesisProviderVoice(AXSpeechPublicInterface_Private) copyWithZone:] + 516 (TTSSpeechSynthesizerProviderVoice.m:301)
5   TextToSpeech                  	0x00000001be6e41e4 -[TTSSpeechVoice copyWithZone:] + 404 (TTSSpeechVoice.m:85)
6   TextToSpeech                  	0x00000001be6bf3d0 -[TTSAXResource copyWithZone:] + 364 (TTSAXResource.m:593)
7   CoreFoundation                	0x000000019f44c000 -[NSArray initWithArray:range:copyItems:] + 272 (NSArray.m:738)
8   CoreFoundation                	0x000000019f44bec0 -[__NSPlaceholderArray initWithArray:copyItems:] + 104 (NSPlaceholderArray.m:98)
9   TextToSpeech                  	0x00000001be6d13c4 __41-[TTSAXResourceManager _resourceSnapShot]_block_invoke + 260 (TTSAXResourceManager.m:134)
10  AXCoreUtilities               	0x00000001aaee7a5c AX_PERFORM_WITH_LOCK + 44 (AXConcurrencyUtilities.m:89)
11  TextToSpeech                  	0x00000001be6d1270 -[TTSAXResourceManager _resourceSnapShot] + 124 (TTSAXResourceManager.m:126)
12  TextToSpeech                  	0x00000001be6d1484 -[TTSAXResourceManager resources] + 52 (TTSAXResourceManager.m:143)
13  TextToSpeech                  	0x00000001be6d42fc -[TTSAXResourceManager _resourcesWithType:subType:languageCode:] + 52 (TTSAXResourceManager.m:721)
14  TextToSpeech                  	0x00000001be6e0fc0 +[TTSSpeechSynthesizer _speechVoiceForIdentifier:language:footprint:] + 360 (TTSSpeechSynthesizer.m:1035)
15  TextToSpeech                  	0x00000001be6def00 -[TTSSpeechSynthesizer voiceIdentifier] + 56 (TTSSpeechSynthesizer.m:528)
16  TextToSpeech                  	0x00000001be6ed148 -[TTSSpeechManager _startNextSpeechJob] + 1388 (TTSSpeechManager.m:1305)
17  TextToSpeech                  	0x00000001be6ee040 -[TTSSpeechManager _dispatchSpeechAction:] + 1264 (TTSSpeechManager.m:1433)
18  Foundation                    	0x000000019e46f6c4 __NSThreadPerformPerform + 124 (NSThread.m:1084)
19  CoreFoundation                	0x000000019f4421dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1957)
20  CoreFoundation                	0x000000019f4414e4 __CFRunLoopDoSource0 + 172 (CFRunLoop.c:2001)
21  CoreFoundation                	0x000000019f43fdd4 __CFRunLoopDoSources0 + 232 (CFRunLoop.c:2038)
22  CoreFoundation                	0x000000019f43ea88 __CFRunLoopRun + 784 (CFRunLoop.c:2955)
23  CoreFoundation                	0x000000019f43e694 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3420)
24  Foundation                    	0x000000019e3d0da0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208 (NSRunLoop.m:373)
25  TextToSpeech                  	0x00000001be6c85b0 -[TTSSpeechThread main] + 304 (TTSSpeechThread.m:63)
26  Foundation                    	0x000000019e43b55c __NSThread__start__ + 720 (NSThread.m:991)
27  libsystem_pthread.dylib       	0x00000001f42757a4 _pthread_start + 104 (pthread.c:927)
28  libsystem_pthread.dylib       	0x00000001f4275134 thread_start + 8 (:-1)

Thread 12 name:
Thread 12:
0   MobileAsset                   	0x00000001c7a3b75c -[MAXpcManager initWithServiceName:callbackQueue:] + 0 (MAXpcManager.m:530)
1   MobileAsset                   	0x00000001c7a1c30c ___getCommsManager_block_invoke + 88 (MAClientComms.m:64)
2   libdispatch.dylib             	0x00000001a6b24cc0 _dispatch_client_callout + 16 (object.m:576)
3   libdispatch.dylib             	0x00000001a6ac7810 _dispatch_once_callout + 28 (once.c:52)
4   MobileAsset                   	0x00000001c7a1c2b0 _getCommsManager + 100 (MAClientComms.m:62)
5   MobileAsset                   	0x00000001c7a30bfc -[MAAssetQuery queryMetaDataSync] + 568 (MAAssetQuery.m:437)
6   AXAssetLoader                 	0x00000001e9bff72c -[AXAssetController isAssetCatalogInstalled] + 44 (AXAssetController.m:217)
7   TextToSpeech                  	0x00000001be6d8db0 -[TTSAXResourceManager _findResourcesForLegacyAssets] + 172 (TTSAXResourceManager.m:1844)
8   TextToSpeech                  	0x00000001be6d1ea4 __73-[TTSAXResourceManager _mergeInExpensiveInstalledAssets:notifyObservers:]_block_invoke + 140 (TTSAXResourceManager.m:251)
9   libdispatch.dylib             	0x00000001a6b23c9c _dispatch_call_block_and_release + 24 (init.c:1530)
10  libdispatch.dylib             	0x00000001a6b24cc0 _dispatch_client_callout + 16 (object.m:576)
11  libdispatch.dylib             	0x00000001a6acc3f8 _dispatch_lane_serial_drain$VARIANT$mp + 704 (queue.c:3900)
12  libdispatch.dylib             	0x00000001a6acce74 _dispatch_lane_invoke$VARIANT$mp + 380 (queue.c:3991)
13  libdispatch.dylib             	0x00000001a6ad6794 _dispatch_root_queue_drain_deferred_wlh + 252 (queue.c:6998)
14  libdispatch.dylib             	0x00000001a6ad60a8 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
15  libsystem_pthread.dylib       	0x00000001f4275088 _pthread_wqthread + 284 (pthread.c:2665)
16  libsystem_pthread.dylib       	0x00000001f4275128 start_wqthread + 8 (:-1)

Thread 13:
0   StoreKit                      	0x00000001c5bdd4e4 type metadata completion function for PurchaseIntentRequest.Query + 0 (<compiler-generated>:0)
1   libswiftCore.dylib            	0x0000000198b8ac78 swift::MetadataCacheEntryBase<(anonymous namespace)::SingletonMetadataCacheEntry, int>::doInitialization(swift::MetadataWaitQueue::Worker&, swift::MetadataRequest) + 236 (MetadataCache.h:1251)
2   libswiftCore.dylib            	0x0000000198b7855c swift_getSingletonMetadata + 628 (Metadata.cpp:1152)
3   StoreKit                      	0x00000001c5bda4a4 type metadata accessor for PurchaseIntentRequest.Add + 44
4   StoreKit                      	0x00000001c5b15e9c specialized PurchaseIntent.PurchaseIntentListener.checkPurchaseIntents() + 192 (<compiler-generated>:0)
5   StoreKit                      	0x00000001c5b1a861 specialized closure #2 in PurchaseIntent.PurchaseIntentListener.addContinuation(_:) + 1
6   StoreKit                      	0x00000001c5b1a86d partial apply for specialized closure #2 in PurchaseIntent.PurchaseIntentListener.addContinuation(_:) + 1
7   libswift_Concurrency.dylib    	0x00000001a9bf5e2d completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:463)

Thread 14:
0   libsystem_pthread.dylib       	0x00000001f4275120 start_wqthread + 0 (:-1)

Thread 15 name:
Thread 15:
0   libsystem_kernel.dylib        	0x00000001e26a6858 __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f42780fc _pthread_cond_wait$VARIANT$mp + 1232 (pthread_cond.c:862)
2   libc++.1.dylib                	0x00000001ae86d188 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24 (condition_variable.cpp:45)
3   hermes                        	0x0000000105894108 hermes::vm::HadesGC::Executor::worker() + 316 (:-1)
4   hermes                        	0x0000000105893fa8 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, hermes::vm::HadesGC::Executor::Exec... + 44 (:-1)
5   libsystem_pthread.dylib       	0x00000001f42757a4 _pthread_start + 104 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001f4275134 thread_start + 8 (:-1)

Thread 16:
0   libsystem_pthread.dylib       	0x00000001f4275120 start_wqthread + 0 (:-1)

Thread 17 name:
Thread 17:
0   libsystem_platform.dylib      	0x00000001f41bf624 __bzero + 68
1   libdispatch.dylib             	0x00000001a6ae305c _dispatch_kq_drain + 112 (event_kevent.c:805)
2   libdispatch.dylib             	0x00000001a6ae2f68 _dispatch_event_loop_drain$VARIANT$mp + 336 (event_kevent.c:1933)
3   libdispatch.dylib             	0x00000001a6ac7b78 _dispatch_set_priority_and_mach_voucher_slow$VARIANT$mp + 180 (queue.c:193)
4   libdispatch.dylib             	0x00000001a6ac7d30 _dispatch_set_priority_and_voucher_slow$VARIANT$mp + 212 (queue.c:224)
5   libdispatch.dylib             	0x00000001a6add3d8 _dispatch_mach_msg_invoke$VARIANT$mp + 584 (mach.c:2511)
6   libdispatch.dylib             	0x00000001a6acc288 _dispatch_lane_serial_drain$VARIANT$mp + 336 (queue.c:3900)
7   libdispatch.dylib             	0x00000001a6addee4 _dispatch_mach_invoke$VARIANT$mp + 448 (mach.c:2861)
8   libdispatch.dylib             	0x00000001a6acc288 _dispatch_lane_serial_drain$VARIANT$mp + 336 (queue.c:3900)
9   libdispatch.dylib             	0x00000001a6acce74 _dispatch_lane_invoke$VARIANT$mp + 380 (queue.c:3991)
10  libdispatch.dylib             	0x00000001a6ad6794 _dispatch_root_queue_drain_deferred_wlh + 252 (queue.c:6998)
11  libdispatch.dylib             	0x00000001a6ad60a8 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
12  libsystem_pthread.dylib       	0x00000001f4275088 _pthread_wqthread + 284 (pthread.c:2665)
13  libsystem_pthread.dylib       	0x00000001f4275128 start_wqthread + 8 (:-1)


Thread 7 crashed with ARM Thread State (64-bit):
    x0: 0x00000003016195f0   x1: 0x0000000199a3a756   x2: 0x000000020bb2dbb0   x3: 0x0000000300d3aac0
    x4: 0x0000000302d69340   x5: 0x0000000106081800   x6: 0x0000000000000600   x7: 0x0000000000000000
    x8: 0x000000000000fffe   x9: 0x00000000c3000004  x10: 0x00000000c3000006  x11: 0x0000000000000000
   x12: 0x0000000000000018  x13: 0x0000000105f42950  x14: 0x000021a20bb2dbb1  x15: 0x000000020bb2dbb0
   x16: 0x00000001f4270fa8  x17: 0x000000019e4108a8  x18: 0x0000000000000000  x19: 0x00000003016195f0
   x20: 0x0000000000000000  x21: 0x000000017010ede8  x22: 0x0000000300d61240  x23: 0x0000000000000000
   x24: 0x000000020bb1e428  x25: 0x000000017010f0e0  x26: 0x0000000300d68a40  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000017010ee30   lr: 0x00000001004b3e2c
    sp: 0x000000017010ede0   pc: 0x00000001004b3e38 cpsr: 0x60000000
   esr: 0x92000006 (Data Abort) byte read Translation fault


Binary Images:
        0x1001d8000 -         0x1021dbfff APP_NAME arm64  <29e95b268a3b3c85aba3bf68074ff9a8> /private/var/containers/Bundle/Application/B590E40B-2B43-44FA-84C0-B8EA277AA7FD/APP_NAME.app/APP_NAME
        0x1027ac000 -         0x1027b7fff libobjc-trampolines.dylib arm64  <0692761ddc003a4eb59a0a43b3739760> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
        0x102c1c000 -         0x104877fff MobileVLCKit arm64  <d920ea2e50b93d09a08df81a149a4fab> /private/var/containers/Bundle/Application/B590E40B-2B43-44FA-84C0-B8EA277AA7FD/APP_NAME.app/Frameworks/MobileVLCKit.framework/MobileVLCKit
        0x1057c8000 -         0x105997fff hermes arm64  <52dbb7f0f6153cb3af630ab25e54ae6d> /private/var/containers/Bundle/Application/B590E40B-2B43-44FA-84C0-B8EA277AA7FD/APP_NAME.app/Frameworks/hermes.framework/hermes
        0x1976b4000 -         0x1976f5ebb libobjc.A.dylib arm64  <49d6d881c08830f991b56641264b4f62> /usr/lib/libobjc.A.dylib
        0x19887c000 -         0x198cfafff libswiftCore.dylib arm64  <d1a7d421409e3a5a9c40d146c6646ba9> /usr/lib/swift/libswiftCore.dylib
        0x19e3a8000 -         0x19ee67fff Foundation arm64  <077203795ffe3a4197a52562392843b7> /System/Library/Frameworks/Foundation.framework/Foundation
        0x19f016000 -         0x19f216fff Metal arm64  <6f32b98964d43f66bd9a96d6f71ead5f> /System/Library/Frameworks/Metal.framework/Metal
        0x19f40d000 -         0x19f926fff CoreFoundation arm64  <a16bdab411ab35c8aa5c706f482b5eab> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
        0x1a157e000 -         0x1a2f4bfff UIKitCore arm64  <eea1886f322731c9b7d8202af6530cff> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
        0x1a6ac2000 -         0x1a6b44fff libdispatch.dylib arm64  <8a21415c51af3afc8ba77ec2d9f7eef1> /usr/lib/system/libdispatch.dylib
        0x1a9bb7000 -         0x1a9c0aff3 libswift_Concurrency.dylib arm64  <c44204bf22e0315685ec5959e66dcde1> /usr/lib/swift/libswift_Concurrency.dylib
        0x1aaedd000 -         0x1aaef6fff AXCoreUtilities arm64  <eb53a1d0cf9a3497ae4ad952675832a8> /System/Library/PrivateFrameworks/AXCoreUtilities.framework/AXCoreUtilities
        0x1ae85d000 -         0x1ae8deff7 libc++.1.dylib arm64  <042c0c9dae0134979f8ac58912b2c2ff> /usr/lib/libc++.1.dylib
        0x1be6a9000 -         0x1be7d5fff TextToSpeech arm64  <0618b2dc24293cf89f2f1f01415061d2> /System/Library/PrivateFrameworks/TextToSpeech.framework/TextToSpeech
        0x1c06e4000 -         0x1c0765797 dyld arm64  <38f8a527bd7734df8c8a45745bb789e5> /usr/lib/dyld
        0x1c5ab5000 -         0x1c5c2efff StoreKit arm64  <e8b66d790b7739aba52ca77ae6b6059a> /System/Library/Frameworks/StoreKit.framework/StoreKit
        0x1c7a13000 -         0x1c7ab7fff MobileAsset arm64  <0a0d786a5d793191869329d52127a4b2> /System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset
        0x1d5c18000 -         0x1d5f51fff PencilKit arm64  <1d9231c810bd39a4b907ff4456977422> /System/Library/Frameworks/PencilKit.framework/PencilKit
        0x1de7f4000 -         0x1de7fcfff GraphicsServices arm64  <aa668a12aace30ed8e7fb6dfe9cf943c> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
        0x1e26a5000 -         0x1e26dbfe7 libsystem_kernel.dylib arm64  <c46c94539e213b8e8ba3b3561b9ef9ab> /usr/lib/system/libsystem_kernel.dylib
        0x1e9bf2000 -         0x1e9c0dfff AXAssetLoader arm64  <4adacf1c39d9398588c87a908ec3871b> /System/Library/PrivateFrameworks/AXAssetLoader.framework/AXAssetLoader
        0x1f41be000 -         0x1f41c9ff7 libsystem_platform.dylib arm64  <601f217d98763898b32d50127875dfa0> /usr/lib/system/libsystem_platform.dylib
        0x1f4270000 -         0x1f4273ffc libsystem_blocks.dylib arm64  <6df1f2f576b33e5883a6434a96046a9b> /usr/lib/system/libsystem_blocks.dylib
        0x1f4274000 -         0x1f4284ff7 libsystem_pthread.dylib arm64  <289932280d2536f3ba925dd1e5a1a832> /usr/lib/system/libsystem_pthread.dylib
        0x232f2a000 -         0x2330a5fff AGXMetalA10 arm64  <6c28323558143b999373ea3313424988> /System/Library/Extensions/AGXMetalA10.bundle/AGXMetalA10

EOF

@singhayush1403
Copy link

Did anyone fix it? Still causing a lot of crashes in my app

@emsazlk
Copy link

emsazlk commented Sep 9, 2024

In my case I get this error when get rootView in didFinishLaunchingWithOptions.

I fixed this error with the code below

Old code
AppDelegate.mm

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  self.moduleName = @"projectName";

  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
                                                    moduleName:@"projectName"
                                              initialProperties:nil];
  rootView.backgroundColor = [UIColor whiteColor];

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];

  [LaunchScreen show:@"LaunchScreen" inRootView:rootView];

  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

New code

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  self.moduleName = @"projectName";

  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

- (UIView *)createRootViewWithBridge:(RCTBridge *)bridge
                          moduleName:(NSString *)moduleName
                           initProps:(NSDictionary *)initProps {
  UIView *rootView = [super createRootViewWithBridge:bridge moduleName:moduleName initProps:initProps];

  [LaunchScreen show:@"LaunchScreen" inRootView:rootView];

  return rootView;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍 Newer Patch Available Platform: iOS iOS applications.
Projects
None yet
Development

No branches or pull requests

7 participants