-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
3 - M (<= 1 month)
-
5230
How frequently does the bug occur?
Sometimes
Description
This crash happens with every new install on a device and the app crashes within 1 sec.
RealmJS version : 10.24.0
Pod version: 10.32.1
Stacktrace & log output
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
# Crashlytics - Stack trace # Platform: apple # Version: 15.3.1 (217) # Issue: b4a8529b73bff444c4a586261c7544ea # Session: fc80e1b3d501496ab519955cc8b3a55f_DNE_0_v2 # Date: Mon Jan 09 2023 17:20:37 GMT+0530 (India Standard Time) Fatal Exception: RCTFatalException: Unhandled JS Exception: Error: Missing Realm constructor. Did you run "pod install"? Please see https://realm.io/docs/react-native/latest/#missing-realm-constructor for troubleshooting 0 CoreFoundation 0x9e88 __exceptionPreprocess 1 libobjc.A.dylib 0x178d8 objc_exception_throw 2 appname 0x1c0838 RCTFormatError + 166 (RCTAssert.m:166) 3 appname 0x231b00 -[RCTExceptionsManager reportFatal:stack:exceptionId:] + 68 (RCTExceptionsManager.mm:68) 4 appname 0x2322ec -[RCTExceptionsManager reportException:] + 135 (RCTExceptionsManager.mm:135) 5 CoreFoundation 0x74704 __invoking___ 6 CoreFoundation 0x20b6c -[NSInvocation invoke] 7 CoreFoundation 0x20584 -[NSInvocation invokeWithTarget:] 8 appname 0x1ee5a0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 587 (RCTModuleMethod.mm:587) 9 appname 0x1f0718 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 183 (RCTNativeModule.mm:183) 10 appname 0x1f03a0 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 419 (Optional.h:419) 11 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release 12 libdispatch.dylib 0x3fdc _dispatch_client_callout 13 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain 14 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke 15 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread 16 libsystem_pthread.dylib 0xdf8 _pthread_wqthread 17 libsystem_pthread.dylib 0xb98 start_wqthread com.apple.main-thread 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 GraphicsServices 0x1368 GSEventRunModal + 164 8 UIKitCore 0x3a23d0 -[UIApplication _run] + 888 9 UIKitCore 0x3a2034 UIApplicationMain + 340 10 appname 0x39d3c main + 16 (main.m:16) 11 ??? 0x1b08ec960 (Missing) Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Crashed: com.google.firebase.crashlytics.ios.exception 0 appname 0x9c284 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393) 1 appname 0x9c664 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424) 2 appname 0x93cd0 FIRCLSHandler + 34 (FIRCLSHandler.m:34) 3 appname 0x8ec70 __FIRCLSExceptionRecord_block_invoke + 232 (FIRCLSException.mm:232) 4 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 5 libdispatch.dylib 0x13574 _dispatch_lane_barrier_sync_invoke_and_complete + 56 6 appname 0x8dc7c FIRCLSExceptionRecord + 234 (FIRCLSException.mm:234) 7 appname 0x8e790 FIRCLSExceptionRecordNSException + 126 (FIRCLSException.mm:126) 8 appname 0x8d8d4 FIRCLSTerminateHandler() + 398 (FIRCLSException.mm:398) 9 libc++abi.dylib 0x10f28 std::__terminate(void (*)()) + 20 10 libc++abi.dylib 0x10ec4 std::terminate() + 56 11 libobjc.A.dylib 0x33bec objc_terminate + 16 12 libdispatch.dylib 0x3ff0 _dispatch_client_callout + 40 13 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain + 672 14 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 384 15 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652 16 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288 17 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 Foundation 0x42334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x4221c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x4d733c -[UIEventFetcher threadMain] + 436 10 Foundation 0x5b808 __NSThread__start__ + 716 11 libsystem_pthread.dylib 0x16cc _pthread_start + 148 12 libsystem_pthread.dylib 0xba4 thread_start + 8 com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 appname 0x961b8 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192) 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 com.facebook.react.JavaScript 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 appname 0x1d1d00 +[RCTCxxBridge runRunLoop] + 378 (RCTCxxBridge.mm:378) 8 Foundation 0x5b808 __NSThread__start__ + 716 9 libsystem_pthread.dylib 0x16cc _pthread_start + 148 10 libsystem_pthread.dylib 0xba4 thread_start + 8 JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 JavaScriptCore 0xf6324 scavenger_thread_main + 1164 3 libsystem_pthread.dylib 0x16cc _pthread_start + 148 4 libsystem_pthread.dylib 0xba4 thread_start + 8 Heap Helper Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 JavaScriptCore 0x4c6a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 3 JavaScriptCore 0xd0fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 4 JavaScriptCore 0xd578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 5 JavaScriptCore 0x6ee5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 6 JavaScriptCore 0x710e4 WTF::wtfThreadEntryPoint(void*) + 16 7 libsystem_pthread.dylib 0x16cc _pthread_start + 148 8 libsystem_pthread.dylib 0xba4 thread_start + 8 Heap Helper Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 JavaScriptCore 0x4c6a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 3 JavaScriptCore 0xd0fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 4 JavaScriptCore 0xd578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 5 JavaScriptCore 0x6ee5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 6 JavaScriptCore 0x710e4 WTF::wtfThreadEntryPoint(void*) + 16 7 libsystem_pthread.dylib 0x16cc _pthread_start + 148 8 libsystem_pthread.dylib 0xba4 thread_start + 8 Heap Helper Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 JavaScriptCore 0x4c6a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 3 JavaScriptCore 0xd0fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 4 JavaScriptCore 0xd578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 5 JavaScriptCore 0x6ee5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 6 JavaScriptCore 0x710e4 WTF::wtfThreadEntryPoint(void*) + 16 7 libsystem_pthread.dylib 0x16cc _pthread_start + 148 8 libsystem_pthread.dylib 0xba4 thread_start + 8 Heap Helper Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 JavaScriptCore 0x4c6a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 3 JavaScriptCore 0xd0fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 4 JavaScriptCore 0xd578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 5 JavaScriptCore 0x6ee5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 6 JavaScriptCore 0x710e4 WTF::wtfThreadEntryPoint(void*) + 16 7 libsystem_pthread.dylib 0x16cc _pthread_start + 148 8 libsystem_pthread.dylib 0xba4 thread_start + 8 Heap Helper Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 JavaScriptCore 0x4c6a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 3 JavaScriptCore 0xd0fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 4 JavaScriptCore 0xd578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 5 JavaScriptCore 0x6ee5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 6 JavaScriptCore 0x710e4 WTF::wtfThreadEntryPoint(void*) + 16 7 libsystem_pthread.dylib 0x16cc _pthread_start + 148 8 libsystem_pthread.dylib 0xba4 thread_start + 8 com.apple.CoreMotion.MotionThread 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 CoreFoundation 0xc4d04 CFRunLoopRun + 64 8 CoreMotion 0x13ec0 CLMotionActivity::isTypeInVehicle(CLMotionActivity::Type) + 22820 9 libsystem_pthread.dylib 0x16cc _pthread_start + 148 10 libsystem_pthread.dylib 0xba4 thread_start + 8
Can you reproduce the bug?
Sometimes
Reproduction Steps
No response
Version
10.24.0
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
13+
Build environment
I am not able to reproduce this issue on my dev environment, but this is happening with users in production environment
Cocoapods version
10.32.1