objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

OSX Error Could not open database environment

Open hushmand opened this issue 2 years ago • 7 comments

I run app on macOS and then below error. used objectbox 1.7.2, flutter 3.7.5, xcode 14.2

flutter run -d macos

001-14:29:58.0646 [ERROR] Storage error "Operation not permitted" (code 1)
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: StorageException: failed to create store: Could not open database environment; please check options and file system (1: Operation not permitted) (OBX_ERROR code 10199)
#0      ObjectBoxNativeError.throwMapped (package:objectbox/src/native/bindings/helpers.dart:93:11)
#1      throwLatestNativeError (package:objectbox/src/native/bindings/helpers.dart:50:48)
#2      checkObxPtr (package:objectbox/src/native/bindings/helpers.dart:32:5)
#3      Store._checkStorePointer (package:objectbox/src/native/store.dart:370:7)
#4      new Store (package:objectbox/src/native/store.dart:211:7)
#5      openStore (package:sample/objectbox.g.dart:121:5)
<asynchronous suspension>
#6      main (package:sample/main.dart:29:17)
<asynchronous suspension>

hushmand avatar Feb 26 '23 14:02 hushmand

Because it says "...please check options and file system (1: Operation not permitted...", it would be interesting which path you are using and if the user has permission. Please check.

greenrobot avatar Feb 26 '23 19:02 greenrobot

See the note in Add ObjectBox to your project for Flutter and macOS. For a sandboxed macOS app additional setup is required described there.

greenrobot-team avatar Feb 27 '23 07:02 greenrobot-team

Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.

github-actions[bot] avatar Mar 21 '23 01:03 github-actions[bot]

This started to pop up in Crashlytics recently

StorageException: failed to create store: Could not open database environment; please check options and file system (1: Operation not permitted) (OBX_ERROR code 10199). Error thrown error during dependency injection setup.

objectbox 4.0.3

Store store;
final dir = await defaultStoreDirectory();
try {
  if (obx.Store.isOpen(dir.path)) {
    store = obx.Store.attach(getObjectBoxModel(), dir.path);
  } else {
    store = await openStore(directory: dir.path);
  }
} catch (e) {
  dir.deleteSync(recursive: true);
  store = await openStore(directory: dir.path);
}

Please advise.

Stack trace # Crashlytics - Stack trace # Application: com.application.some # Platform: apple # Version: 3.0.3 (8) # Issue: 86c929ced039f81803aede53e2db2dcc # Session: 0d53a5edc00246bf8e38a2e81ca30c08_DNE_0_v2 # Date: Tue Feb 25 2025 00:44:14 GMT+0200 (Eastern European Standard Time)

Fatal Exception: FlutterError 0 ??? 0x0 ObjectBoxNativeError.throwMapped + 99 (helpers.dart:99) 1 ??? 0x0 (null).throwLatestNativeError + 54 (helpers.dart:54) 2 ??? 0x0 (null).checkObxPtr + 31 (helpers.dart:31) 3 ??? 0x0 Store._checkStorePointer + 451 (store.dart:451) 4 ??? 0x0 (null).new Store + 274 (store.dart:274) 5 ??? 0x0 (null).openStore + 610 (objectbox.g.dart:610) 6 ??? 0x0 PubDependenciesRegistrant.registerDependencies + 46 (pub_dependencies_registrant.dart:46) 7 ??? 0x0 AbcContainerSetupManager.initializeDependencyInjection + 85 (abc_container_setup_manager.dart:85) 8 ??? 0x0 (null).launchApp + 156 (main.dart:156) 9 ??? 0x0 main. + 81 (main.dart:81) 10 ??? 0x0 (null).main + 79 (main.dart:79)

Crashed: com.apple.main-thread 0 FirebaseCrashlytics 0x21bac FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392) 1 FirebaseCrashlytics 0x21f8c FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423) 2 FirebaseCrashlytics 0x18e1c FIRCLSHandler + 34 (FIRCLSHandler.m:34) 3 FirebaseCrashlytics 0x13168 FIRCLSExceptionRecordOnDemand + 357 (FIRCLSException.mm:357) 4 FirebaseCrashlytics 0x12bb4 FIRCLSExceptionRecordOnDemandModel + 98 (FIRCLSException.mm:98) 5 FirebaseCrashlytics 0x21378 -[FIRCLSOnDemandModel recordOnDemandExceptionWithModel:] + 181 (FIRCLSOnDemandModel.m:181) 6 FirebaseCrashlytics 0x20dd8 -[FIRCLSOnDemandModel recordOnDemandExceptionIfQuota:withDataCollectionEnabled:usingExistingReportManager:] + 104 (FIRCLSOnDemandModel.m:104) 7 FirebaseCrashlytics 0x2f71c -[FIRCrashlytics recordOnDemandExceptionModel:] + 423 (FIRCrashlytics.m:423) 8 AbcApp 0xa1c428 -[FLTFirebaseCrashlyticsPlugin recordError:withMethodCallResult:] + 154 (FLTFirebaseCrashlyticsPlugin.m:154) 9 AbcApp 0xa1bce4 -[FLTFirebaseCrashlyticsPlugin handleMethodCall:result:] + 78 (FLTFirebaseCrashlyticsPlugin.m:78) 10 Flutter 0x5e20d0 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 322 (FlutterChannels.mm:322) 11 Flutter 0x66be0 invocation function for block in flutter::PlatformMessageHandlerIos::HandlePlatformMessage(std::_fl::unique_ptr<flutter::PlatformMessage, std::_fl::default_deleteflutter::PlatformMessage>) + 110 (ref_ptr.h:110) 12 libdispatch.dylib 0x2248 _dispatch_call_block_and_release + 32 13 libdispatch.dylib 0x3fa8 _dispatch_client_callout + 20 14 libdispatch.dylib 0x12a34 _dispatch_main_queue_drain + 984 15 libdispatch.dylib 0x1264c _dispatch_main_queue_callback_4CF + 44 16 CoreFoundation 0x79bcc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 17 CoreFoundation 0x761c0 __CFRunLoopRun + 1996 18 CoreFoundation 0xc8284 CFRunLoopRunSpecific + 588 19 GraphicsServices 0x14c0 GSEventRunModal + 164 20 UIKitCore 0x3ee674 -[UIApplication _run] + 816 21 UIKitCore 0x14e88 UIApplicationMain + 340 22 UIKitCore 0x75115c keypath_get_selector_hoverStyle + 15924 23 AbcApp 0x90f4 main + 4297773300 (AppDelegate.swift:4297773300) 24 ??? 0x1aff85de8 (Missing)

GC Timer thread 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 libc++.1.dylib 0x21618 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lockstd::__1::mutex&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>>>) + 100 3 Usercentrics 0x31dbb8 void kotlin::RepeatedTimerkotlin::steady_clock::Run<kotlin::gcScheduler::internal::GCSchedulerDataAdaptivekotlin::steady_clock::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()>(kotlin::gcScheduler::internal::GCSchedulerDataAdaptivekotlin::steady_clock::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&) + 248 4 Usercentrics 0x31de50 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void ()(kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimerkotlin::steady_clock::&&)(kotlin::gcScheduler::internal::GCSchedulerDataAdaptivekotlin::steady_clock::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&) noexcept, kotlin::RepeatedTimerkotlin::steady_clock&&, kotlin::gcScheduler::internal::GCSchedulerDataAdaptivekotlin::steady_clock::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&), kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimerkotlin::steady_clock::)(kotlin::gcScheduler::internal::GCSchedulerDataAdaptivekotlin::steady_clock::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&) noexcept, kotlin::RepeatedTimerkotlin::steady_clock, kotlin::gcScheduler::internal::GCSchedulerDataAdaptivekotlin::steady_clock::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()>>(void) + 112 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8

Main GC thread 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 libc++.1.dylib 0x21584 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28 3 Usercentrics 0x320b84 std::__1::invoke_result<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>::type kotlin::ScopedThread::Run<kotlin::ScopedThread (anonymous namespace)::createGCThread<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>(char const*, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()>(kotlin::ScopedThread::attributes, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&) + 540 4 Usercentrics 0x323654 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void ()(kotlin::ScopedThread::attributes, kotlin::ScopedThread (anonymous namespace)::createGCThread<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>(char const, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()&&), kotlin::ScopedThread::attributes, kotlin::ScopedThread (anonymous namespace)::createGCThread<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>(char const*, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()>>(void*) + 104 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8

Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8

com.apple.network.boringssl.metrics_queue 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 libdispatch.dylib 0x1ef4c _dispatch_mach_send_and_wait_for_reply + 544 5 libdispatch.dylib 0x1f2ec dispatch_mach_send_with_result_and_wait_for_reply + 60 6 libxpc.dylib 0x10870 xpc_connection_send_message_with_reply_sync + 256 7 Security 0x184a8 security_fw_send_message_with_reply_sync_inner + 92 8 Security 0x1871c securityd_send_sync_and_do + 88 9 Security 0x15e74 SecTrustReportNetworkingAnalytics + 492 10 libboringssl.dylib 0x2fcdc __boringssl_metrics_log_metric_block_invoke + 28 11 libdispatch.dylib 0x2248 _dispatch_call_block_and_release + 32 12 libdispatch.dylib 0x3fa8 _dispatch_client_callout + 20 13 libdispatch.dylib 0xb5cc _dispatch_lane_serial_drain + 768 14 libdispatch.dylib 0xc124 _dispatch_lane_invoke + 380 15 libdispatch.dylib 0x1738c _dispatch_root_queue_drain_deferred_wlh + 288 16 libdispatch.dylib 0x16bd8 _dispatch_workloop_worker_thread + 540 17 libsystem_pthread.dylib 0x3680 _pthread_wqthread + 288 18 libsystem_pthread.dylib 0x1474 start_wqthread + 8

com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x76804 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75eb0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8284 CFRunLoopRunSpecific + 588 7 Foundation 0x2a0e8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x186bb0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x481a78 -[UIEventFetcher threadMain] + 420 10 Foundation 0x115f30 NSThread__start + 724 11 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 12 libsystem_pthread.dylib 0x1480 thread_start + 8

io.flutter.1.ui 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x76804 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75eb0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8284 CFRunLoopRunSpecific + 588 7 Flutter 0x89400 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52) 8 Flutter 0x890e0 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94) 9 Flutter 0x88df0 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470) 10 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 11 libsystem_pthread.dylib 0x1480 thread_start + 8

io.flutter.1.raster 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x76804 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75eb0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8284 CFRunLoopRunSpecific + 588 7 Flutter 0x89400 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52) 8 Flutter 0x890e0 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94) 9 Flutter 0x88df0 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470) 10 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 11 libsystem_pthread.dylib 0x1480 thread_start + 8

io.flutter.1.io 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 CoreFoundation 0x76804 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x75eb0 __CFRunLoopRun + 1212 6 CoreFoundation 0xc8284 CFRunLoopRunSpecific + 588 7 Flutter 0x89400 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52) 8 Flutter 0x890e0 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94) 9 Flutter 0x88df0 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470) 10 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 11 libsystem_pthread.dylib 0x1480 thread_start + 8

io.worker.1 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x67c20 std::_fl::condition_variable::wait(std::_fl::unique_lockstd::_fl::mutex&) + 47 (condition_variable.cpp:47) 3 Flutter 0x82670 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_deletestd::_fl::__thread_struct>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8

io.worker.2 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x67c20 std::_fl::condition_variable::wait(std::_fl::unique_lockstd::_fl::mutex&) + 47 (condition_variable.cpp:47) 3 Flutter 0x82670 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_deletestd::_fl::__thread_struct>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8

io.worker.3 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 Flutter 0x67c20 std::_fl::condition_variable::wait(std::_fl::unique_lockstd::_fl::mutex&) + 47 (condition_variable.cpp:47) 3 Flutter 0x82670 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_deletestd::_fl::__thread_struct>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398) 4 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 5 libsystem_pthread.dylib 0x1480 thread_start + 8

dart:io EventHandler 0 libsystem_kernel.dylib 0x84cc kevent + 8 1 Flutter 0x57aefc dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 459 (eventhandler_macos.cc:459) 2 Flutter 0x5a6c1c dart::bin::ThreadStart(void*) + 65 (thread_macos.cc:65) 3 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 4 libsystem_pthread.dylib 0x1480 thread_start + 8

com.apple.root.background-qos 0 libsystem_kernel.dylib 0x7bd0 __ulock_wait + 8 1 libdispatch.dylib 0x4998 _dlock_wait + 56 2 libdispatch.dylib 0x4694 _dispatch_wait_on_address + 140 3 libdispatch.dylib 0x4d68 dispatch_group_wait_slow + 56 4 libswiftDispatch.dylib 0x2040 OS_dispatch_group.wait(wallTimeout:) + 24 5 FirebaseSessions 0xf0c8 InstallationsProtocol.installationID(completion:) + 63 (Installations+InstallationsProtocol.swift:63) 6 FirebaseSessions 0xae10 closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 68 (SessionCoordinator.swift:68) 7 FirebaseSessions 0xe6bc partial apply for closure #1 in closure #1 in Sessions.init(appID:sessionGenerator:coordinator:initiator:appInfo:settings:loggedEventCallback:) + 24 (:24) 8 Promises 0xb7f4 closure #1 in Promise.then(on::) + 95 (Promise+Then.swift:95) 9 Promises 0xb100 thunk for @escaping @callee_guaranteed (@guaranteed Swift.AnyObject?) -> (@out Any?) + 56 (:56) 10 FBLPromises 0x5130 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.18 + 273 (FBLPromise.m:273) 11 libdispatch.dylib 0x2248 _dispatch_call_block_and_release + 32 12 libdispatch.dylib 0x3fa8 _dispatch_client_callout + 20 13 libdispatch.dylib 0x1611c _dispatch_root_queue_drain + 996 14 libdispatch.dylib 0x166c4 _dispatch_worker_thread2 + 156 15 libsystem_pthread.dylib 0x3644 _pthread_wqthread + 228 16 libsystem_pthread.dylib 0x1474 start_wqthread + 8

Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8

Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8

Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8

Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8

Thread 0 libsystem_kernel.dylib 0x1510 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x36cc _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1474 start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0x1788 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e98 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4db0 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4bfc mach_msg + 24 4 FirebaseCrashlytics 0x1b564 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192) 5 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 6 libsystem_pthread.dylib 0x1480 thread_start + 8

JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x7090 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3f98 _pthread_cond_wait + 1204 2 JavaScriptCore 0xfc620 scavenger_thread_main + 1328 3 libsystem_pthread.dylib 0x17d0 _pthread_start + 136 4 libsystem_pthread.dylib 0x1480 thread_start + 8

saawhitelife avatar Feb 26 '25 12:02 saawhitelife

We have more of this, anybody have insights?

Stack trace
# Crashlytics - Stack trace
# Application: com.some.application
# Platform: apple
# Version: 3.0.4 (3)
# Issue: 86c929ced039f81803aede53e2db2dcc
# Session: 9d5c8a8ada724bb2881fc053bd60c5ec_DNE_0_v2
# Date: Mon Mar 24 2025 22:49:28 GMT+0200 (Eastern European Standard Time)

Fatal Exception: FlutterError
0  ???                            0x0 ObjectBoxNativeError.throwMapped + 99 (helpers.dart:99)
1  ???                            0x0 (null).throwLatestNativeError + 54 (helpers.dart:54)
2  ???                            0x0 (null).checkObxPtr + 31 (helpers.dart:31)
3  ???                            0x0 Store._checkStorePointer + 451 (store.dart:451)
4  ???                            0x0 (null).new Store + 274 (store.dart:274)
5  ???                            0x0 (null).openStore + 610 (objectbox.g.dart:610)
6  ???                            0x0 PubDependenciesRegistrant.registerDependencies + 46 (pub_dependencies_registrant.dart:46)
7  ???                            0x0 SAContainerSetupManager.initializeDependencyInjection + 85 (sa_container_setup_manager.dart:85)
8  ???                            0x0 (null).launchApp + 156 (main.dart:156)
9  ???                            0x0 main.<fn> + 81 (main.dart:81)
10 ???                            0x0 (null).main + 79 (main.dart:79)

Crashed: com.apple.main-thread
0  FirebaseCrashlytics            0x1db5c FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  FirebaseCrashlytics            0x1df40 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  FirebaseCrashlytics            0x14dcc FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  FirebaseCrashlytics            0xf108 FIRCLSExceptionRecordOnDemand + 357 (FIRCLSException.mm:357)
4  FirebaseCrashlytics            0xeb50 FIRCLSExceptionRecordOnDemandModel + 98 (FIRCLSException.mm:98)
5  FirebaseCrashlytics            0x1d328 -[FIRCLSOnDemandModel recordOnDemandExceptionWithModel:] + 181 (FIRCLSOnDemandModel.m:181)
6  FirebaseCrashlytics            0x1cd88 -[FIRCLSOnDemandModel recordOnDemandExceptionIfQuota:withDataCollectionEnabled:usingExistingReportManager:] + 104 (FIRCLSOnDemandModel.m:104)
7  FirebaseCrashlytics            0x2b780 -[FIRCrashlytics recordOnDemandExceptionModel:] + 423 (FIRCrashlytics.m:423)
8  SomeApp                      0xa1a4e4 -[FLTFirebaseCrashlyticsPlugin recordError:withMethodCallResult:] + 154 (FLTFirebaseCrashlyticsPlugin.m:154)
9  SomeApp                      0xa19da0 -[FLTFirebaseCrashlyticsPlugin handleMethodCall:result:] + 78 (FLTFirebaseCrashlyticsPlugin.m:78)
10 Flutter                        0x5e20d0 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 322 (FlutterChannels.mm:322)
11 Flutter                        0x66be0 invocation function for block in flutter::PlatformMessageHandlerIos::HandlePlatformMessage(std::_fl::unique_ptr<flutter::PlatformMessage, std::_fl::default_delete<flutter::PlatformMessage>>) + 110 (ref_ptr.h:110)
12 libdispatch.dylib              0x2248 _dispatch_call_block_and_release + 32
13 libdispatch.dylib              0x3fa8 _dispatch_client_callout + 20
14 libdispatch.dylib              0x12a34 _dispatch_main_queue_drain + 984
15 libdispatch.dylib              0x1264c _dispatch_main_queue_callback_4CF + 44
16 CoreFoundation                 0x79bcc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
17 CoreFoundation                 0x761c0 __CFRunLoopRun + 1996
18 CoreFoundation                 0xc8284 CFRunLoopRunSpecific + 588
19 GraphicsServices               0x14c0 GSEventRunModal + 164
20 UIKitCore                      0x3ee674 -[UIApplication _run] + 816
21 UIKitCore                      0x14e88 UIApplicationMain + 340
22 UIKitCore                      0x75115c keypath_get_selector_hoverStyle + 15924
23 SomeApp                      0x90f0 main + 4309520624 (AppDelegate.swift:4309520624)
24 ???                            0x1bd7f9de8 (Missing)

Thread
0  libsystem_kernel.dylib         0x1510 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x36cc _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1474 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x146c start_wqthread + 10

Thread
0  libsystem_kernel.dylib         0x1510 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x36cc _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1474 start_wqthread + 8

GC Timer thread
0  libsystem_kernel.dylib         0x7090 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3f98 _pthread_cond_wait + 1204
2  libc++.1.dylib                 0x21618 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>>>) + 100
3  Usercentrics                   0x31dbb8 void kotlin::RepeatedTimer<kotlin::steady_clock>::Run<kotlin::gcScheduler::internal::GCSchedulerDataAdaptive<kotlin::steady_clock>::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()>(kotlin::gcScheduler::internal::GCSchedulerDataAdaptive<kotlin::steady_clock>::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&) + 248
4  Usercentrics                   0x31de50 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 (*)(kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimer<kotlin::steady_clock>::*&&)(kotlin::gcScheduler::internal::GCSchedulerDataAdaptive<kotlin::steady_clock>::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&) noexcept, kotlin::RepeatedTimer<kotlin::steady_clock>*&&, kotlin::gcScheduler::internal::GCSchedulerDataAdaptive<kotlin::steady_clock>::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&), kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimer<kotlin::steady_clock>::*)(kotlin::gcScheduler::internal::GCSchedulerDataAdaptive<kotlin::steady_clock>::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()&&) noexcept, kotlin::RepeatedTimer<kotlin::steady_clock>*, kotlin::gcScheduler::internal::GCSchedulerDataAdaptive<kotlin::steady_clock>::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function<long long ()>)::'lambda'()>>(void*) + 112
5  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
6  libsystem_pthread.dylib        0x1480 thread_start + 8

Main GC thread
0  libsystem_kernel.dylib         0x7090 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3f98 _pthread_cond_wait + 1204
2  libc++.1.dylib                 0x21584 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  Usercentrics                   0x320b84 std::__1::invoke_result<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>::type kotlin::ScopedThread::Run<kotlin::ScopedThread (anonymous namespace)::createGCThread<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>(char const*, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()>(kotlin::ScopedThread::attributes, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&) + 540
4  Usercentrics                   0x323654 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 (*)(kotlin::ScopedThread::attributes, kotlin::ScopedThread (anonymous namespace)::createGCThread<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>(char const*, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()&&), kotlin::ScopedThread::attributes, kotlin::ScopedThread (anonymous namespace)::createGCThread<kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1>(char const*, kotlin::gc::ConcurrentMarkAndSweep::ConcurrentMarkAndSweep(kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()>>(void*) + 104
5  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
6  libsystem_pthread.dylib        0x1480 thread_start + 8

AXBundleLoadQueue
0  ???                            0x1bd7cdf90 (Missing)
1  ???                            0x1bd7cdf30 (Missing)
2  ???                            0x1bd7ccf80 (Missing)
3  ???                            0x1bd7ecb60 (Missing)
4  ???                            0x1bd7ec744 (Missing)
5  ???                            0x1bd7ec278 (Missing)
6  ???                            0x1bd7ebb24 (Missing)
7  ???                            0x1bd7e7580 (Missing)
8  ???                            0x1bd7e5b6c (Missing)
9  CoreFoundation                 0xe1af4 _CFBundleDlfcnCheckLoaded + 108
10 CoreFoundation                 0xe1834 _CFBundleLoadExecutableAndReturnError + 136
11 Foundation                     0xb4094 -[NSBundle loadAndReturnError:] + 212
12 UIAccessibility                0x598a4 -[NSBundleAccessibility loadAndReturnError:] + 56
13 AXCoreUtilities                0x1ed00 __50-[AXCodeItem loadWithStrategy:onQueue:completion:]_block_invoke_2 + 204
14 libdispatch.dylib              0x2248 _dispatch_call_block_and_release + 32
15 libdispatch.dylib              0x3fa8 _dispatch_client_callout + 20
16 libdispatch.dylib              0xb5cc _dispatch_lane_serial_drain + 768
17 libdispatch.dylib              0xc124 _dispatch_lane_invoke + 380
18 libdispatch.dylib              0x1738c _dispatch_root_queue_drain_deferred_wlh + 288
19 libdispatch.dylib              0x16bd8 _dispatch_workloop_worker_thread + 540
20 libsystem_pthread.dylib        0x3680 _pthread_wqthread + 288
21 libsystem_pthread.dylib        0x1474 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1510 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x36cc _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1474 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1510 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x36cc _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1474 start_wqthread + 8

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1788 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e98 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4db0 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4bfc mach_msg + 24
4  CoreFoundation                 0x76804 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x75eb0 __CFRunLoopRun + 1212
6  CoreFoundation                 0xc8284 CFRunLoopRunSpecific + 588
7  Foundation                     0x2a0e8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x186bb0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x481a78 -[UIEventFetcher threadMain] + 420
10 Foundation                     0x115f30 __NSThread__start__ + 724
11 libsystem_pthread.dylib        0x17d0 _pthread_start + 136
12 libsystem_pthread.dylib        0x1480 thread_start + 8

io.flutter.1.ui
0  libsystem_kernel.dylib         0x1788 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e98 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4db0 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4bfc mach_msg + 24
4  CoreFoundation                 0x76804 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x75eb0 __CFRunLoopRun + 1212
6  CoreFoundation                 0xc8284 CFRunLoopRunSpecific + 588
7  Flutter                        0x89400 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52)
8  Flutter                        0x890e0 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94)
9  Flutter                        0x88df0 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470)
10 libsystem_pthread.dylib        0x17d0 _pthread_start + 136
11 libsystem_pthread.dylib        0x1480 thread_start + 8

io.flutter.1.raster
0  libsystem_kernel.dylib         0x1788 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e98 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4db0 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4bfc mach_msg + 24
4  CoreFoundation                 0x76804 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x75eb0 __CFRunLoopRun + 1212
6  CoreFoundation                 0xc8284 CFRunLoopRunSpecific + 588
7  Flutter                        0x89400 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52)
8  Flutter                        0x890e0 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94)
9  Flutter                        0x88df0 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470)
10 libsystem_pthread.dylib        0x17d0 _pthread_start + 136
11 libsystem_pthread.dylib        0x1480 thread_start + 8

io.flutter.1.io
0  libsystem_kernel.dylib         0x1788 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e98 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4db0 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4bfc mach_msg + 24
4  CoreFoundation                 0x76804 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x75eb0 __CFRunLoopRun + 1212
6  CoreFoundation                 0xc8284 CFRunLoopRunSpecific + 588
7  Flutter                        0x89400 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52)
8  Flutter                        0x890e0 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94)
9  Flutter                        0x88df0 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470)
10 libsystem_pthread.dylib        0x17d0 _pthread_start + 136
11 libsystem_pthread.dylib        0x1480 thread_start + 8

io.worker.1
0  libsystem_kernel.dylib         0x7090 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3f98 _pthread_cond_wait + 1204
2  Flutter                        0x67c20 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 47 (condition_variable.cpp:47)
3  Flutter                        0x82670 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398)
4  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
5  libsystem_pthread.dylib        0x1480 thread_start + 8

io.worker.2
0  libsystem_kernel.dylib         0x7090 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3f98 _pthread_cond_wait + 1204
2  Flutter                        0x67c20 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 47 (condition_variable.cpp:47)
3  Flutter                        0x82670 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398)
4  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
5  libsystem_pthread.dylib        0x1480 thread_start + 8

io.worker.3
0  libsystem_kernel.dylib         0x7090 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3f98 _pthread_cond_wait + 1204
2  Flutter                        0x67c20 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 47 (condition_variable.cpp:47)
3  Flutter                        0x82670 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398)
4  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
5  libsystem_pthread.dylib        0x1480 thread_start + 8

dart:io EventHandler
0  libsystem_kernel.dylib         0x84cc kevent + 8
1  Flutter                        0x57aefc dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 459 (eventhandler_macos.cc:459)
2  Flutter                        0x5a6c1c dart::bin::ThreadStart(void*) + 65 (thread_macos.cc:65)
3  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
4  libsystem_pthread.dylib        0x1480 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1510 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x36cc _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1474 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1510 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x36cc _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1474 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x146c start_wqthread + 10

AudioSession - RootQueue
0  libsystem_kernel.dylib         0x171c semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x45c0 _dispatch_sema4_timedwait + 64
2  libdispatch.dylib              0x4bc0 _dispatch_semaphore_wait_slow + 76
3  libdispatch.dylib              0x15c94 _dispatch_worker_thread + 324
4  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
5  libsystem_pthread.dylib        0x1480 thread_start + 8

JavaScriptCore libpas scavenger
0  libsystem_kernel.dylib         0x7090 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3f98 _pthread_cond_wait + 1204
2  JavaScriptCore                 0xfc620 scavenger_thread_main + 1328
3  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
4  libsystem_pthread.dylib        0x1480 thread_start + 8

NSOperationQueue 0x105dfa000 (QOS: UTILITY)
0  CoreFoundation                 0x750f8 __CFBinaryPlistGetTopLevelInfo + 20
1  Foundation                     0x118294 -[_NSBPlistMappedData initWithFileURL:error:] + 152
2  Foundation                     0x118174 __NSCreateBPlistMappedDataFromURL + 88
3  CoreFoundation                 0xea190 _CFBundleCreateMappedBPlistFile + 124
4  CoreFoundation                 0xe9ff0 _CFBundleCreateMappedOrLoadedPlistData + 68
5  CoreFoundation                 0x97cbc _CFBundleGetStringsSources + 340
6  CoreFoundation                 0x4fcd8 _copyStringTable + 628
7  CoreFoundation                 0x3e998 _CFBundleCopyLocalizedStringForLocalizationTableURLAndMarkdownOption + 204
8  Foundation                     0xe676c -[NSBundle localizedStringForKey:value:table:] + 56
9  UIAccessibility                0x3fe8 -[NSBundleAccessibility localizedStringForKey:value:table:] + 120
10 WatchConnectivity              0x2fdc +[NSError(WCError) userInfoDictionaryWithErrorStringsForErrorCode:] + 128
11 WatchConnectivity              0x2ef4 +[NSError(WCError) wcErrorWithCode:userInfo:] + 48
12 WatchConnectivity              0x2d6c -[WCSession errorIfPreconditionsNotSatisfied] + 288
13 WatchConnectivity              0x5eb0 -[WCSession watchDirectoryURL] + 24
14 WatchConnectivity              0x5408 -[WCSession didWatchURLChange:] + 44
15 WatchConnectivity              0x4c74 -[WCSession didSessionStateChange:withChangeHandler:] + 472
16 WatchConnectivity              0x4884 __46-[WCSession onqueue_handleUpdateSessionState:]_block_invoke + 256
17 Foundation                     0x5bc9c __NSINDEXSET_IS_CALLING_OUT_TO_A_BOOL_BLOCK__ + 24
18 Foundation                     0x4b568 -[NSBlockOperation main] + 104
19 Foundation                     0x4b488 __NSOPERATION_IS_INVOKING_MAIN__ + 16
20 Foundation                     0x498e0 -[NSOperation start] + 648
21 Foundation                     0x80ce0 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 16
22 Foundation                     0x80910 __NSOQSchedule_f + 172
23 libdispatch.dylib              0x2248 _dispatch_call_block_and_release + 32
24 libdispatch.dylib              0x3fa8 _dispatch_client_callout + 20
25 libdispatch.dylib              0x745c _dispatch_continuation_pop + 596
26 libdispatch.dylib              0x6a8c _dispatch_async_redirect_invoke + 580
27 libdispatch.dylib              0x15ec0 _dispatch_root_queue_drain + 392
28 libdispatch.dylib              0x166c4 _dispatch_worker_thread2 + 156
29 libsystem_pthread.dylib        0x3644 _pthread_wqthread + 228
30 libsystem_pthread.dylib        0x1474 start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0x1788 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e98 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4db0 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4bfc mach_msg + 24
4  FirebaseCrashlytics            0x17510 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
5  libsystem_pthread.dylib        0x17d0 _pthread_start + 136
6  libsystem_pthread.dylib        0x1480 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1510 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x36cc _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1474 start_wqthread + 8

saawhitelife avatar Mar 26 '25 09:03 saawhitelife

@saawhitelife Based on your logs it sounds like this is not for a Flutter app running on macOS as for the creator of this issue. If possible, please share more details about which and how many devices and OS versions are affected. I suggest to create a new issue and fill out the issue template, that should make sure all necessary information is added. Thank you!

greenrobot-team avatar Mar 31 '25 08:03 greenrobot-team

@greenrobot-team thank you for your reply, I'll open a new issue

saawhitelife avatar Mar 31 '25 08:03 saawhitelife

I had the same problem. There's a note in the ObjectBox documentation:

Note: Due to limitations in macOS, the ID can be at most 19 characters long.

Apple will accept longer app group IDs, but the ObjectBox Store constructor won't, just create a shorter ID and you should be good to go!

alexcode9 avatar Nov 07 '25 14:11 alexcode9

Due to an oversight, the Store constructor never threw an error if the macOS application group ID was too long (and the value not applied). This will be fixed in the 5.0.2 release.

greenrobot-team avatar Nov 10 '25 10:11 greenrobot-team

Release 5.0.2 is available which fixes this issue.

To update to this release, for a Flutter project run flutter pub upgrade or for a Dart Native project dart pub upgrade.

greenrobot-team avatar Nov 10 '25 13:11 greenrobot-team