question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Crash - EXC_BAD_ACCESS

See original GitHub issue

Goals

  • Regular use

Expected Results

  • Regular use

Actual Results

Our crash reporting tool reported the following iOS crash/exception coming from RealmJS. While I do not have any steps to reproduce or anything specific to share (just regular use, no sync), the crash happened right before the “app will terminate” event.

Below is the crash log:

EXC_BAD_ACCESS Attempted to dereference garbage pointer 0x10. 
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::JSGlobalObject::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&)
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::JSProxy::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&)
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::JSObject::get(JSC::ExecState*, JSC::PropertyName) const
    Frameworks/JavaScriptCore.framework/JavaScriptCore _JSObjectGetProperty
    zinspector3 void std::__1::__call_once_proxy<std::__1::tuple<realm::SyncManager& realm::js::syncManagerShared<realm::jsc::Types>(realm::jsc::Types::Context&)::{lambda()#1}&&> >(void*)
    zinspector3 void std::__1::__call_once_proxy<std::__1::tuple<realm::SyncManager& realm::js::syncManagerShared<realm::jsc::Types>(realm::jsc::Types::Context&)::{lambda()#1}&&> >(void*)
    zinspector3 realm::jsc::ObjectWrap<realm::js::AsyncOpenTaskClass<realm::jsc::Types> >::set_readonly_property(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSString*, OpaqueJSValue const*, OpaqueJSValue const**)
    zinspector3 OpaqueJSValue const* realm::js::wrap<&realm::js::RealmClass<realm::jsc::Types>::create>(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**)
    Frameworks/JavaScriptCore.framework/JavaScriptCore long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*)
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _vmEntryToJavaScript
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
    Frameworks/JavaScriptCore.framework/JavaScriptCore _JSObjectCallAsFunction
    zinspector3 realm::jsc::ObjectWrap<realm::js::AsyncOpenTaskClass<realm::jsc::Types> >::set_readonly_property(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSString*, OpaqueJSValue const*, OpaqueJSValue const**)
    zinspector3 OpaqueJSValue const* realm::js::wrap<&realm::js::RealmClass<realm::jsc::Types>::write>(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**)
    Frameworks/JavaScriptCore.framework/JavaScriptCore long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*)
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _llint_entry
    Frameworks/JavaScriptCore.framework/JavaScriptCore _vmEntryToJavaScript
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::boundThisNoArgsFunctionCall(JSC::ExecState*)
    Frameworks/JavaScriptCore.framework/JavaScriptCore _vmEntryToNative
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
    Frameworks/JavaScriptCore.framework/JavaScriptCore JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
    Frameworks/JavaScriptCore.framework/JavaScriptCore _JSObjectCallAsFunction
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    Frameworks/CoreFoundation.framework/CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
    Frameworks/CoreFoundation.framework/CoreFoundation ___CFRunLoopDoBlocks
    Frameworks/CoreFoundation.framework/CoreFoundation ___CFRunLoopRun
    Frameworks/CoreFoundation.framework/CoreFoundation _CFRunLoopRunSpecific
    zinspector3 facebook::react::JSIExecutor::defaultTimeoutInvoker(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>)
    Frameworks/Foundation.framework/Foundation -[NSThread main]
    Frameworks/Foundation.framework/Foundation ___NSThread__start__
    /usr/lib/system/libsystem_pthread.dylib __pthread_start

Steps to Reproduce

Code Sample

Version of Realm and Tooling

  • Realm JS SDK Version: 3.6.3
  • Node or React Native: 0.61.5
  • Client OS & Version: iOS 13.3
  • Which debugger for React Native: None

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
gfirmacionpearcommented, Mar 4, 2020

We’re also experiencing this each time we force quit the simulator or on a real device. Stacktrace:

Incident Identifier: 1a2fd3cf-edc6-43c3-be62-2d599437e0ad
CrashReporter Key:   B61035E4-D830-43F2-8DAD-5AB04FC91759
Hardware Model:      iPhone12,1
Process:         shuti [9014]
Path:            /private/var/containers/Bundle/Application/9A1E92EB-46A9-43A4-9EB9-012642B87D85/shuti.app/shuti
Identifier:      xxxx
Version:         0.1.1 (6209)
Code Type:       arm64e
Parent Process:  ??? [1]

Date/Time:       2020-02-24T13:30:59.999Z
Launch Time:     2020-02-24T13:30:33Z
OS Version:      iPhone OS 13.3.1 (17D50)
Report Version:  104

Exception Type:  SIGSEGV
Exception Codes: SEGV_MAPERR at 0x10
Crashed Thread:  13

Thread 13 Crashed:
0   JavaScriptCore                       0x00000001960b4acc JSC::JSGlobalObject::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&) + 88
1   JavaScriptCore                       0x000000019610bbd4 JSC::JSProxy::getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&) + 60
2   JavaScriptCore                       0x00000001958acd78 JSC::JSObject::get(JSC::ExecState*, JSC::PropertyName) const + 2288
3   JavaScriptCore                       0x00000001958c4134 JSObjectGetProperty + 100
4   shuti                                0x00000001047855f4 _hidden#20954_ (__hidden#22651_:31)
5   shuti                                0x0000000104785520 _hidden#20953_ (__hidden#22651_:63)
6   shuti                                0x00000001047bd890 _hidden#22052_ (__hidden#22504_:994)
7   shuti                                0x00000001047b9278 OpaqueJSValue const* realm::js::wrap<&(realm::js::RealmClass<realm::jsc::Types>::create(OpaqueJSContext const*, OpaqueJSValue*, realm::js::Arguments<realm::jsc::Types>&, realm::js::ReturnValue<realm::jsc::Types>&))>(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) (__hidden#22590_:390)
8   JavaScriptCore                       0x00000001958b2ed8 long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*) + 356
9   JavaScriptCore                       0x000000019588b8e8 llint_entry + 144484
10  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
11  JavaScriptCore                       0x0000000195868234 vmEntryToJavaScript + 256
12  JavaScriptCore                       0x0000000195e023cc JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 404
13  JavaScriptCore                       0x000000019600f9ec JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 188
14  JavaScriptCore                       0x00000001958c61ac JSObjectCallAsFunction + 380
15  shuti                                0x00000001047be34c _hidden#22061_ (__hidden#22703_:29)
16  shuti                                0x00000001047b9440 OpaqueJSValue const* realm::js::wrap<&(realm::js::RealmClass<realm::jsc::Types>::write(OpaqueJSContext const*, OpaqueJSValue*, realm::js::Arguments<realm::jsc::Types>&, realm::js::ReturnValue<realm::jsc::Types>&))>(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) (__hidden#22590_:390)
17  JavaScriptCore                       0x00000001958b2ed8 long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*) + 356
18  JavaScriptCore                       0x000000019588b8e8 llint_entry + 144484
19  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
20  JavaScriptCore                       0x0000000195888a2c llint_entry + 132520
21  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
22  JavaScriptCore                       0x0000000195888a2c llint_entry + 132520
23  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
24  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
25  JavaScriptCore                       0x0000000195868234 vmEntryToJavaScript + 256
26  JavaScriptCore                       0x0000000195e023cc JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 404
27  JavaScriptCore                       0x000000019609da18 JSC::boundThisNoArgsFunctionCall(JSC::ExecState*) + 460
28  JavaScriptCore                       0x000000019588b55c llint_entry + 143576
29  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
30  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
31  JavaScriptCore                       0x0000000195888a2c llint_entry + 132520
32  JavaScriptCore                       0x0000000195888978 llint_entry + 132340
33  JavaScriptCore                       0x0000000195868234 vmEntryToJavaScript + 256
34  JavaScriptCore                       0x0000000195e023cc JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 404
35  JavaScriptCore                       0x000000019609da18 JSC::boundThisNoArgsFunctionCall(JSC::ExecState*) + 460
36  JavaScriptCore                       0x000000019588b55c llint_entry + 143576
37  JavaScriptCore                       0x0000000195868234 vmEntryToJavaScript + 256
38  JavaScriptCore                       0x0000000195e023cc JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 404
39  JavaScriptCore                       0x000000019609da18 JSC::boundThisNoArgsFunctionCall(JSC::ExecState*) + 460
40  JavaScriptCore                       0x00000001958683bc vmEntryToNative + 264
41  JavaScriptCore                       0x0000000195e0241c JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 484
42  JavaScriptCore                       0x000000019600f9ec JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 188
43  JavaScriptCore                       0x00000001958c61ac JSObjectCallAsFunction + 380
44  shuti                                0x000000010466763c _hidden#9805_ (__hidden#9879_:1056)
45  shuti                                0x000000010466fa10 _hidden#10309_ (__hidden#10196_:219)
46  shuti                                0x000000010466f870 _hidden#10306_ (__hidden#10395_:223)
47  shuti                                0x00000001045feb3c _hidden#4226_ (__hidden#2140_:4361)
48  shuti                                0x000000010466d9a0 _hidden#10221_ (__hidden#1454_:1799)
49  shuti                                0x00000001046654dc _hidden#9533_ (__hidden#1454_:1799)
50  shuti                                0x00000001046112e4 _hidden#3048_ (__hidden#1454_:1799)
51  shuti                                0x0000000104607c30 _hidden#4781_ (__hidden#4864_:59)
52  CoreFoundation                       0x0000000186457f24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 24
53  CoreFoundation                       0x00000001864576a8 __CFRunLoopDoBlocks + 264
54  CoreFoundation                       0x0000000186452b58 __CFRunLoopRun + 2284
55  CoreFoundation                       0x0000000186451f40 CFRunLoopRunSpecific + 476
56  shuti                                0x00000001045e99b8 _hidden#3046_ (__hidden#3388_:249)
57  Foundation                           0x0000000186795fa4 -[NSThread main] + 36
58  Foundation                           0x00000001868d1a74 __NSThread__start__ + 848
59  libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
60  libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 0:
0   libsystem_kernel.dylib               0x00000001862c78f0 __ulock_wait + 8
1   libc++.1.dylib                       0x000000018635c260 std::__1::thread::join() + 32
2   shuti                                0x0000000104a6b208 _hidden#37642_ + 48
3   libsystem_c.dylib                    0x0000000186157064 __cxa_finalize_ranges + 412
4   libsystem_c.dylib                    0x00000001861573a0 exit + 24
5   UIKitCore                            0x000000018a5e2cc4 -[UIApplication _terminateWithStatus:] + 504
6   UIKitCore                            0x0000000189d742d0 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 124
7   UIKitCore                            0x0000000189d73f2c -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 216
8   UIKitCore                            0x000000018a5d8dd4 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212
9   FrontBoardServices                   0x000000018b6ca98c -[FBSUIApplicationWorkspaceShim workspaceShouldExit:withTransitionContext:] + 84
10  FrontBoardServices                   0x000000018b6f8264 __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke_2 + 76
11  FrontBoardServices                   0x000000018b6dcef4 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 236
12  FrontBoardServices                   0x000000018b6f81f0 __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke + 136
13  libdispatch.dylib                    0x0000000186181fd8 _dispatch_client_callout + 16
14  libdispatch.dylib                    0x0000000186184d1c _dispatch_block_invoke_direct + 260
15  FrontBoardServices                   0x000000018b71f254 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
16  FrontBoardServices                   0x000000018b71ef00 -[FBSSerialQueue _queue_performNextIfPossible] + 428
17  FrontBoardServices                   0x000000018b71f46c -[FBSSerialQueue _performNextFromRunLoopSource] + 28
18  CoreFoundation                       0x0000000186458108 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
19  CoreFoundation                       0x000000018645805c __CFRunLoopDoSource0 + 80
20  CoreFoundation                       0x00000001864577c8 __CFRunLoopDoSources0 + 180
21  CoreFoundation                       0x0000000186452694 __CFRunLoopRun + 1064
22  CoreFoundation                       0x0000000186451f40 CFRunLoopRunSpecific + 476
23  GraphicsServices                     0x00000001906e2534 GSEventRunModal + 104
24  UIKitCore                            0x000000018a5dd580 UIApplicationMain + 1936
25  shuti                                0x00000001045d0f0c main (__hidden#50_:14)
26  libdyld.dylib                        0x00000001862d0e18 start + 0

Thread 1:
0   libsystem_kernel.dylib               0x00000001862a4c04 mach_msg_trap + 8
1   CoreFoundation                       0x0000000186457964 __CFRunLoopServiceMachPort + 216
2   CoreFoundation                       0x00000001864527fc __CFRunLoopRun + 1424
3   CoreFoundation                       0x0000000186451f40 CFRunLoopRunSpecific + 476
4   Foundation                           0x0000000186797340 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228
5   Foundation                           0x0000000186797218 -[NSRunLoop(NSRunLoop) runUntilDate:] + 88
6   UIKitCore                            0x000000018a678e9c -[UIEventFetcher threadMain] + 152
7   Foundation                           0x0000000186795fa4 -[NSThread main] + 36
8   Foundation                           0x00000001868d1a74 __NSThread__start__ + 848
9   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
10  libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 2:
0   libsystem_kernel.dylib               0x00000001862c7ab4 __workq_kernreturn + 8
1   libsystem_pthread.dylib              0x00000001861ed9e8 start_wqthread + 4

Thread 3:
0   libsystem_kernel.dylib               0x00000001862c7ab4 __workq_kernreturn + 8
1   libsystem_pthread.dylib              0x00000001861ed9e8 start_wqthread + 4

Thread 4:
0   shuti                                0x00000001046f1ef8 _hidden#16163_ + 176
1   shuti                                0x000000010470032c _hidden#16579_ + 868
2   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
3   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 5:
0   libsystem_kernel.dylib               0x00000001862c6ccc __psynch_cvwait + 8
1   libc++.1.dylib                       0x000000018631bd04 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
2   JavaScriptCore                       0x00000001956b737c void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 100
3   JavaScriptCore                       0x00000001956bade0 bmalloc::Scavenger::threadRunLoop() + 192
4   JavaScriptCore                       0x00000001956baad8 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 12
5   JavaScriptCore                       0x00000001956bbe1c void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 40
6   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
7   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 6:
0   libsystem_kernel.dylib               0x00000001862a4c04 mach_msg_trap + 8
1   CoreFoundation                       0x0000000186457964 __CFRunLoopServiceMachPort + 216
2   CoreFoundation                       0x00000001864527fc __CFRunLoopRun + 1424
3   CoreFoundation                       0x0000000186451f40 CFRunLoopRunSpecific + 476
4   WebCore                              0x000000018e62c820 RunWebThread(void*) + 560
5   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
6   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 7:
0   libsystem_kernel.dylib               0x00000001862c6ccc __psynch_cvwait + 8
1   JavaScriptCore                       0x000000019567adc4 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 144
2   JavaScriptCore                       0x000000019566039c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1924
3   JavaScriptCore                       0x0000000195637124 bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 188
4   JavaScriptCore                       0x0000000195637494 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 204
5   JavaScriptCore                       0x0000000195678a58 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 256
6   JavaScriptCore                       0x000000019567a5a4 WTF::wtfThreadEntryPoint(void*) + 12
7   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
8   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 8:
0   libsystem_kernel.dylib               0x00000001862c6ccc __psynch_cvwait + 8
1   JavaScriptCore                       0x000000019567adc4 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 144
2   JavaScriptCore                       0x000000019566039c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1924
3   JavaScriptCore                       0x0000000195637124 bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 188
4   JavaScriptCore                       0x0000000195637494 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 204
5   JavaScriptCore                       0x0000000195678a58 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 256
6   JavaScriptCore                       0x000000019567a5a4 WTF::wtfThreadEntryPoint(void*) + 12
7   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
8   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 9:
0   libsystem_kernel.dylib               0x00000001862c6ccc __psynch_cvwait + 8
1   JavaScriptCore                       0x000000019567adc4 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 144
2   JavaScriptCore                       0x000000019566039c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1924
3   JavaScriptCore                       0x0000000195637124 bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 188
4   JavaScriptCore                       0x0000000195637494 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 204
5   JavaScriptCore                       0x0000000195678a58 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 256
6   JavaScriptCore                       0x000000019567a5a4 WTF::wtfThreadEntryPoint(void*) + 12
7   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
8   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 10:
0   libsystem_kernel.dylib               0x00000001862c6ccc __psynch_cvwait + 8
1   JavaScriptCore                       0x000000019567adc4 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 144
2   JavaScriptCore                       0x000000019566039c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1924
3   JavaScriptCore                       0x0000000195637124 bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 188
4   JavaScriptCore                       0x0000000195637494 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 204
5   JavaScriptCore                       0x0000000195678a58 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 256
6   JavaScriptCore                       0x000000019567a5a4 WTF::wtfThreadEntryPoint(void*) + 12
7   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
8   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 11:
0   libsystem_kernel.dylib               0x00000001862c6ccc __psynch_cvwait + 8
1   JavaScriptCore                       0x000000019567adc4 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 144
2   JavaScriptCore                       0x000000019566039c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1924
3   JavaScriptCore                       0x0000000195637124 bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 188
4   JavaScriptCore                       0x0000000195637494 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 204
5   JavaScriptCore                       0x0000000195678a58 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 256
6   JavaScriptCore                       0x000000019567a5a4 WTF::wtfThreadEntryPoint(void*) + 12
7   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
8   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 12:
0   libsystem_kernel.dylib               0x00000001862c7278 __semwait_signal + 8
1   shuti                                0x0000000104a7e1e8 _hidden#34481_ + 72
2   shuti                                0x0000000104a6ba18 _hidden#37649_ + 36
3   shuti                                0x0000000104a6dee4 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()> >(void*) + 40
4   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
5   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 14:
0   libsystem_kernel.dylib               0x00000001862c89dc kevent + 8
1   shuti                                0x000000010476d814 _hidden#20356_ (__hidden#20366_:173)
2   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
3   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 15:
0   libsystem_kernel.dylib               0x00000001862a4c04 mach_msg_trap + 8
1   CoreFoundation                       0x0000000186457964 __CFRunLoopServiceMachPort + 216
2   CoreFoundation                       0x00000001864527fc __CFRunLoopRun + 1424
3   CoreFoundation                       0x0000000186451f40 CFRunLoopRunSpecific + 476
4   CFNetwork                            0x0000000189757568 0x189756000 + -7895328566512970392
5   Foundation                           0x0000000186795fa4 -[NSThread main] + 36
6   Foundation                           0x00000001868d1a74 __NSThread__start__ + 848
7   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
8   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 16:
0   libsystem_kernel.dylib               0x00000001862c6ccc __psynch_cvwait + 8
1   JavaScriptCore                       0x000000019567adc4 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 144
2   JavaScriptCore                       0x000000019566039c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1924
3   JavaScriptCore                       0x0000000195637124 bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 188
4   JavaScriptCore                       0x0000000195637494 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 204
5   JavaScriptCore                       0x0000000195678a58 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 256
6   JavaScriptCore                       0x000000019567a5a4 WTF::wtfThreadEntryPoint(void*) + 12
7   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
8   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 17:
0   libsystem_kernel.dylib               0x00000001862a4c04 mach_msg_trap + 8
1   CoreFoundation                       0x0000000186457964 __CFRunLoopServiceMachPort + 216
2   CoreFoundation                       0x00000001864527fc __CFRunLoopRun + 1424
3   CoreFoundation                       0x0000000186451f40 CFRunLoopRunSpecific + 476
4   AVFAudio                             0x00000001933f9f70 GenericRunLoopThread::Entry(void*) + 156
5   AVFAudio                             0x000000019344b1fc CAPThread::Entry(CAPThread*) + 204
6   libsystem_pthread.dylib              0x00000001861e5840 _pthread_start + 164
7   libsystem_pthread.dylib              0x00000001861ed9f4 thread_start + 4

Thread 18:
0   libsystem_kernel.dylib               0x00000001862c7ab4 __workq_kernreturn + 8
1   libsystem_pthread.dylib              0x00000001861ed9e8 start_wqthread + 4

Thread 19:
0   ???                                  0x0000000000000000 0x0 + 0

Thread 13 crashed with arm64e Thread State:
   x21: 0x0000000000000000     x2: 0x0000000000000000    x16: 0x00000001958c40cc     x3: 0x000000016cdc8100
   x22: 0x000000016cdc8510     x4: 0x0000000000000000    x17: 0x000000001f800000   cpsr: 0x0000000060000000
    x5: 0x0000000000000000    x23: 0x00000001079e3000     x6: 0x0000000000000000    x18: 0x0000000000000000
   x10: 0x0000000111f00000     lr: 0x000000019610bbd4     x7: 0x0000000000000001    x24: 0x000000010fc41490
   x11: 0x000000010fe6c000     x8: 0x000000000000005b    x19: 0x000000016cdc8100    x25: 0x00000001079efd20
    x9: 0x000000010fc41490    x12: 0x000000000000000f     fp: 0x000000016cdc80e0    x26: 0x0000000000000002
   x13: 0x00000000c541177d     pc: 0x00000001960b4acc    x27: 0x00000001960e3760    x14: 0x000000000000000f
   x20: 0x000000010fec0000     x0: 0x000000010fecb600     sp: 0x000000016cdc80b0    x28: 0x0000000000000002
   x15: 0x000000010fe6c000     x1: 0x000000016cdc8510

Binary Images:
0x00000001045cc000 -        0x0000000104c6ffff +shuti arm64  <a472147e8bc83531aeb555356ea5440d> /private/var/containers/Bundle/Application/9A1E92EB-46A9-43A4-9EB9-012642B87D85/shuti.app/shuti
0x0000000104f0c000 -        0x0000000104f3ffff +Lottie arm64  <2aca8652480d3d8c818316d9ca40a164> /private/var/containers/Bundle/Application/9A1E92EB-46A9-43A4-9EB9-012642B87D85/shuti.app/Frameworks/Lottie.framework/Lottie
0x0000000186100000 -        0x000000018617efff  libsystem_c.dylib arm64e  <8b9c0d18aeba3e24a95f2ec54f9fb4ef> /usr/lib/system/libsystem_c.dylib
0x000000018617f000 -        0x00000001861bbfff  libdispatch.dylib arm64e  <0c7a69cdf2ee3426bfd8742c903d3d07> /usr/lib/system/libdispatch.dylib
0x00000001861e4000 -        0x00000001861eefff  libsystem_pthread.dylib arm64e  <637416f6a7a3339b96ed9ebc80d38988> /usr/lib/system/libsystem_pthread.dylib
0x00000001862a1000 -        0x00000001862cffff  libsystem_kernel.dylib arm64e  <ae36dce0999d39909eed01106f17dc90> /usr/lib/system/libsystem_kernel.dylib
0x00000001862d0000 -        0x0000000186303fff  libdyld.dylib arm64e  <9d12204719b736a2a89227401f9e0e6c> /usr/lib/system/libdyld.dylib
0x000000018630d000 -        0x0000000186367fff  libc++.1.dylib arm64e  <fff3d40d85a0308eac32908bca1188d0> /usr/lib/libc++.1.dylib
0x00000001863aa000 -        0x0000000186727fff  CoreFoundation arm64e  <dc2c95c6b95439e886a25e0af8801e87> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x000000018678f000 -        0x0000000186a5afff  Foundation arm64e  <7a7a96af79e43db1890442e61cae8999> /System/Library/Frameworks/Foundation.framework/Foundation
0x0000000189756000 -        0x0000000189ab6fff  CFNetwork arm64e  <e94fb3fd49b5399497b4f12c844cbe7e> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x0000000189b9a000 -        0x000000018acbefff  UIKitCore arm64e  <aafefebec17233468972810eb8f2f2c6> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x000000018b6c5000 -        0x000000018b73cfff  FrontBoardServices arm64e  <370f1f18e8a936b5b0eb9735a02ce2de> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
0x000000018e1f1000 -        0x000000018ff0dfff  WebCore arm64e  <ca426a2f548134acaf0a08332c0a84e0> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x00000001906df000 -        0x00000001906e7fff  GraphicsServices arm64e  <35a16dda337d378fadb4b70c8a46bb74> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x0000000193393000 -        0x000000019347ffff  AVFAudio arm64e  <a9217a70e269333db8c50b19e2fb365c> /System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/AVFAudio
0x000000019562c000 -        0x0000000196426fff  JavaScriptCore arm64e  <c487262f3edb302ab3153576e2d08b43> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0reactions
knethcommented, Sep 1, 2022

We are approaching the point where our new JSI based implementation will take over, so I take the liberty to close the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EXC_BAD_ACCESS crash error: Understanding and solving it
EXC_BAD_ACCESS is an exception raised as a result of accessing bad memory. We're constantly working with pointers to memory in Swift that link ......
Read more >
Investigating memory access crashes - Apple Developer
For example, consider the following iOS crash report on an arm64 CPU: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at ...
Read more >
EXC_BAD_ACCESS signal received - Stack Overflow
In my experience, this is generally caused by an illegal memory access. Check all pointers, especially object pointers, to make sure they're ...
Read more >
What Is EXC_BAD_ACCESS and How to Debug It - Code
Whenever you encounter EXC_BAD_ACCESS, it means that you are sending a message to an object that has already been released. This is the...
Read more >
iOS app crashes with EXC_BAD_ACCESS ... - GitHub
Description After upgrading from 2.2.0 to 2.3.1, a lot of the same crash has been reported in crashlytics for our users. The crash...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found