realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.8k stars 576 forks source link

Fatal Exception: RCTFatalException: Unhandled JS Exception: Error: Failed to open file at path '/var/mobile/Containers/Data/Application/2FE5E895-9E44-4FB7-9757-DBF3EE4362D7/Library/app_internal_data//default.realm.lock': Operation not permitted, js engine: hermes #6838

Open Pingou opened 3 months ago

Pingou commented 3 months ago

How frequently does the bug occur?

Sometimes

Description

I have quite a lot of these crashes showing up in production on iOS. I personally have never been able to reproduce, does someone has a clue? I do not know it it happens to people first downloading the app, or upgrading, or not even that. It started happening after updating realm from 11.10.2 to 12.11.1 and react native from 0.72.4 to 0.74.3. The things I do is that when launching the app I first move realm data to another directory:


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [Bugsnag start];
  [FIRApp configure];

  self.moduleName = @"myapp";

  self.initialProps = @{};

  //change realm location
  NSString *libraryPath = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES)[0];
  NSString *appDataPath = [NSString stringWithFormat:@"%@/%@", libraryPath, @"app_internal_data"];
  NSError * error = nil;
  [[NSFileManager defaultManager] createDirectoryAtPath:appDataPath
                            withIntermediateDirectories:YES
                                             attributes:nil
                                                  error:&error];
  if (error != nil) {
      NSLog(@"error creating directory: %@", error);
     [[NSFileManager defaultManager] createDirectoryAtPath:appDataPath withIntermediateDirectories:YES attributes:nil error:NULL];
  }

  [self moveFileToAppPath:@"default.realm" appDataPath:appDataPath];
  [self moveFileToAppPath:@"default.realm.lock" appDataPath:appDataPath];
  [self moveFileToAppPath:@"default.realm.management" appDataPath:appDataPath];
  [self moveFileToAppPath:@"default.realm.note" appDataPath:appDataPath];

  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

-(void)moveFileToAppPath:(NSString *)fileName appDataPath:(NSString *)appDataPath
{

  NSString *realmPath = [NSString stringWithFormat:@"%@/%@", [self applicationDocumentsDirectory].path, fileName];
  NSString *targetPath =[NSString stringWithFormat:@"%@/%@", appDataPath, fileName];

  NSFileManager *fm = [NSFileManager defaultManager];

  if ( [fm isReadableFileAtPath:realmPath] && ![fm isReadableFileAtPath:targetPath])
    [fm moveItemAtPath:realmPath toPath:targetPath error:nil];

}

Stacktrace & log output

# Crashlytics - Stack trace
# Application: myapp
# Platform: apple
# Issue: 3cc2d29aa1bcf709c9e7f99c90887b4e
# Date: Sat Aug 10 2024 07:25:54 GMT+0200

Fatal Exception: RCTFatalException: Unhandled JS Exception: Error: Failed to open file at path '/var/mobile/Containers/Data/Application/2FE5E895-9E44-4FB7-9757-DBF3EE4362D7/Library/app_internal_data//default.realm.lock': Operation not permitted, js engine: hermes
0  CoreFoundation                 0x83f20 __exceptionPreprocess
1  libobjc.A.dylib                0x16018 objc_exception_throw
2  app                            0x9cfbf0 RCTFormatError + 167 (RCTAssert.m:167)
3  app                            0x422c10 -[RCTExceptionsManager reportFatal:stack:exceptionId:extraDataAsJSON:] + 82 (RCTExceptionsManager.mm:82)
4  app                            0x423420 -[RCTExceptionsManager reportException:] + 154 (RCTExceptionsManager.mm:154)
5  CoreFoundation                 0x20814 __invoking___
6  CoreFoundation                 0x1f860 -[NSInvocation invoke]
7  CoreFoundation                 0x961dc -[NSInvocation invokeWithTarget:]
8  app                            0xa051c8 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 587 (RCTModuleMethod.mm:587)
9  app                            0xa072c0 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 196 (RCTNativeModule.mm:196)
10 app                            0xa06f18 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 304 (optional:304)
11 libdispatch.dylib              0x213c _dispatch_call_block_and_release
12 libdispatch.dylib              0x3dd4 _dispatch_client_callout
13 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain
14 libdispatch.dylib              0xbf30 _dispatch_lane_invoke
15 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh
16 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread
17 libsystem_pthread.dylib        0x4934 _pthread_wqthread
18 libsystem_pthread.dylib        0x10cc start_wqthread

com.apple.main-thread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  GraphicsServices               0x11a8 GSEventRunModal + 164
8  UIKitCore                      0x40a90c -[UIApplication _run] + 888
9  UIKitCore                      0x4be9d0 UIApplicationMain + 340
10 app                            0x4ab4 main + 8 (main.m:8)
11 ???                            0x1c20ade4c (Missing)

Crashed: com.google.firebase.crashlytics.ios.exception
0  app                            0x4690f4 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  app                            0x4694d4 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  app                            0x4606d4 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  app                            0x45b580 __FIRCLSExceptionRecord_block_invoke + 240 (FIRCLSException.mm:240)
4  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
5  libdispatch.dylib              0x132c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  app                            0x45a528 FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242)
7  app                            0x45b044 FIRCLSExceptionRecordNSException + 126 (FIRCLSException.mm:126)
8  app                            0x45a130 FIRCLSTerminateHandler() + 407 (FIRCLSException.mm:407)
9  libc++abi.dylib                0x14068 std::__terminate(void (*)()) + 16
10 libc++abi.dylib                0x1400c std::terminate() + 108
11 libobjc.A.dylib                0x3cafc objc_terminate + 16
12 libdispatch.dylib              0x3de8 _dispatch_client_callout + 40
13 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain + 748
14 libdispatch.dylib              0xbf30 _dispatch_lane_invoke + 380
15 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
16 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
17 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
18 libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x10c4 start_wqthread + 8514961602

com.accessibility.asset-loading
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  libdispatch.dylib              0x1eb18 _dispatch_mach_send_and_wait_for_reply + 544
5  libdispatch.dylib              0x1eeb8 dispatch_mach_send_with_result_and_wait_for_reply + 60
6  libxpc.dylib                   0x10ac8 xpc_connection_send_message_with_reply_sync + 264
7  SiriTTSService                 0x6bc48 OUTLINED_FUNCTION_9 + 23508
8  SiriTTSService                 0x126a4 OUTLINED_FUNCTION_68 + 12500
9  SiriTTSService                 0x171e4 __swift_destroy_boxed_opaque_existential_1 + 876
10 SiriTTSService                 0x4cf8 __swift_memcpy1_1 + 5924
11 TextToSpeech                   0x4748 _TTSPreferencesCopyDefaultOutputLanguageIdentifierForUserPreferences + 5964
12 TextToSpeech                   0x5180 _TTSCopyFallbackLanguageIdentifierExplicitForLocale + 1848
13 TextToSpeech                   0x3814 _TTSPreferencesCopyDefaultOutputLanguageIdentifierForUserPreferences + 2072
14 libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
15 libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
16 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain + 748
17 libdispatch.dylib              0xbf64 _dispatch_lane_invoke + 432
18 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
19 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
20 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
21 libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x10c4 start_wqthread + 8514961602

Thread
0  libsystem_pthread.dylib        0x10c4 start_wqthread + 8514961602

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  Foundation                     0xc7e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0xc7c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x41e640 -[UIEventFetcher threadMain] + 420
10 Foundation                     0xde718 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x606c _pthread_start + 136
12 libsystem_pthread.dylib        0x10d8 thread_start + 8

KSCrash Exception Handler (Secondary)
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x2d78 thread_suspend + 112
3  app                            0x3e5308 ksmachexc_i_handleExceptions + 222 (BSG_KSCrashSentry_MachException.c:222)
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

KSCrash Exception Handler (Primary)
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  app                            0x3e533c ksmachexc_i_handleExceptions + 229 (BSG_KSCrashSentry_MachException.c:229)
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.bugsnag.app-hang-detector
0  libsystem_kernel.dylib         0x1784 semaphore_wait_trap + 8
1  libdispatch.dylib              0x4370 _dispatch_sema4_wait + 28
2  libdispatch.dylib              0x4a20 _dispatch_semaphore_wait_slow + 132
3  app                            0x3ea938 -[BSGAppHangDetector detectAppHangs] + 126 (BSGAppHangDetector.m:126)
4  app                            0x3ea8b8 DetectAppHangs + 217 (BSGAppHangDetector.m:217)
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

APMMonitorQueue
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  libdispatch.dylib              0x1eb18 _dispatch_mach_send_and_wait_for_reply + 544
5  libdispatch.dylib              0x1eeb8 dispatch_mach_send_with_result_and_wait_for_reply + 60
6  libxpc.dylib                   0x10ac8 xpc_connection_send_message_with_reply_sync + 264
7  CoreFoundation                 0xf0a44 __99-[CFPrefsPlistSource sendFullyPreparedMessage:toConnection:settingValues:forKeys:count:retryCount:]_block_invoke + 68
8  CoreFoundation                 0xefc74 -[_CFXPreferences withConnectionForRole:andUserIdentifier:performBlock:] + 52
9  CoreFoundation                 0xefb34 -[CFPrefsPlistSource sendFullyPreparedMessage:toConnection:settingValues:forKeys:count:retryCount:] + 316
10 CoreFoundation                 0xef94c -[CFPrefsPlistSource sendMessageSettingValues:forKeys:count:] + 828
11 CoreFoundation                 0xd2fe8 -[CFPrefsPlistSource alreadylocked_setPrecopiedValues:forKeys:count:from:] + 1408
12 CoreFoundation                 0xd2758 -[CFPrefsSource setValues:forKeys:count:copyValues:removeValuesForKeys:count:from:] + 428
13 CoreFoundation                 0xd2170 -[CFPrefsSearchListSource alreadylocked_setPrecopiedValues:forKeys:count:from:] + 1012
14 CoreFoundation                 0xd2758 -[CFPrefsSource setValues:forKeys:count:copyValues:removeValuesForKeys:count:from:] + 428
15 CoreFoundation                 0xd2584 -[CFPrefsSource setValue:forKey:from:] + 72
16 CoreFoundation                 0xd1bbc __76-[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:]_block_invoke + 60
17 CoreFoundation                 0x6e0a4 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 392
18 CoreFoundation                 0x6d9a0 normalizeQuintuplet + 412
19 CoreFoundation                 0x6d7dc -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 164
20 CoreFoundation                 0xd43a8 -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 124
21 CoreFoundation                 0xd42e8 _CFPreferencesSetAppValueWithContainerAndConfiguration + 120
22 app                            0x5698c0 -[APMUserDefaults setObject:forKey:] + 1592208
23 app                            0x520004 -[APMMonitor saveMonitoringDataToUserDefaultsOnMonitorQueue] + 1290964
24 app                            0x51ffb0 __78-[APMMonitor insertOrUpdateMonitoringDataWithMessage:encodedContext:logLevel:]_block_invoke + 1290880
25 libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
26 libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
27 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain + 748
28 libdispatch.dylib              0xbf30 _dispatch_lane_invoke + 380
29 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
30 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
31 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
32 libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.apple.root.background-qos
0  libsystem_kernel.dylib         0x7d0c __ulock_wait + 8
1  libdispatch.dylib              0x47c4 _dlock_wait + 56
2  libdispatch.dylib              0x44c0 _dispatch_wait_on_address + 140
3  libdispatch.dylib              0x4b90 _dispatch_group_wait_slow + 56
4  libswiftDispatch.dylib         0x2a38 OS_dispatch_group.wait(wallTimeout:) + 24
5  app                            0x4aa1c0 InstallationsProtocol.installationID(completion:) + 63 (Installations+InstallationsProtocol.swift:63)
6  app                            0x4a5ff0 closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 68 (SessionCoordinator.swift:68)
7  app                            0x4a97b8 partial apply for closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 805512 (<compiler-generated>:805512)
8  app                            0x830088 closure #1 in Promise.then(on:_:) + 95 (Promise+Then.swift:95)
9  app                            0x82f994 thunk for @escaping @callee_guaranteed (@guaranteed Swift.AnyObject?) -> (@out Any?) + 4500580 (<compiler-generated>:4500580)
10 app                            0x4302cc __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.18 + 273 (FBLPromise.m:273)
11 libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
12 libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
13 libdispatch.dylib              0x15af4 _dispatch_root_queue_drain + 1000
14 libdispatch.dylib              0x1609c _dispatch_worker_thread2 + 156
15 libsystem_pthread.dylib        0x48f8 _pthread_wqthread + 228
16 libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

APMPersistentDictionary
0  libsystem_kernel.dylib         0x7368 __open + 8
1  libsystem_kernel.dylib         0x7354 open + 40
2  Foundation                     0x1fd88 _NSOpenFileDescriptor_Protected + 408
3  Foundation                     0x1f390 _NSCreateTemporaryFile_Protected + 224
4  Foundation                     0x20a78 _NSWriteDataToFileWithExtendedAttributes + 436
5  Foundation                     0x842b4 -[NSDictionary(NSDictionary) writeToURL:error:] + 128
6  app                            0x54876c APMWriteDictionaryToURL + 1456700
7  app                            0x549288 -[APMPersistentDictionary persistToDisk] + 1459544
8  app                            0x549224 __48-[APMPersistentDictionary schedulePersistToDisk]_block_invoke + 1459444
9  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
10 libdispatch.dylib              0x72d8 _dispatch_continuation_pop + 600
11 libdispatch.dylib              0x1b1c8 _dispatch_source_latch_and_call + 420
12 libdispatch.dylib              0x19d8c _dispatch_source_invoke + 832
13 libdispatch.dylib              0xb284 _dispatch_lane_serial_drain + 368
14 libdispatch.dylib              0xbf30 _dispatch_lane_invoke + 380
15 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
16 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
17 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
18 libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  app                            0x462df8 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.facebook.react.JavaScript
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  app                            0x9e64c0 +[RCTCxxBridge runRunLoop] + 326 (RCTCxxBridge.mm:326)
8  Foundation                     0xde718 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x606c _pthread_start + 136
10 libsystem_pthread.dylib        0x10d8 thread_start + 8

hades
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  hermes                         0xcbf60 hermes::vm::HadesGC::Executor::worker() + 116
4  hermes                         0xcbec8 void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Executor()::'lambda'()>>(void*) + 44
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

AXSpeech
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  Foundation                     0xc7e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  TextToSpeech                   0x27718 TTSCFAttributedStringCreateStringByBracketingAttributeWithString + 776
9  Foundation                     0xde718 __NSThread__start__ + 732
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.apple.CoreMotion.MotionThread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  CoreMotion                     0x10210 (Missing UUID e4a6f107b302327ca121c9bebacca8f4)
9  libsystem_pthread.dylib        0x606c _pthread_start + 136
10 libsystem_pthread.dylib        0x10d8 thread_start + 8

Can you reproduce the bug?

No

Reproduction Steps

No response

Version

12.11.1

What services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

iOS

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

sync-by-unito[bot] commented 3 months ago

➤ PM Bot commented:

Jira ticket: RJS-2884

Pingou commented 2 months ago

Anyone has a clue? Looks similar to https://github.com/realm/realm-swift/issues/7874, which was closed.