abbiio / react-native-walkme-sdk

2 stars 2 forks source link

WalkMe SDK crashes the app frequently #9

Closed ghost closed 6 months ago

ghost commented 2 years ago

I'm seeing these errors reported on Sentry:

iOS

EXC_BAD_ACCESS: remove > stringWithFormat: > WMSessionManager.m >
Attempted to dereference null pointer.
EXC_BAD_ACCESS: dealloc > stringWithFormat: > WMSDKLifeCycleManager.m >
Attempted to dereference null pointer.

From -[RNWalkMeSdk start:secret:] (node_modules/react-native-walkme-sdk/ios/RNWalkMeSdk.m:21)

EXC_BAD_ACCESS: objectAtIndexedSubscript: > remove >
Attempted to dereference null pointer.

Android

io.sentry.android.core.ApplicationNotResponding: Application Not Responding for at least 5000 ms.
    at sun.misc.Unsafe.park(Unsafe.java)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1063)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1358)
    at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278)
    at abbi.io.abbisdk.w.a
    at abbi.io.abbisdk.w.a
    at abbi.io.abbisdk.w$a.uncaughtException
    at fsimpl.Z.uncaughtException
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073)
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
    at java.lang.Thread.dispatchUncaughtException(Thread.java:2203)
ghost commented 2 years ago

Complete iOS logs:

OS Version: iOS 15.2.1 (19C63)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: BUS_NOOP
Crashed Thread: 0

Application Specific Information:
objectAtIndexedSubscript: > remove >
Attempted to dereference null pointer.

Thread 0 Crashed:
0   libobjc.A.dylib                 0x331b6b71c         object_setClass
1   WalkMeSDK                       0x106b8e6e8         [inlined] __hidden#15528_ (__hidden#15524_:330)
2   WalkMeSDK                       0x106b8e6e8         [inlined] __hidden#15455_ (__hidden#15524_:148)
3   WalkMeSDK                       0x106b8e6e8         [inlined] __hidden#15528_ (__hidden#15524_:330)
4   WalkMeSDK                       0x106b8e6e8         __hidden#15455_ (__hidden#15524_:148)
5   WalkMeSDK                       0x106b8c830         __hidden#15440_ (__hidden#15524_:164)
6   WalkMeSDK                       0x106b8bf04         [inlined] __hidden#15551_ (__hidden#15524_:142)
7   WalkMeSDK                       0x106b8bf04         __hidden#15412_ (__hidden#15524_:874)
8   WalkMeSDK                       0x106a10f8c         __hidden#645_ (__hidden#670_:27)
9   WalkMeSDK                       0x106aaa128         __hidden#7321_ (__hidden#7376_:55)
10  libobjc.A.dylib                 0x331b6fd24         object_cxxDestructFromClass
11  libobjc.A.dylib                 0x331b6cb70         objc_destructInstance
12  libobjc.A.dylib                 0x331b761c4         _objc_rootDealloc
13  WalkMeSDK                       0x106aa6c34         __hidden#7272_ (__hidden#7376_:78)
14  WalkMeSDK                       0x106b6f744         __hidden#14974_ (__hidden#15023_:230)
15  WalkMeSDK                       0x106b6db50         __hidden#14962_ (__hidden#15023_:35)
16  WalkMeSDK                       0x106b6e810         __hidden#14967_ (__hidden#15023_:120)
17  airbase                         0x204e88100         -[RNWalkMeSdk start:secret:] (RNWalkMeSdk.m:21)
18  CoreFoundation                  0x300a0e3a0         __invoking___
19  CoreFoundation                  0x300a2bb70         -[NSInvocation invoke]
20  CoreFoundation                  0x300a629d0         -[NSInvocation invokeWithTarget:]
21  airbase                         0x204bad7a8         -[RCTModuleMethod invokeWithBridge:module:arguments:] (RCTModuleMethod.mm:584)
22  airbase                         0x204bafdac         facebook::react::invokeInner (RCTNativeModule.mm:183)
23  airbase                         0x204baf9dc         [inlined] operator() (RCTNativeModule.mm:104)
24  airbase                         0x204baf9dc         facebook::react::RCTNativeModule::invoke (RCTNativeModule.mm:95)
25  libdispatch.dylib               0x3003fc920         _dispatch_call_block_and_release
26  libdispatch.dylib               0x3003fe66c         _dispatch_client_callout
27  libdispatch.dylib               0x30040cb6c         _dispatch_main_queue_callback_4CF
28  CoreFoundation                  0x300a3dd80         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
29  CoreFoundation                  0x3009f7f58         __CFRunLoopRun
30  CoreFoundation                  0x300a0b464         CFRunLoopRunSpecific
31  GraphicsServices                0x33813f388         GSEventRunModal
32  UIKitCore                       0x305854084         -[UIApplication _run]
33  UIKitCore                       0x3055d2954         UIApplicationMain
34  airbase                         0x2048e6354         main (main.m:14)
35  <unknown>                       0x105ccdaa4         <redacted>

Thread 0 Crashed:
0   libobjc.A.dylib                 0x331b6b71c         object_setClass
1   WalkMeSDK                       0x106b8e6e8         [inlined] __hidden#15528_ (__hidden#15524_:330)
2   WalkMeSDK                       0x106b8e6e8         [inlined] __hidden#15455_ (__hidden#15524_:148)
3   WalkMeSDK                       0x106b8e6e8         [inlined] __hidden#15528_ (__hidden#15524_:330)
4   WalkMeSDK                       0x106b8e6e8         __hidden#15455_ (__hidden#15524_:148)
5   WalkMeSDK                       0x106b8c830         __hidden#15440_ (__hidden#15524_:164)
6   WalkMeSDK                       0x106b8bf04         [inlined] __hidden#15551_ (__hidden#15524_:142)
7   WalkMeSDK                       0x106b8bf04         __hidden#15412_ (__hidden#15524_:874)
8   WalkMeSDK                       0x106a10f8c         __hidden#645_ (__hidden#670_:27)
9   WalkMeSDK                       0x106aaa128         __hidden#7321_ (__hidden#7376_:55)
10  libobjc.A.dylib                 0x331b6fd24         object_cxxDestructFromClass
11  libobjc.A.dylib                 0x331b6cb70         objc_destructInstance
12  libobjc.A.dylib                 0x331b761c4         _objc_rootDealloc
13  WalkMeSDK                       0x106aa6c34         __hidden#7272_ (__hidden#7376_:78)
14  WalkMeSDK                       0x106b6f744         __hidden#14974_ (__hidden#15023_:230)
15  WalkMeSDK                       0x106b6db50         __hidden#14962_ (__hidden#15023_:35)
16  WalkMeSDK                       0x106b6e810         __hidden#14967_ (__hidden#15023_:120)
17  airbase                         0x204e88100         -[RNWalkMeSdk start:secret:] (RNWalkMeSdk.m:21)
18  CoreFoundation                  0x300a0e3a0         __invoking___
19  CoreFoundation                  0x300a2bb70         -[NSInvocation invoke]
20  CoreFoundation                  0x300a629d0         -[NSInvocation invokeWithTarget:]
21  airbase                         0x204bad7a8         -[RCTModuleMethod invokeWithBridge:module:arguments:] (RCTModuleMethod.mm:584)
22  airbase                         0x204bafdac         facebook::react::invokeInner (RCTNativeModule.mm:183)
23  airbase                         0x204baf9dc         [inlined] operator() (RCTNativeModule.mm:104)
24  airbase                         0x204baf9dc         facebook::react::RCTNativeModule::invoke (RCTNativeModule.mm:95)
25  libdispatch.dylib               0x3003fc920         _dispatch_call_block_and_release
26  libdispatch.dylib               0x3003fe66c         _dispatch_client_callout
27  libdispatch.dylib               0x30040cb6c         _dispatch_main_queue_callback_4CF
28  CoreFoundation                  0x300a3dd80         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
29  CoreFoundation                  0x3009f7f58         __CFRunLoopRun
30  CoreFoundation                  0x300a0b464         CFRunLoopRunSpecific
31  GraphicsServices                0x33813f388         GSEventRunModal
32  UIKitCore                       0x305854084         -[UIApplication _run]
33  UIKitCore                       0x3055d2954         UIApplicationMain
34  airbase                         0x2048e6354         main (main.m:14)
35  <unknown>                       0x105ccdaa4         <redacted>

Thread 1 name: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib          0x36f585504         mach_msg_trap
1   libsystem_kernel.dylib          0x36f585b98         mach_msg
2   CoreFoundation                  0x3009f3734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x3009f7a28         __CFRunLoopRun
4   CoreFoundation                  0x300a0b464         CFRunLoopRunSpecific
5   Foundation                      0x303a4ac90         -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6   Foundation                      0x303a8bdc4         -[NSRunLoop(NSRunLoop) runUntilDate:]
7   UIKitCore                       0x3057cd22c         -[UIEventFetcher threadMain]
8   Foundation                      0x303a9a408         __NSThread__start__
9   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 2
0   libsystem_pthread.dylib         0x3e1ec8e8c         start_wqthread

Thread 3
0   libsystem_kernel.dylib          0x36f585b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e1ec913c         _pthread_wqthread

Thread 4
0   libsystem_kernel.dylib          0x36f585b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e1ec913c         _pthread_wqthread

Thread 5
0   libsystem_kernel.dylib          0x36f585b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e1ec913c         _pthread_wqthread

Thread 6
0   libsystem_kernel.dylib          0x36f585b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e1ec913c         _pthread_wqthread

Thread 7
0   libsystem_pthread.dylib         0x3e1ec8e8c         start_wqthread

Thread 8 name: com.google.firebase.crashlytics.MachExceptionServer
0   libsystem_kernel.dylib          0x36f585504         mach_msg_trap
1   libsystem_kernel.dylib          0x36f585b98         mach_msg
2   airbase                         0x204991164         [inlined] FIRCLSMachExceptionReadMessage (FIRCLSMachException.c:194)
3   airbase                         0x204991164         FIRCLSMachExceptionServer (FIRCLSMachException.c:170)
4   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 9 name: com.apple.CoreMotion.MotionThread
0   libsystem_kernel.dylib          0x36f585504         mach_msg_trap
1   libsystem_kernel.dylib          0x36f585b98         mach_msg
2   CoreFoundation                  0x3009f3734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x3009f7a28         __CFRunLoopRun
4   CoreFoundation                  0x300a0b464         CFRunLoopRunSpecific
5   CoreFoundation                  0x300a8bb24         CFRunLoopRun
6   CoreMotion                      0x31ab6ab60         CLMotionActivity::isTypeInVehicle
7   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 10 name: AVAudioSession Notify Thread
0   libsystem_kernel.dylib          0x36f585504         mach_msg_trap
1   libsystem_kernel.dylib          0x36f585b98         mach_msg
2   CoreFoundation                  0x3009f3734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x3009f7a28         __CFRunLoopRun
4   CoreFoundation                  0x300a0b464         CFRunLoopRunSpecific
5   AudioSession                    0x31324a304         CADeprecated::GenericRunLoopThread::Entry
6   AudioSession                    0x313253d60         CADeprecated::CAPThread::Entry
7   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 11
0   libsystem_kernel.dylib          0x36f585ae4         __semwait_signal
1   libsystem_c.dylib               0x31686aefc         nanosleep
2   libsystem_c.dylib               0x31687ef38         sleep
3   airbase                         0x204d00c0c         monitorCachedData (SentryCrashCachedData.c:139)
4   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 12 name: SentryCrash Exception Handler (Secondary)
0   libsystem_kernel.dylib          0x36f585504         mach_msg_trap
1   libsystem_kernel.dylib          0x36f585b98         mach_msg
2   airbase                         0x204d0d4b0         handleExceptions (SentryCrashMonitor_MachException.c:266)
3   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 14 name: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib          0x36f585504         mach_msg_trap
1   libsystem_kernel.dylib          0x36f585b98         mach_msg
2   CoreFoundation                  0x3009f3734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x3009f7a28         __CFRunLoopRun
4   CoreFoundation                  0x300a0b464         CFRunLoopRunSpecific
5   CFNetwork                       0x301c983ec         _CFURLStorageSessionCopyIdentifier
6   Foundation                      0x303a9a408         __NSThread__start__
7   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 15 name: fs-default-0
0   libsystem_kernel.dylib          0x36f58666c         __psynch_mutexwait
1   libsystem_pthread.dylib         0x3e1eca3c8         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3e1ed1508         _pthread_mutex_firstfit_lock_slow
3   FullStory                       0x105f68230         __hidden#749_
4   FullStory                       0x105f6bb24         __hidden#882_
5   FullStory                       0x105fc0e10         __hidden#3226_
6   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 16 name: fs-default-1
0   libsystem_kernel.dylib          0x36f58666c         __psynch_mutexwait
1   libsystem_pthread.dylib         0x3e1eca3c8         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3e1ed1508         _pthread_mutex_firstfit_lock_slow
3   FullStory                       0x105f68230         __hidden#749_
4   FullStory                       0x105f6bb24         __hidden#882_
5   FullStory                       0x105fc0e10         __hidden#3226_
6   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 17 name: fs-default-2
0   libsystem_kernel.dylib          0x36f58666c         __psynch_mutexwait
1   libsystem_pthread.dylib         0x3e1eca3c8         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3e1ed1508         _pthread_mutex_firstfit_lock_slow
3   FullStory                       0x105f68230         __hidden#749_
4   FullStory                       0x105f6bb24         __hidden#882_
5   FullStory                       0x105fc0e10         __hidden#3226_
6   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 18 name: fs-default-3
0   libsystem_kernel.dylib          0x36f58666c         __psynch_mutexwait
1   libsystem_pthread.dylib         0x3e1eca3c8         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3e1ed1508         _pthread_mutex_firstfit_lock_slow
3   FullStory                       0x105f68230         __hidden#749_
4   FullStory                       0x105f6bb24         __hidden#882_
5   FullStory                       0x105fc0e10         __hidden#3226_
6   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 19 name: fs-default-4
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   FullStory                       0x105fb9f5c         __hidden#3072_
3   FullStory                       0x105fd1604         __hidden#3311_
4   FullStory                       0x105f684a8         __hidden#749_
5   FullStory                       0x105f6bb24         __hidden#882_
6   FullStory                       0x105fc0e10         __hidden#3226_
7   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 20 name: fs-default-5
0   libsystem_kernel.dylib          0x36f58666c         __psynch_mutexwait
1   libsystem_pthread.dylib         0x3e1eca3c8         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3e1ed1508         _pthread_mutex_firstfit_lock_slow
3   FullStory                       0x105f68230         __hidden#749_
4   FullStory                       0x105f6bb24         __hidden#882_
5   FullStory                       0x105fc0e10         __hidden#3226_
6   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 21
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   FullStory                       0x105fb9f5c         __hidden#3072_
3   FullStory                       0x105fbb008         __hidden#3100_
4   FullStory                       0x105f67148         __hidden#679_
5   FullStory                       0x105f7e79c         __hidden#1393_
6   FullStory                       0x105f7ae34         __hidden#1303_
7   FullStory                       0x105f7a250         __hidden#1295_
8   FullStory                       0x105f8f120         __hidden#1860_
9   FullStory                       0x105fc0e10         __hidden#3226_
10  libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 22
0   CoreFoundation                  0x300a4322c         __108-[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke
1   CoreFoundation                  0x300a1b3d4         normalizeQuintuplet
2   CoreFoundation                  0x300a14458         -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:]
3   CoreFoundation                  0x300a72198         -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]
4   CoreFoundation                  0x300a38584         _CFPreferencesCopyAppValueWithContainerAndConfiguration
5   Foundation                      0x303a57128         -[NSUserDefaults(NSUserDefaults) objectForKey:]
6   Foundation                      0x303a63e28         -[NSUserDefaults(NSUserDefaults) stringForKey:]
7   FullStory                       0x106035678         __hidden#5073_ (__hidden#9569_:14)
8   FullStory                       0x10602bb24         __hidden#4900_ (__hidden#9648_:132)
9   FullStory                       0x10602bbd0         __hidden#4901_ (__hidden#9648_:143)
10  FullStory                       0x1060444ec         __hidden#5365_ (__hidden#9172_:46)
11  airbase                         0x204d6a294         -[FullStory onReadyWithResolver:rejecter:] (FullStory.m:134)
12  CoreFoundation                  0x300a0e3a0         __invoking___
13  CoreFoundation                  0x300a2bb70         -[NSInvocation invoke]
14  CoreFoundation                  0x300a629d0         -[NSInvocation invokeWithTarget:]
15  airbase                         0x204bad7a8         -[RCTModuleMethod invokeWithBridge:module:arguments:] (RCTModuleMethod.mm:584)
16  airbase                         0x204bafdac         facebook::react::invokeInner (RCTNativeModule.mm:183)
17  airbase                         0x204baf9dc         [inlined] operator() (RCTNativeModule.mm:104)
18  airbase                         0x204baf9dc         facebook::react::RCTNativeModule::invoke (RCTNativeModule.mm:95)
19  libdispatch.dylib               0x3003fc920         _dispatch_call_block_and_release
20  libdispatch.dylib               0x3003fe66c         _dispatch_client_callout
21  libdispatch.dylib               0x300405df0         _dispatch_lane_serial_drain
22  libdispatch.dylib               0x300406964         _dispatch_lane_invoke
23  libdispatch.dylib               0x3004111b4         _dispatch_workloop_worker_thread
24  libsystem_pthread.dylib         0x3e1ec90f0         _pthread_wqthread

Thread 23
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   FullStory                       0x105fb9f5c         __hidden#3072_
3   FullStory                       0x105fbb008         __hidden#3100_
4   FullStory                       0x105f67148         __hidden#679_
5   FullStory                       0x105f7e79c         __hidden#1393_
6   FullStory                       0x105fab478         __hidden#2466_
7   FullStory                       0x105faac90         __hidden#2465_
8   FullStory                       0x105fc0e10         __hidden#3226_
9   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 24
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   FullStory                       0x105fb9f5c         __hidden#3072_
3   FullStory                       0x105fbb008         __hidden#3100_
4   FullStory                       0x105f67148         __hidden#679_
5   FullStory                       0x105f7e79c         __hidden#1393_
6   FullStory                       0x105fa6f58         __hidden#2386_
7   FullStory                       0x105fa6840         __hidden#2385_
8   FullStory                       0x105fa663c         __hidden#2384_
9   FullStory                       0x105fc0e10         __hidden#3226_
10  libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 25
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   FullStory                       0x105fb9f5c         __hidden#3072_
3   FullStory                       0x105fbb008         __hidden#3100_
4   FullStory                       0x105f67148         __hidden#679_
5   FullStory                       0x105f7e79c         __hidden#1393_
6   FullStory                       0x105f9a7b8         __hidden#2052_
7   FullStory                       0x105f99ef8         __hidden#2051_
8   FullStory                       0x105f99bac         __hidden#2050_
9   FullStory                       0x105fc0e10         __hidden#3226_
10  libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 26 name: futures-timer
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   FullStory                       0x105fbee54         __hidden#3181_
3   FullStory                       0x105fbb1a4         __hidden#3101_
4   FullStory                       0x105f6c2dc         __hidden#892_
5   FullStory                       0x105f6d75c         __hidden#979_
6   FullStory                       0x105fc0e10         __hidden#3226_
7   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 27
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   FullStory                       0x105fb9f5c         __hidden#3072_
3   FullStory                       0x105fbb008         __hidden#3100_
4   FullStory                       0x105f67148         __hidden#679_
5   FullStory                       0x105f7e79c         __hidden#1393_
6   FullStory                       0x105f82750         __hidden#1545_
7   FullStory                       0x105f82210         __hidden#1543_
8   FullStory                       0x105fc0e10         __hidden#3226_
9   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 28
0   hermes                          0x106da7450         [inlined] hermes::UTF16Stream::operator* (UTF16Stream.h:51)
1   hermes                          0x106da7450         hermes::vm::JSONLexer::scanString (JSONLexer.cpp:133)
2   hermes                          0x106da56c8         [inlined] hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseObject (RuntimeJSONUtils.cpp:424)
3   hermes                          0x106da56c8         hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseValue (RuntimeJSONUtils.cpp:301)
4   hermes                          0x106da56d4         [inlined] hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseObject (RuntimeJSONUtils.cpp:428)
5   hermes                          0x106da56d4         [inlined] hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseValue (RuntimeJSONUtils.cpp:301)
6   hermes                          0x106da56d4         [inlined] hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseObject (RuntimeJSONUtils.cpp:428)
7   hermes                          0x106da56d4         hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseValue (RuntimeJSONUtils.cpp:301)
8   hermes                          0x106da5840         [inlined] hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseArray (RuntimeJSONUtils.cpp:362)
9   hermes                          0x106da5840         hermes::vm::(anonymous namespace)::RuntimeJSONParser::parseValue (RuntimeJSONUtils.cpp:309)
10  hermes                          0x106da498c         hermes::vm::(anonymous namespace)::RuntimeJSONParser::parse (RuntimeJSONUtils.cpp:265)
11  hermes                          0x106da4874         hermes::vm::runtimeJSONParse (RuntimeJSONUtils.cpp:588)
12  hermes                          0x106da4680         hermes::vm::jsonParse (JSON.cpp:60)
13  hermes                          0x106d137b4         hermes::vm::NativeFunction::_nativeCall (Callable.h:547)
14  hermes                          0x106d2d3d8         hermes::vm::Interpreter::handleCallSlowPath (Interpreter.cpp:285)
15  hermes                          0x106d2ed4c         hermes::vm::Interpreter::interpretFunction<T> (Interpreter.cpp:1633)
16  hermes                          0x106d2e48c         hermes::vm::Runtime::interpretFunctionImpl (Interpreter.cpp:818)
17  hermes                          0x106d139c8         hermes::vm::JSFunction::_callImpl (Callable.cpp:1284)
18  hermes                          0x106d123e8         [inlined] hermes::vm::Callable::call (Callable.h:275)
19  hermes                          0x106d123e8         hermes::vm::Callable::executeCall3 (Callable.cpp:317)
20  hermes                          0x106d83fec         hermes::vm::arrayPrototypeForEach (Array.cpp:1409)
21  hermes                          0x106d137b4         hermes::vm::NativeFunction::_nativeCall (Callable.h:547)
22  hermes                          0x106d2d3d8         hermes::vm::Interpreter::handleCallSlowPath (Interpreter.cpp:285)
23  hermes                          0x106d2ed4c         hermes::vm::Interpreter::interpretFunction<T> (Interpreter.cpp:1633)
24  hermes                          0x106d2e48c         hermes::vm::Runtime::interpretFunctionImpl (Interpreter.cpp:818)
25  hermes                          0x106d139c8         hermes::vm::JSFunction::_callImpl (Callable.cpp:1284)
26  hermes                          0x106d12848         [inlined] hermes::vm::Callable::call (Callable.h:275)
27  hermes                          0x106d12848         hermes::vm::Callable::executeCall (Callable.cpp:383)
28  hermes                          0x106db479c         hermes::vm::functionPrototypeApply (Function.cpp:225)
29  hermes                          0x106d137b4         hermes::vm::NativeFunction::_nativeCall (Callable.h:547)
30  hermes                          0x106d2d3d8         hermes::vm::Interpreter::handleCallSlowPath (Interpreter.cpp:285)
31  hermes                          0x106d2ed4c         hermes::vm::Interpreter::interpretFunction<T> (Interpreter.cpp:1633)
32  hermes                          0x106d2e48c         hermes::vm::Runtime::interpretFunctionImpl (Interpreter.cpp:818)
33  hermes                          0x106d139c8         hermes::vm::JSFunction::_callImpl (Callable.cpp:1284)
34  hermes                          0x106d1332c         [inlined] hermes::vm::Callable::call (Callable.h:275)
35  hermes                          0x106d1332c         hermes::vm::BoundFunction::_boundCall (Callable.cpp:844)
36  hermes                          0x106d2d3e8         hermes::vm::Interpreter::handleCallSlowPath (Interpreter.cpp:289)
37  hermes                          0x106d2ed4c         hermes::vm::Interpreter::interpretFunction<T> (Interpreter.cpp:1633)
38  hermes                          0x106d2e48c         hermes::vm::Runtime::interpretFunctionImpl (Interpreter.cpp:818)
39  hermes                          0x106d139c8         hermes::vm::JSFunction::_callImpl (Callable.cpp:1284)
40  hermes                          0x106d1332c         [inlined] hermes::vm::Callable::call (Callable.h:275)
41  hermes                          0x106d1332c         hermes::vm::BoundFunction::_boundCall (Callable.cpp:844)
42  hermes                          0x106cfdaa8         [inlined] hermes::vm::Callable::call (Callable.h:275)
43  hermes                          0x106cfdaa8         [inlined] facebook::hermes::HermesRuntimeImpl::call::lambda::operator() (hermes.cpp:2028)
44  hermes                          0x106cfdaa8         [inlined] (anonymous namespace)::maybeRethrow<T> (hermes.cpp:109)
45  hermes                          0x106cfdaa8         facebook::hermes::HermesRuntimeImpl::call (hermes.cpp:1999)
46  airbase                         0x204c72d94         [inlined] call (decorator.h:297)
47  airbase                         0x204c72d94         facebook::jsi::WithRuntimeDecorator<T>::call (decorator.h:700)
48  airbase                         0x204ca1edc         [inlined] call (jsi-inl.h:228)
49  airbase                         0x204ca1edc         [inlined] call (jsi-inl.h:233)
50  airbase                         0x204ca1edc         [inlined] call<T> (jsi-inl.h:241)
51  airbase                         0x204ca1edc         facebook::react::JSIExecutor::invokeCallback (JSIExecutor.cpp:282)
52  airbase                         0x204c4bfa8         [inlined] operator() (functional:1885)
53  airbase                         0x204c4bfa8         [inlined] operator() (functional:2560)
54  airbase                         0x204c4bfa8         [inlined] operator() (NativeToJsBridge.cpp:310)
55  airbase                         0x204c4bfa8         [inlined] __invoke<T> (type_traits:3694)
56  airbase                         0x204c4bfa8         [inlined] __call<T> (__functional_base:348)
57  airbase                         0x204c4bfa8         [inlined] operator() (functional:1558)
58  airbase                         0x204c4bfa8         std::__1::__function::__func<T>::operator() (functional:1732)
59  airbase                         0x204b99220         [inlined] operator() (functional:1885)
60  airbase                         0x204b99220         [inlined] operator() (functional:2560)
61  airbase                         0x204b99220         facebook::react::tryAndReturnError (RCTCxxUtils.mm:74)
62  airbase                         0x204ba53f0         facebook::react::RCTMessageThread::tryFunc (RCTMessageThread.mm:69)
63  airbase                         0x204ba51a4         [inlined] operator() (functional:1885)
64  airbase                         0x204ba51a4         [inlined] operator() (functional:2560)
65  airbase                         0x204ba51a4         facebook::react::RCTMessageThread::runAsync (RCTMessageThread.mm:45)
66  CoreFoundation                  0x300a5e9d0         __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
67  CoreFoundation                  0x300a5f8cc         __CFRunLoopDoBlocks
68  CoreFoundation                  0x3009f788c         __CFRunLoopRun
69  CoreFoundation                  0x300a0b464         CFRunLoopRunSpecific
70  airbase                         0x204b8e42c         +[RCTCxxBridge runRunLoop] (RCTCxxBridge.mm:367)
71  Foundation                      0x303a9a408         __NSThread__start__
72  libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 29
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   libc++.1.dylib                  0x331cbddd8         std::__1::condition_variable::wait
3   hermes                          0x106dcf1d8         [inlined] std::__1::condition_variable::wait<T> (__mutex_base:409)
4   hermes                          0x106dcf1d8         hermes::vm::HadesGC::Executor::worker (HadesGC.cpp:1083)
5   hermes                          0x106dcf10c         [inlined] hermes::vm::HadesGC::Executor::Executor::lambda::operator() (HadesGC.cpp:1050)
6   hermes                          0x106dcf10c         [inlined] std::__1::__invoke<T> (type_traits:3545)
7   hermes                          0x106dcf10c         [inlined] std::__1::__thread_execute<T> (thread:273)
8   hermes                          0x106dcf10c         std::__1::__thread_proxy<T> (thread:284)
9   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 30
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   libc++.1.dylib                  0x331cbddd8         std::__1::condition_variable::wait
3   airbase                         0x204c9a830         [inlined] wait<T> (__mutex_base:406)
4   airbase                         0x204c9a830         facebook::hermes::inspector::detail::SerialExecutor::runLoop (SerialExecutor.cpp:41)
5   airbase                         0x204c5c164         [inlined] __invoke<T> (type_traits:3694)
6   airbase                         0x204c5c164         [inlined] __thread_execute<T> (thread:286)
7   airbase                         0x204c5c164         std::__1::__thread_proxy<T> (thread:297)
8   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 31
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   libc++.1.dylib                  0x331cbddd8         std::__1::condition_variable::wait
3   airbase                         0x204c9a830         [inlined] wait<T> (__mutex_base:406)
4   airbase                         0x204c9a830         facebook::hermes::inspector::detail::SerialExecutor::runLoop (SerialExecutor.cpp:41)
5   airbase                         0x204c5c164         [inlined] __invoke<T> (type_traits:3694)
6   airbase                         0x204c5c164         [inlined] __thread_execute<T> (thread:286)
7   airbase                         0x204c5c164         std::__1::__thread_proxy<T> (thread:297)
8   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

Thread 32
0   libsystem_kernel.dylib          0x36f585f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e1ed0250         _pthread_cond_wait
2   libc++.1.dylib                  0x331cbddd8         std::__1::condition_variable::wait
3   hermes                          0x106dcf1d8         [inlined] std::__1::condition_variable::wait<T> (__mutex_base:409)
4   hermes                          0x106dcf1d8         hermes::vm::HadesGC::Executor::worker (HadesGC.cpp:1083)
5   hermes                          0x106dcf10c         [inlined] hermes::vm::HadesGC::Executor::Executor::lambda::operator() (HadesGC.cpp:1050)
6   hermes                          0x106dcf10c         [inlined] std::__1::__invoke<T> (type_traits:3545)
7   hermes                          0x106dcf10c         [inlined] std::__1::__thread_execute<T> (thread:273)
8   hermes                          0x106dcf10c         std::__1::__thread_proxy<T> (thread:284)
9   libsystem_pthread.dylib         0x3e1ec99a0         _pthread_start

EOF
joshua-davis-rose commented 2 years ago

I'm also seeing this in our app. Sentry shows it going back at least 8 months, but it seems to have ticked up in frequency recently.

For what it's worth, we're also using FullStory and I think it may be some sort of thread conflict between FullStory and WalkMe. Removing/disabling either seems to fix the crash, but that's not an option for us right now.

ghost commented 2 years ago

Same here. We're also using WalkMe and FullStory.