HomeiOS Developmentc - iOS Intermittent crash associated to exc_bad_access kern_invalid_address 0x0000000000000000

c – iOS Intermittent crash associated to exc_bad_access kern_invalid_address 0x0000000000000000


That is the stacktrace outputted from firebase crashlytics:

crashed: com.fb.react.nativenavigationmodulequeue exc_bad_access kern_invalid_address 0x0000000000000000

# Crashlytics - Stack hint

com.apple.main-thread
0  libsystem_kernel.dylib         0xc84 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13b54 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13e2c mach_msg_overwrite + 540
3  libsystem_kernel.dylib         0x11c8 mach_msg + 24
4  CoreFoundation                 0x79114 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7a340 __CFRunLoopRun + 1208
6  CoreFoundation                 0x7f4dc CFRunLoopRunSpecific + 612
7  GraphicsServices               0x135c GSEventRunModal + 164
8  UIKitCore                      0x39d37c -[UIApplication _run] + 888
9  UIKitCore                      0x39cfe0 UIApplicationMain + 340
10 AppName                        0x4b1c important + 14 (AppDelegate.swift:14)
11 ???                            0x1cb000dec (Lacking)

com.google.fira.employee
0  libsystem_kernel.dylib         0x4bd0 __unlink + 8
1  libsystem_kernel.dylib         0x8db4 unlink + 16
2  libsqlite3.dylib               0x54c50 sqlite3_column_bytes + 348
3  libsqlite3.dylib               0x3d154 sqlite3_value_text + 21496
4  libsqlite3.dylib               0x3cc30 sqlite3_value_text + 20180
5  libsqlite3.dylib               0x3c2f4 sqlite3_value_text + 17816
6  libsqlite3.dylib               0x14a54 sqlite3_finalize + 1796
7  libsqlite3.dylib               0x36a70 sqlite3_step + 47064
8  libsqlite3.dylib               0x2b670 sqlite3_step + 984
9  libsqlite3.dylib               0x8544 sqlite3_exec + 352
10 SSFirebase                     0xb5f90 -[APMSqliteStore endTransaction] + 44
11 SSFirebase                     0xb5df4 -[APMSqliteStore performTransactionWithError:block:] + 224
12 SSFirebase                     0x24a0c -[APMDatabase performTransaction:] + 48
13 SSFirebase                     0x63b14 -[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:] + 264
14 SSFirebase                     0x63758 -[APMMeasurement(Event) writeEventOnWorkerQueue:] + 1444
15 SSFirebase                     0x63044 -[APMMeasurement(Event) handleEventOnWorkerQueue:] + 540
16 SSFirebase                     0x58dc8 -[APMMeasurement logEventOnWorkerQueue:notifyEventListeners:] + 76
17 SSFirebase                     0x58d78 -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] + 708
18 SSFirebase                     0x58a0c __151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]_block_invoke + 68
19 SSFirebase                     0xab49c __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44
20 libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
21 libdispatch.dylib              0x3eac _dispatch_client_callout + 20
22 libdispatch.dylib              0xb534 _dispatch_lane_serial_drain + 668
23 libdispatch.dylib              0xc0a4 _dispatch_lane_invoke + 384
24 libdispatch.dylib              0x16cdc _dispatch_workloop_worker_thread + 648
25 libsystem_pthread.dylib        0xddc _pthread_wqthread + 288
26 libsystem_pthread.dylib        0xb7c start_wqthread + 8

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0xc84 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13b54 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13e2c mach_msg_overwrite + 540
3  libsystem_kernel.dylib         0x11c8 mach_msg + 24
4  CoreFoundation                 0x79114 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7a340 __CFRunLoopRun + 1208
6  CoreFoundation                 0x7f4dc CFRunLoopRunSpecific + 612
7  Basis                     0x420c4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Basis                     0x41fac -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x4cfdac -[UIEventFetcher threadMain] + 416
10 Basis                     0x5b634 __NSThread__start__ + 716
11 libsystem_pthread.dylib        0x16b8 _pthread_start + 148
12 libsystem_pthread.dylib        0xb88 thread_start + 8

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

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

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

com.google.firebase.crashlytics.MachExceptionServer
0  FirebaseCrashlytics            0x1d170 FIRCLSProcessRecordAllThreads + 184
1  FirebaseCrashlytics            0x1d550 FIRCLSProcessRecordAllThreads + 1176
2  FirebaseCrashlytics            0x1486c FIRCLSHandler + 48
3  FirebaseCrashlytics            0x1702c FIRCLSMachExceptionServer + 688
4  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
5  libsystem_pthread.dylib        0xb88 thread_start + 8

Realm notification listener
0  libsystem_kernel.dylib         0x25bc kevent + 8
1  Realm                          0x3aad30 realm::_impl::ExternalCommitHelper::pay attention() + 156
2  Realm                          0x3aae80 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0>>(void*) + 52
3  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
4  libsystem_pthread.dylib        0xb88 thread_start + 8

com.fb.react.JavaScript
0  JavaScriptCore                 0xd74604 <redacted> + 16
1  JavaScriptCore                 0xef60a8 <redacted> + 556
2  JavaScriptCore                 0xef60a8 <redacted> + 556
3  JavaScriptCore                 0x467820 <redacted> + 156660
4  JavaScriptCore                 0x4641ec <redacted> + 142784
5  JavaScriptCore                 0x4641ec <redacted> + 142784
6  JavaScriptCore                 0x4641ec <redacted> + 142784
7  JavaScriptCore                 0x4641ec <redacted> + 142784
8  JavaScriptCore                 0x4641ec <redacted> + 142784
9  JavaScriptCore                 0x464140 <redacted> + 142612
10 JavaScriptCore                 0x4641ec <redacted> + 142784
11 JavaScriptCore                 0x4641ec <redacted> + 142784
12 JavaScriptCore                 0x4641ec <redacted> + 142784
13 JavaScriptCore                 0x465668 <redacted> + 148028
14 JavaScriptCore                 0x4641ec <redacted> + 142784
15 JavaScriptCore                 0x464140 <redacted> + 142612
16 JavaScriptCore                 0x464140 <redacted> + 142612
17 JavaScriptCore                 0x464140 <redacted> + 142612
18 JavaScriptCore                 0x464140 <redacted> + 142612
19 JavaScriptCore                 0x4641ec <redacted> + 142784
20 JavaScriptCore                 0x464140 <redacted> + 142612
21 JavaScriptCore                 0x43afd0 <redacted> + 6
22 JavaScriptCore                 0xce3fd8 <redacted> + 508
23 JavaScriptCore                 0x1125618 <redacted> + 772
24 JavaScriptCore                 0x46764c <redacted> + 156192
25 JavaScriptCore                 0x43afd0 <redacted> + 6
26 JavaScriptCore                 0xce3fd8 <redacted> + 508
27 JavaScriptCore                 0x1125618 <redacted> + 772
28 JavaScriptCore                 0x43b17c <redacted> + 276
29 JavaScriptCore                 0xce4068 <redacted> + 652
30 JavaScriptCore                 0x4f0c28 JSObjectCallAsFunction + 480
31 jsi                            0x9ac8 fb::jsc::JSCRuntime::name(fb::jsi::Perform const&, fb::jsi::Worth const&, fb::jsi::Worth const*, unsigned lengthy) + 268
32 jsireact                       0x16588 fb::jsi::Worth fb::jsi::Perform::name<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, fb::jsi::Worth>(fb::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, fb::jsi::Worth&&) const + 648
33 jsireact                       0x161d8 std::__1::__function::__func<fb::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4, std::__1::allocator<fb::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4>, void ()>::operator()() + 272
34 React                          0x6a08 void std::__1::__invoke_void_return_wrapper<void, true>::__call<void (*&)(std::__1::operate<void ()> const&, std::__1::operate<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::operate<void ()> const&, std::__1::operate<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>>(void (*&)(std::__1::operate<void ()> const&, std::__1::operate<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::operate<void ()> const&, std::__1::operate<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>&&) + 144
35 jsireact                       0xbcc0 fb::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&) + 2236
36 cxxreact                       0x4fe14 std::__1::operate<void (fb::react::JSExecutor*)>::operator()(fb::react::JSExecutor*) const + 96
37 React                          0x33054 fb::react::tryAndReturnError(std::__1::operate<void ()> const&) + 32
38 React                          0x4890c fb::react::RCTMessageThread::tryFunc(std::__1::operate<void ()> const&) + 40
39 React                          0x480d8 ___ZN8facebook5react16RCTMessageThread8runAsyncENSt3__18functionIFvvEEE_block_invoke + 48
40 CoreFoundation                 0x437c0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
41 CoreFoundation                 0xaa300 __CFRunLoopDoBlocks + 364
42 CoreFoundation                 0x7a1d8 __CFRunLoopRun + 848
43 CoreFoundation                 0x7f4dc CFRunLoopRunSpecific + 612
44 React                          0x1a57c +[RCTCxxBridge runRunLoop] + 232
45 Basis                     0x5b634 __NSThread__start__ + 716
46 libsystem_pthread.dylib        0x16b8 _pthread_start + 148
47 libsystem_pthread.dylib        0xb88 thread_start + 8

JavaScriptCore libpas scavenger
0  libsystem_kernel.dylib         0x1558 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x8078 _pthread_cond_wait + 1232
2  JavaScriptCore                 0x113f5c <redacted> + 1428
3  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
4  libsystem_pthread.dylib        0xb88 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1558 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x8078 _pthread_cond_wait + 1232
2  JavaScriptCore                 0x4dfec WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
3  JavaScriptCore                 0xe404 <redacted> + 440
4  JavaScriptCore                 0x72b4c <redacted> + 352
5  JavaScriptCore                 0x7543c <redacted> + 16
6  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
7  libsystem_pthread.dylib        0xb88 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1558 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x8078 _pthread_cond_wait + 1232
2  JavaScriptCore                 0x4dfec WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
3  JavaScriptCore                 0xe404 <redacted> + 440
4  JavaScriptCore                 0x72b4c <redacted> + 352
5  JavaScriptCore                 0x7543c <redacted> + 16
6  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
7  libsystem_pthread.dylib        0xb88 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1558 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x8078 _pthread_cond_wait + 1232
2  JavaScriptCore                 0x4dfec WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
3  JavaScriptCore                 0xe404 <redacted> + 440
4  JavaScriptCore                 0x72b4c <redacted> + 352
5  JavaScriptCore                 0x7543c <redacted> + 16
6  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
7  libsystem_pthread.dylib        0xb88 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1558 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x8078 _pthread_cond_wait + 1232
2  JavaScriptCore                 0x4dfec WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
3  JavaScriptCore                 0xe404 <redacted> + 440
4  JavaScriptCore                 0x72b4c <redacted> + 352
5  JavaScriptCore                 0x7543c <redacted> + 16
6  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
7  libsystem_pthread.dylib        0xb88 thread_start + 8

Heap Helper Thread
0  libsystem_kernel.dylib         0x1558 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x8078 _pthread_cond_wait + 1232
2  JavaScriptCore                 0x4dfec WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
3  JavaScriptCore                 0xe404 <redacted> + 440
4  JavaScriptCore                 0x72b4c <redacted> + 352
5  JavaScriptCore                 0x7543c <redacted> + 16
6  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
7  libsystem_pthread.dylib        0xb88 thread_start + 8

JSC Heap Collector Thread
0  libsystem_kernel.dylib         0x1558 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x8078 _pthread_cond_wait + 1232
2  JavaScriptCore                 0x4dfec WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
3  JavaScriptCore                 0xe404 <redacted> + 440
4  JavaScriptCore                 0x72b4c <redacted> + 352
5  JavaScriptCore                 0x7543c <redacted> + 16
6  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
7  libsystem_pthread.dylib        0xb88 thread_start + 8

Crashed: com.fb.react.NativeNavigationModuleQueue
0  AppName                 0x4c5df4 $s14AppName15ReactNavigationC19setScreenProperties_14withInstanceIdySDySSyXlG_SStF + 260
1  AppName                 0x4c60d4 $s14AppName15ReactNavigationC19setScreenProperties_14withInstanceIdySDySSyXlG_SStFTo + 148
2  CoreFoundation                 0x72cf4 __invoking___ + 148
3  CoreFoundation                 0x20d94 -[NSInvocation invoke] + 428
4  CoreFoundation                 0x207ac -[NSInvocation invokeWithTarget:] + 64
5  React                          0x53f10 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 480
6  React                          0x56b90 fb::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (nameless namespace)::SchedulingContext) + 704
7  React                          0x566b4 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 164
8  libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
9  libdispatch.dylib              0x3eac _dispatch_client_callout + 20
10 libdispatch.dylib              0xb534 _dispatch_lane_serial_drain + 668
11 libdispatch.dylib              0xc0a4 _dispatch_lane_invoke + 384
12 libdispatch.dylib              0x16cdc _dispatch_workloop_worker_thread + 648
13 libsystem_pthread.dylib        0xddc _pthread_wqthread + 288
14 libsystem_pthread.dylib        0xb7c start_wqthread + 8

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

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0xc84 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13b54 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13e2c mach_msg_overwrite + 540
3  libsystem_kernel.dylib         0x11c8 mach_msg + 24
4  CoreFoundation                 0x79114 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7a340 __CFRunLoopRun + 1208
6  CoreFoundation                 0x7f4dc CFRunLoopRunSpecific + 612
7  CFNetwork                      0x2587e0 _CFURLStorageSessionDisableCache + 60900
8  Basis                     0x5b634 __NSThread__start__ + 716
9  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
10 libsystem_pthread.dylib        0xb88 thread_start + 8

com.apple.CoreMotion.MotionThread
0  libsystem_kernel.dylib         0xc84 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13b54 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13e2c mach_msg_overwrite + 540
3  libsystem_kernel.dylib         0x11c8 mach_msg + 24
4  CoreFoundation                 0x79114 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7a340 __CFRunLoopRun + 1208
6  CoreFoundation                 0x7f4dc CFRunLoopRunSpecific + 612
7  CoreFoundation                 0xc1f84 CFRunLoopRun + 64
8  CoreMotion                     0x136e8 CLMotionActivity::isTypeInVehicle(CLMotionActivity::Kind) + 23144
9  libsystem_pthread.dylib        0x16b8 _pthread_start + 148
10 libsystem_pthread.dylib        0xb88 thread_start + 8

Unable to copy the problem on my finish and on crashlytics concern occuring to atleast 1% of customers. The native navigation module queue’s setScreenProperties operate is used to set the display screen props.

  @objc func setScreenProperties(_ props: [String: AnyObject], withInstanceId instanceId: String) {
    if let vc = coordinator.viewControllerForId(instanceId) {
      DispatchQueue.important.async {
        vc.setNavigationBarProperties(props: props)
      }
    }
  }

Any assist could be significantly appreciated. Thanks!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments