invertase / react-native-firebase

🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
https://rnfirebase.io
Other
11.63k stars 2.2k forks source link

__55-[FIRDLJavaScriptExecutor webView:didFinishNavigation:]_block_invoke_2 EXC_BAD_ACCESS (KERN_INVALID_ADDRESS) #7644

Closed SERCHAT closed 6 months ago

SERCHAT commented 6 months ago

__55-[FIRDLJavaScriptExecutor webView:didFinishNavigation:]_block_invoke_2 EXC_BAD_ACCESS (KERN_INVALID_ADDRESS)

Hi every one, fist of all thank you for this awesome library it is so usefull. I have been using this library for two years and this is the first time I encountered this error. As I mentioned in the title, I caught this error thanks to the firebase console and there is no other explanation other than this title. From what I understand, this bug only affects iOS devices. Since our application is actively used, I need to solve this error as soon as possible. I have no doubt that you will help me and my friends who receive this error. Thank you very much in advance. We only use "dynamic links" in our application and I did the installation according to what is explained at this address "https://rnfirebase.io/dynamic-links/usage".


Project Files

Javascript

Click To Expand

#### `package.json`: ```json "@react-native-firebase/app": "^18.8.0", "@react-native-firebase/dynamic-links": "^18.8.0" ``` #### `firebase.json` for react-native-firebase v6: ```json "react-native": { "crashlytics_debug_enabled": true, "crashlytics_is_error_generation_on_js_crash_enabled": true, "crashlytics_javascript_exception_handler_chaining_enabled": true } ```

iOS

Click To Expand

#### `ios/Podfile`: - [ x] I'm not using Pods - [x] I'm using Pods and my Podfile looks like:


Android

Click To Expand

#### Have you converted to AndroidX? - [x ] my application is an AndroidX application? - [ x] I am using `android/gradle.settings` `jetifier=true` for Android compatibility? - [ ] I am using the NPM package `jetifier` for react-native compatibility? #### `android/build.gradle`: ```groovy // N/A ``` #### `android/app/build.gradle`: ```groovy // N/A ``` #### `android/settings.gradle`: ```groovy // N/A ``` #### `MainApplication.java`: ```java // N/A ``` #### `AndroidManifest.xml`: ```xml ```


Environment

Click To Expand

**`react-native info` output:** ``` System: OS: Windows 10 10.0.19045 CPU: (4) x64 Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz Memory: 736.07 MB / 7.88 GB Binaries: Node: 20.10.0 - C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD Watchman: 20220313.154008.0 - C:\watchman\bin\watchman.EXE SDKs: Android SDK: API Levels: 23, 28, 29, 30, 31, 32, 33, 34 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 33.0.0, 33.0.1, 34.0.0, 34.0.0 System Images: android-24 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86_64 Atom, android-32 | Google Play Intel x86 Atom_64, android-33 | Google APIs Intel x86_64 Atom, android-34 | Google APIs Intel x86_64 Atom, android-34 | Google Play Intel x86_64 Atom Android NDK: 22.1.7171670 Windows SDK: AllowAllTrustedApps: Disabled Versions: 10.0.19041.0 IDEs: Android Studio: Version 2021.1.0.0 AI-211.7628.21.2111.8193401 Visual Studio: Not Found Languages: Java: 16.0.2 - /c/Program Files/Java/jdk-16.0.2/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.72.5 => 0.72.5 react-native-windows: Not Found npmGlobalPackages: *react-native*: Not Found ``` - **Platform that you're experiencing the issue on**: - [x] iOS - [ ] Android - [ ] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`react-native-firebase` version you're using that has this issue:** - `0.72.5` - **`Firebase` module(s) you're using that has the issue:** - `@react-native-firebase/dynamic-links` - **Are you using `TypeScript`?** - `YES`


CRASH SESSION OUTPUT

Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x330c objc_release + 16
1  libobjc.A.dylib                0x330c objc_release_x0 + 16
2  APP 0x98f14 __55-[FIRDLJavaScriptExecutor webView:didFinishNavigation:]_block_invoke_2 + 140 (FIRDLJavaScriptExecutor.m:140)
3  WebKit                         0x700ce8 <redacted> + 316
4  WebKit                         0x700920 <redacted> + 320
5  WebKit                         0x6290d4 <redacted> + 64
6  WebKit                         0xbae3f8 <redacted> + 464
7  WebKit                         0xbae7b8 <redacted> + 496
8  JavaScriptCore                 0x51cf4 WTF::RunLoop::performWork() + 204
9  JavaScriptCore                 0x52bc4 WTF::RunLoop::performWork(void*) + 36
10 CoreFoundation                 0x3712c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
11 CoreFoundation                 0x363a8 __CFRunLoopDoSource0 + 176
12 CoreFoundation                 0x34bbc __CFRunLoopDoSources0 + 340
13 CoreFoundation                 0x33898 __CFRunLoopRun + 828
14 CoreFoundation                 0x33478 CFRunLoopRunSpecific + 608
15 GraphicsServices               0x34f8 GSEventRunModal + 164
16 UIKitCore                      0x22c62c -[UIApplication _run] + 888
17 UIKitCore                      0x22bc68 UIApplicationMain + 340
18 APP                          0x4b8c main + 9 (main.m:9)
19 ???                            0x1d6412dcc (Missing)

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35b1c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x33a14 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33478 CFRunLoopRunSpecific + 608
7  Foundation                     0x2c48c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x5974c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x18e4a8 -[UIEventFetcher threadMain] + 420
10 Foundation                     0xafde0 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x24d4 _pthread_start + 136
12 libsystem_pthread.dylib        0x1a10 thread_start + 8

harvesterQueue
0  libsystem_kernel.dylib         0x110c semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x4918 _dispatch_sema4_timedwait + 64
2  libdispatch.dylib              0x4f14 _dispatch_semaphore_wait_slow + 76
3  NewRelic                       0x59538 NR__dispatch_once + 2172
4  NewRelic                       0x59f2c NR__dispatch_once + 4720
5  NewRelic                       0x2fb74 NRMA_actingClass + 39404
6  NewRelic                       0x30e10 NRMA_actingClass + 44168
7  NewRelic                       0xe718 NRMA__deallocInteractionHistoryList + 6296
8  libdispatch.dylib              0x26a8 _dispatch_call_block_and_release + 32
9  libdispatch.dylib              0x4300 _dispatch_client_callout + 20
10 libdispatch.dylib              0xb894 _dispatch_lane_serial_drain + 748
11 libdispatch.dylib              0xc3c4 _dispatch_lane_invoke + 380
12 libdispatch.dylib              0x17004 _dispatch_root_queue_drain_deferred_wlh + 288
13 libdispatch.dylib              0x16878 _dispatch_workloop_worker_thread + 404
14 libsystem_pthread.dylib        0x1964 _pthread_wqthread + 288
15 libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.apple.network.connections
0  libsystem_malloc.dylib         0x1d080 nanov2_calloc + 456
1  libxpc.dylib                   0x9574 _xpc_array_create + 72
2  libxpc.dylib                   0x83b4 _xpc_array_copy + 32
3  libboringssl.dylib             0x1a0f0 nw_protocol_boringssl_copy_options_contents + 748
4  libboringssl.dylib             0x19df4 nw_protocol_boringssl_copy_options + 52
5  Network                        0x14308 nw_protocol_options_copy + 240
6  Network                        0x7d2c __nw_protocol_stack_copy_block_invoke_2 + 32
7  Network                        0xbcc0 nw_array_apply + 124
8  Network                        0x13f64 nw_protocol_stack_copy + 304
9  Network                        0x32394 -[NWConcrete_nw_parameters initWithParameters:stripConnected:shallowCopy:] + 1368
10 Network                        0x4967b4 nw_endpoint_resolver_create_child_parameters(NWConcrete_nw_endpoint_handler*) + 116
11 Network                        0x494fb4 nw_endpoint_resolver_update(NWConcrete_nw_endpoint_handler*, NSObject<OS_nw_resolver>*, nw_resolver_status_t) + 7416
12 Network                        0x4bff4 __52-[NWConcrete_nw_endpoint_resolver startWithHandler:]_block_invoke_2 + 80
13 Network                        0x4bf64 __nw_resolver_update_client_block_invoke + 88
14 libdispatch.dylib              0x26a8 _dispatch_call_block_and_release + 32
15 libdispatch.dylib              0x4300 _dispatch_client_callout + 20
16 libdispatch.dylib              0xd834 _dispatch_workloop_invoke + 2152
17 libdispatch.dylib              0x17004 _dispatch_root_queue_drain_deferred_wlh + 288
18 libdispatch.dylib              0x16878 _dispatch_workloop_worker_thread + 404
19 libsystem_pthread.dylib        0x1964 _pthread_wqthread + 288
20 libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.google.fira.worker
0  libsystem_kernel.dylib         0x1cd4 pread + 8
1  libsqlite3.dylib               0x920fc sqlite3_sourceid + 7592
2  libsqlite3.dylib               0x7224 sqlite3_snprintf + 7780
3  libsqlite3.dylib               0x1a544 sqlite3_log + 3480
4  libsqlite3.dylib               0x9c16c sqlite3_sourceid + 48664
5  libsqlite3.dylib               0xa8a6c sqlite3_sourceid + 100120
6  libsqlite3.dylib               0x37634 sqlite3_step + 49400
7  libsqlite3.dylib               0xa5948 sqlite3_sourceid + 87540
8  libsqlite3.dylib               0x2cd18 sqlite3_step + 6108
9  libsqlite3.dylib               0x2b900 sqlite3_step + 964
10 APP 0xa73108 -[APMSqliteStore recordsForQuery:parameterValues:error:withFilter:] + 8691284
11 APP 0x9fcdd0 -[APMDatabase dataTypesFromTableWithName:columnName:columnValue:error:createDataTypeBlock:] + 8207132
12 APP 0x9f68e0 -[APMDatabase eventAggregatesWithName:error:] + 8181292
13 APP 0xa2b424 -[APMMeasurement(Event) writeEvent:isPublicEvent:isRealtime:] + 8397168
14 APP 0xa29590 __57-[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:]_block_invoke + 8389340
15 APP 0xa73578 -[APMSqliteStore performTransactionWithError:block:] + 8692420
16 APP 0x9f3004 -[APMDatabase performTransaction:] + 8166736
17 APP 0xa2937c -[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:] + 8388808
18 APP 0xa29090 -[APMMeasurement(Event) writeEventOnWorkerQueue:] + 8388060
19 APP 0xa28b2c -[APMMeasurement(Event) handleEventOnWorkerQueue:] + 8386680
20 APP 0xa28920 -[APMMeasurement(Event) handleInternalEventOnWorkerQueue:] + 8386156
21 APP 0xa1b1e8 -[APMMeasurement reportSessionStartOnWorkerQueueWithTimestamp:appInBackground:] + 8331060
22 APP 0xa1b674 -[APMMeasurement reportFirstOpenOnWorkerQueue] + 8332224
23 APP 0xa1abd0 __47-[APMMeasurement startMeasurementOnWorkerQueue]_block_invoke + 8329500
24 APP 0xa1a590 -[APMMeasurement startMeasurementOnWorkerQueue] + 8327900
25 APP 0xa19e5c -[APMMeasurement setEnabledOnWorkerQueue:] + 8326056
26 APP 0xa19d74 __29-[APMMeasurement setEnabled:]_block_invoke + 8325824
27 APP 0xa6a7a4 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 8656112
28 libdispatch.dylib              0x26a8 _dispatch_call_block_and_release + 32
29 libdispatch.dylib              0x4300 _dispatch_client_callout + 20
30 libdispatch.dylib              0xb894 _dispatch_lane_serial_drain + 748
31 libdispatch.dylib              0xc3c4 _dispatch_lane_invoke + 380
32 libdispatch.dylib              0x17004 _dispatch_root_queue_drain_deferred_wlh + 288
33 libdispatch.dylib              0x16878 _dispatch_workloop_worker_thread + 404
34 libsystem_pthread.dylib        0x1964 _pthread_wqthread + 288
35 libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer
0  APP 0x85820 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1  APP 0x85c00 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2  APP 0x7d050 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  APP 0x7f874 FIRCLSMachExceptionServer + 521 (FIRCLSMachException.c:521)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

JavaScriptCore libpas scavenger
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x15830f4 scavenger_thread_main + 1316
3  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
4  libsystem_pthread.dylib        0x1a10 thread_start + 8

com.facebook.react.JavaScript
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35b1c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x33a14 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33478 CFRunLoopRunSpecific + 608
7  APP 0x23c228 +[RCTCxxBridge runRunLoop] + 337 (RCTCxxBridge.mm:337)
8  Foundation                     0xafde0 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x72d20 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 240
3  JavaScriptCore                 0x4bdd4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
4  JavaScriptCore                 0xa328 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
5  JavaScriptCore                 0x6ff34 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6  JavaScriptCore                 0x7240c WTF::wtfThreadEntryPoint(void*) + 16
7  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
8  libsystem_pthread.dylib        0x1a10 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x72d20 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 240
3  JavaScriptCore                 0x4bdd4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
4  JavaScriptCore                 0xa328 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
5  JavaScriptCore                 0x6ff34 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6  JavaScriptCore                 0x7240c WTF::wtfThreadEntryPoint(void*) + 16
7  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
8  libsystem_pthread.dylib        0x1a10 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x72d20 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 240
3  JavaScriptCore                 0x4bdd4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
4  JavaScriptCore                 0xa328 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
5  JavaScriptCore                 0x6ff34 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6  JavaScriptCore                 0x7240c WTF::wtfThreadEntryPoint(void*) + 16
7  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
8  libsystem_pthread.dylib        0x1a10 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x72d20 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 240
3  JavaScriptCore                 0x4bdd4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
4  JavaScriptCore                 0xa328 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
5  JavaScriptCore                 0x6ff34 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6  JavaScriptCore                 0x7240c WTF::wtfThreadEntryPoint(void*) + 16
7  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
8  libsystem_pthread.dylib        0x1a10 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x72d20 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 240
3  JavaScriptCore                 0x4bdd4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
4  JavaScriptCore                 0xa328 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
5  JavaScriptCore                 0x6ff34 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6  JavaScriptCore                 0x7240c WTF::wtfThreadEntryPoint(void*) + 16
7  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
8  libsystem_pthread.dylib        0x1a10 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35b1c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x33a14 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33478 CFRunLoopRunSpecific + 608
7  CFNetwork                      0x25a060 estimatedPropertyListSize + 38188
8  Foundation                     0xafde0 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

JSC Heap Collector Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x72d20 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 240
3  JavaScriptCore                 0x4bdd4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
4  JavaScriptCore                 0xa328 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
5  JavaScriptCore                 0x6ff34 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6  JavaScriptCore                 0x7240c WTF::wtfThreadEntryPoint(void*) + 16
7  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
8  libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1978 __semwait_signal + 8
1  libsystem_c.dylib              0x9f20 nanosleep + 220
2  libc++.1.dylib                 0x2123c std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 84
3  NewRelic                       0x43e78 NRMA__getDataForSessionTask + 43888
4  NewRelic                       0x8eaec NewRelic::WorkQueue::task_thread() + 276
5  NewRelic                       0x8f448 NewRelic::WorkQueue::~WorkQueue() + 1252
6  NewRelic                       0x8f5b8 NewRelic::WorkQueue::~WorkQueue() + 1620
7  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
8  libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  NewRelic                       0x8ea68 NewRelic::WorkQueue::task_thread() + 144
4  NewRelic                       0x8f448 NewRelic::WorkQueue::~WorkQueue() + 1252
5  NewRelic                       0x8f5b8 NewRelic::WorkQueue::~WorkQueue() + 1620
6  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
7  libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  NewRelic                       0x8ea68 NewRelic::WorkQueue::task_thread() + 144
4  NewRelic                       0x8f448 NewRelic::WorkQueue::~WorkQueue() + 1252
5  NewRelic                       0x8f5b8 NewRelic::WorkQueue::~WorkQueue() + 1620
6  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
7  libsystem_pthread.dylib        0x1a10 thread_start + 8
mikehardy commented 6 months ago

Hi there!

There is nothing in the stack trace to indicate this library is the source of the error, that is, there are zero stack frames including this libraries code.

So this is not a crash from this library.

We only troubleshoot crashes directly attributable to this library.

SERCHAT commented 6 months ago

@mikehardy I google it before opening this issue and found this link. I thought it might be related to this, yes it is an error taken from a different library, but it is similar to my error and the only thing they have in common is dynamic links.

mikehardy commented 6 months ago

Hmm - I see what you're saying. It may be related to firebase-ios-sdk however, note that one (the flutterfire one you link to) is a SIGSEGV and one (your crash) is a KERN_BAD_ACCESS

Those are actually different crashing mechanisms so I'm not sure they are actually related

One thing I can say with apologies is that since dynamic-links is officially deprecated and in the sunset period, there will likely be no effort expended here - the recommended solution if this crash is frequent + impacting your app is to migrate off dynamic links to platform-specific things, specifically the built in react-native linking facilities

https://firebase.google.com/support/dynamic-links-faq