objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence
https://docs.objectbox.io/getting-started
Apache License 2.0
927 stars 115 forks source link

iOS 17 crash when query.find #561

Closed fooevr closed 5 months ago

fooevr commented 7 months ago

Write a very simple code, when query.find() line excuted, the iOS system will definitely restart.

final p = await getApplicationDocumentsDirectory();
final store = await openStore(directory: '${p.path}/db1');
final box = store.box<KeyValue>();
box.put(KeyValue()
  ..key = "A"
  ..value = "B");
final query = box.query(KeyValue_.key.equals("A")).build();
final values = query.find();
@Entity()
class KeyValue {
  @Id()
  int id = 0;

  @Index()
  String? key;
  String? value;
}

Basic info:

dependencies:

test17 1.0.0+1
├── cupertino_icons 1.0.6
├── flutter 0.0.0
│   ├── characters 1.3.0
│   ├── collection 1.17.2
│   ├── material_color_utilities 0.5.0
│   │   └── collection...
│   ├── meta 1.9.1
│   ├── sky_engine 0.0.99
│   ├── vector_math 2.1.4
│   └── web 0.1.4-beta
├── objectbox 2.3.0
│   ├── ffi 2.1.0
│   ├── flat_buffers 2.0.5
│   ├── path 1.8.3
│   ├── collection...
│   └── meta...
├── objectbox_sync_flutter_libs 2.3.0
│   ├── flutter...
│   ├── objectbox...
│   └── path_provider...
└── path_provider 2.1.1
    ├── path_provider_android 2.2.0
    │   ├── flutter...
    │   └── path_provider_platform_interface...
    ├── path_provider_foundation 2.3.1
    │   ├── flutter...
    │   └── path_provider_platform_interface...
    ├── path_provider_linux 2.2.1
    │   ├── xdg_directories 1.0.3
    │   │   ├── meta...
    │   │   └── path...
    │   ├── ffi...
    │   ├── flutter...
    │   ├── path...
    │   └── path_provider_platform_interface...
    ├── path_provider_platform_interface 2.1.1
    │   ├── platform 3.1.2
    │   ├── plugin_platform_interface 2.1.6
    │   │   └── meta...
    │   └── flutter...
    ├── path_provider_windows 2.2.1
    │   ├── win32 5.0.8
    │   │   └── ffi...
    │   ├── ffi...
    │   ├── flutter...
    │   ├── path...
    │   └── path_provider_platform_interface...
    └── flutter...

flutter doctor

[✓] Flutter (Channel stable, 3.13.4, on macOS 13.5.2 22G91 darwin-arm64, locale zh-Hans-US)
    • Flutter version 3.13.4 on channel stable at /Users/fooevr/Develop/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (8 天前), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/fooevr/Develop/sdks/android/
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/fooevr/Applications/Android Studio Giraffe 2022.3.1 Patch 1.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version unknown)
    • Android Studio at /Users/fooevr/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/fooevr/Applications/Android Studio Giraffe 2022.3.1 Patch 1.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
    • IntelliJ at /Users/fooevr/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.5.2 22G91 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.187
    ! Error: Browsing on the local area network for 张重阳’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.
23doors commented 7 months ago

Same issue. Happens only in debug mode though, release mode works fine.

fooevr commented 7 months ago

Same issue. Happens only in debug mode though, release mode works fine.

I've encountered the same issue while using Realm, but didn't face this problem when I switched to Drift. It appears to be related to a pointer error, although I haven't been able to debug it in-depth. As my application is still in the early stages of development, I've successfully transitioned to using Drift.

techouse commented 7 months ago

I have encountered the same issue.

I've tested with both ObjectBox v2.2.1 and v2.3.0.

The kernel panic (I assume) happens only in debug mode. Release mode works fine.

For some reason, it works fine on an iOS 17 simulator. Check the table below for more test outcomes.

iOS Xcode Flutter device type works comment
16.6.1 14.3.1 3.13.2 simulator
16.6.1 14.3.1 3.13.2 physical device
16.6.1 14.3.1 3.13.6 simulator
16.6.1 14.3.1 3.13.6 physical device
17.0 15.0 3.13.6 simulator this one oddly works
17.0 14.3.1 3.13.2 physical device device reboots
17.0 14.3.1 3.13.6 physical device device reboots
17.0 15.0 3.13.6 physical device device reboots
17.0.1 14.3.1 3.13.2 physical device device reboots
17.0.1 14.3.1 3.13.6 physical device device reboots
17.0.1 15.0 3.13.6 physical device device reboots
17.0.2 14.3.1 3.13.2 physical device device reboots
17.0.2 14.3.1 3.13.6 physical device device reboots
17.0.2 15.0 3.13.6 physical device device reboots
greenrobot commented 7 months ago

the iOS system will definitely restart.

This sounds like an issue with iOS itself. We still want to find a workaround if possible.

I've encountered the same issue while using Realm

Do we have a bug issue there to share insights?

@techouse Thanks for creating and providing that table. :+1:

The kernel panic (I assume) happens only in debug mode.

I wonder if there's some technical info about that kernel panic that could be provided.

techouse commented 7 months ago

I wonder if there's some technical info about that kernel panic that could be provided.

Since the connection gets terminated it's hard to capture some logs. ☹️

kastrul commented 7 months ago

Could be related to this https://developer.apple.com/forums/thread/733642 ?

greenrobot commented 7 months ago

Could be related to this https://developer.apple.com/forums/thread/733642 ?

Could be, however, only from the description I don't see any changes that should affect ObjectBox.

greenrobot-team commented 7 months ago

@techouse Did you/can you try with an older Flutter version, e.g. 3.10? Can you share output of flutter run -v?

I looked through the current Flutter iOS 17 issues and there are some with apps just terminating (e.g. https://github.com/flutter/flutter/issues/135562), potentially related to native code.

(Also tested our example on macOS 13.5.2 for both Flutter 3.10 and 3.13. TBD on an iOS 17 device. So not ruling out Flutter as the cause, yet.)

techouse commented 7 months ago

@techouse Did you/can you try with an older Flutter version, e.g. 3.10? Can you share output of flutter run -v?

I'm not sure Flutter 3.10 can be compiled for iOS 17 in Debug mode as that requires Xcode 15 and to use that you need Flutter 3.13.5.

disonwei commented 7 months ago

[✓] Flutter (Channel stable, 3.13.7, on macOS 14.0 23A344 darwin-arm64, locale zh-Hans-US) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 15.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.2) [✓] VS Code (version 1.83.1) [✓] Connected device (3 available) [✓] Network resources

I also encountered this problem. The real machine restarted directly! Whether there is a good solution. Thank you very much!

greenrobot-team commented 7 months ago

@techouse @disonwei It would help a lot if we can locate the cause of the crash. I'm not too familiar with debugging iOS crashes, are there any system crash logs or dumps available that one could analyze? As this only occurs in debug mode: can you try to explicitly disconnect Flutter debug tools after launching the app and see if it crashes then?

Edit: helpful infos:

When an iOS device crashes, a crash report is generated in ~/Library/Logs/CrashReporter/MobileDevice.

danijel-tolj commented 6 months ago

@greenrobot @greenrobot-team here is the sample of the application that crashes https://github.com/danijel-tolj/objectbox_crash inside the "logs" folder are the logs related to the crash

There is some data that might provide insight into the crash:

In /logs/Runner-2023-10-20-131018.ips

  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4310089728\n      REGION TYPE                 START - END      [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                   100e6c000-100e78000 [   48K] r-x\/r-x SM=COW  ...er.app\/Runner",
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":393},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4310089728\n      REGION TYPE                 START - END      [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                   100e6c000-100e78000 [   48K] r-x\/r-x SM=COW  ...er.app\/Runner",
  "faultingThread" : 0

The crash is always reproducible on any iOS 17 physical device in debug mode only

greenrobot-team commented 6 months ago

@danijel-tolj Thanks! Can you provide the crash report file? I've also added more details on how to obtain them in my previous comment. That should contain a trace (e.g. similar to Flutter issues) which should hopefully allow to pinpoint the issue.

greenrobot-team commented 6 months ago

Sorry, never mind. I saw you included the full IPS file in your repo.

Opened with Console to get the full report:

Crash log ```console ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: 2D21B6AB-C44F-4FD1-8B9A-19E2FBEF1228 CrashReporter Key: fabc8cdcc54345786183cd5704036f61961a55de Hardware Model: iPhone14,5 Process: Runner [393] Path: /private/var/containers/Bundle/Application/62B1086D-1E95-4A67-AFCD-BD58DE92B061/Runner.app/Runner Identifier: com.example.objectboxCrash Version: 1.0.0 (1) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.example.objectboxCrash [598] Date/Time: 2023-10-20 13:10:18.1914 +0200 Launch Time: 2023-10-20 13:07:23.0245 +0200 OS Version: iPhone OS 17.0.3 (21A360) Release Type: User Baseband Version: 3.06.01 Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 VM Region Info: 0 is not in any region. Bytes before following region: 4310089728 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 100e6c000-100e78000 [ 48K] r-x/r-x SM=COW ...er.app/Runner Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [393] Triggered by Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libswiftCore.dylib 0x1a63f43ec swift_getObjectType + 40 1 objectbox_flutter_libs 0x100ff80cc static SwiftObjectboxFlutterLibsPlugin.register(with:) + 108 2 objectbox_flutter_libs 0x100ff82c8 @objc static SwiftObjectboxFlutterLibsPlugin.register(with:) + 56 3 objectbox_flutter_libs 0x100ff8048 +[ObjectboxFlutterLibsPlugin registerWithRegistrar:] + 72 4 Runner 0x100e70070 +[GeneratedPluginRegistrant registerWithRegistry:] + 112 5 Runner 0x100e70134 AppDelegate.application(_:didFinishLaunchingWithOptions:) + 96 6 Runner 0x100e70424 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 196 7 UIKitCore 0x1aef80184 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320 8 UIKitCore 0x1aef7f2ec -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2856 9 UIKitCore 0x1aef7e2d0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856 10 UIKitCore 0x1aef7df1c -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132 11 UIKitCore 0x1aeefa988 _UIScenePerformActionsWithLifecycleActionMask + 112 12 UIKitCore 0x1aef81eac __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 13 UIKitCore 0x1aeea6d7c -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 220 14 UIKitCore 0x1aeea57f4 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608 15 UIKitCore 0x1aeea515c -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248 16 UIKitCore 0x1aeea502c __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148 17 UIKitCore 0x1aeea4f34 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736 18 UIKitCore 0x1aeea47bc _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224 19 UIKitCore 0x1aeea446c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316 20 UIKitCore 0x1af22387c __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.225 + 612 21 UIKitCore 0x1aeea35f0 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216 22 UIKitCore 0x1aeea3460 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 23 UIKitCore 0x1aefbe3d4 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 508 24 UIKitCore 0x1aefbe16c -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288 25 FrontBoardServices 0x1c4c6daa8 -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 324 26 FrontBoardServices 0x1c4c6d944 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.108 + 280 27 FrontBoardServices 0x1c4c6c5a8 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 28 FrontBoardServices 0x1c4c78360 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 352 29 libdispatch.dylib 0x1b4a87300 _dispatch_client_callout + 20 30 libdispatch.dylib 0x1b4a8ad48 _dispatch_block_invoke_direct + 284 31 FrontBoardServices 0x1c4c689ec __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 32 FrontBoardServices 0x1c4c6896c -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240 33 FrontBoardServices 0x1c4c68844 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28 34 CoreFoundation 0x1acb90acc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 35 CoreFoundation 0x1acb8fd48 __CFRunLoopDoSource0 + 176 36 CoreFoundation 0x1acb8e55c __CFRunLoopDoSources0 + 340 37 CoreFoundation 0x1acb8d238 __CFRunLoopRun + 828 38 CoreFoundation 0x1acb8ce18 CFRunLoopRunSpecific + 608 39 GraphicsServices 0x1ef6515ec GSEventRunModal + 164 40 UIKitCore 0x1aef9b2fc -[UIApplication _run] + 888 41 UIKitCore 0x1aef9a938 UIApplicationMain + 340 42 Runner 0x100e7059c main + 64 43 dyld 0x1cf377d44 start + 2104 Thread 1: 0 libsystem_pthread.dylib 0x215d469fc start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x215d469fc start_wqthread + 0 Thread 3 name: Dispatch queue: com.apple.UIKit.KeyboardManagement Thread 3: 0 libsystem_kernel.dylib 0x1f3738c58 __ulock_wait + 8 1 libdispatch.dylib 0x1b4a87cf0 _dlock_wait + 56 2 libdispatch.dylib 0x1b4a87aa4 _dispatch_thread_event_wait_slow + 56 3 libdispatch.dylib 0x1b4a969a0 __DISPATCH_WAIT_FOR_QUEUE__ + 368 4 libdispatch.dylib 0x1b4a9654c _dispatch_sync_f_slow + 148 5 UIKitCore 0x1af9ec478 __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 144 6 CoreFoundation 0x1acb8b134 __invoking___ + 148 7 CoreFoundation 0x1acb8abcc -[NSInvocation invoke] + 428 8 Foundation 0x1abb60f20 __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 16 9 Foundation 0x1abb60aa0 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 520 10 Foundation 0x1abb60408 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188 11 libxpc.dylib 0x215da6b44 _xpc_connection_reply_callout + 116 12 libxpc.dylib 0x215d994b4 _xpc_connection_call_reply_async + 80 13 libdispatch.dylib 0x1b4a87380 _dispatch_client_callout3 + 20 14 libdispatch.dylib 0x1b4aa4b04 _dispatch_mach_msg_async_reply_invoke + 344 15 libdispatch.dylib 0x1b4a8e718 _dispatch_lane_serial_drain + 368 16 libdispatch.dylib 0x1b4a8f3f8 _dispatch_lane_invoke + 432 17 libdispatch.dylib 0x1b4a9a004 _dispatch_root_queue_drain_deferred_wlh + 288 18 libdispatch.dylib 0x1b4a99878 _dispatch_workloop_worker_thread + 404 19 libsystem_pthread.dylib 0x215d46964 _pthread_wqthread + 288 20 libsystem_pthread.dylib 0x215d46a04 start_wqthread + 8 Thread 4: 0 libsystem_pthread.dylib 0x215d469fc start_wqthread + 0 Thread 5 name: com.apple.uikit.eventfetch-thread Thread 5: 0 libsystem_kernel.dylib 0x1f37381d8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1f3737f70 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1f3737e88 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x1f3737cc8 mach_msg + 24 4 CoreFoundation 0x1acb8f4bc __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x1acb8d3b4 __CFRunLoopRun + 1208 6 CoreFoundation 0x1acb8ce18 CFRunLoopRunSpecific + 608 7 Foundation 0x1abb214cc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x1abb50234 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x1aeefd1b8 -[UIEventFetcher threadMain] + 420 10 Foundation 0x1abba7154 __NSThread__start__ + 732 11 libsystem_pthread.dylib 0x215d474d4 _pthread_start + 136 12 libsystem_pthread.dylib 0x215d46a10 thread_start + 8 Thread 6: 0 libsystem_pthread.dylib 0x215d469fc start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x215d469fc start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x8000000100ff9ab0 x2: 0xd000000000000016 x3: 0x0000000000000000 x4: 0x0000000000000004 x5: 0x000000007d600000 x6: 0x00000002806e8f40 x7: 0x0000000000000002 x8: 0x8000000100ff9ab0 x9: 0x7fffffffffffffe0 x10: 0x000000000002986a x11: 0x0000000000000010 x12: 0x0000000000000001 x13: 0x00000000fffffcf4 x14: 0x00000000000007fb x15: 0x00000000fd585ffb x16: 0x00000001a63f43c4 x17: 0x00000001a63aa464 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x00000001fe2bf7a0 x21: 0x0000000000000001 x22: 0x0000000000000001 x23: 0x0000000000000000 x24: 0x0000000000000001 x25: 0x00000001fd351000 x26: 0x00000001fd369000 x27: 0x000000002b870064 x28: 0x0000000000000018 fp: 0x000000016ef91130 lr: 0xe143bf0100ff80cc sp: 0x000000016ef91120 pc: 0x00000001a63f43ec cpsr: 0x00001000 far: 0x0000000000000000 esr: 0x92000006 (Data Abort) byte read Translation fault Binary Images: 0x100f24000 - 0x100f2ffff libobjc-trampolines.dylib arm64e <114289d682c73b21b4d6046fccf2af1c> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib 0x101884000 - 0x1019bffff ObjectBox arm64 <77d924b13d5f3694b21db3266866d626> /private/var/containers/Bundle/Application/62B1086D-1E95-4A67-AFCD-BD58DE92B061/Runner.app/Frameworks/ObjectBox.framework/ObjectBox 0x100ff0000 - 0x100ffbfff objectbox_flutter_libs arm64 <12573e62f2043307ad0b8959b7f7391f> /private/var/containers/Bundle/Application/62B1086D-1E95-4A67-AFCD-BD58DE92B061/Runner.app/Frameworks/objectbox_flutter_libs.framework/objectbox_flutter_libs 0x101030000 - 0x10103ffff path_provider_foundation arm64 <4c2cf64a3c4a3af8a64af11aeb6ff90d> /private/var/containers/Bundle/Application/62B1086D-1E95-4A67-AFCD-BD58DE92B061/Runner.app/Frameworks/path_provider_foundation.framework/path_provider_foundation 0x10423c000 - 0x105f47fff Flutter arm64 <4c4c443555553144a1ca71b85e01801f> /private/var/containers/Bundle/Application/62B1086D-1E95-4A67-AFCD-BD58DE92B061/Runner.app/Frameworks/Flutter.framework/Flutter 0x100e6c000 - 0x100e77fff Runner arm64 <6bcb0d7b38c23e7ea6d3baca75036c4f> /private/var/containers/Bundle/Application/62B1086D-1E95-4A67-AFCD-BD58DE92B061/Runner.app/Runner 0x1a5ff7000 - 0x1a654cfff libswiftCore.dylib arm64e /usr/lib/swift/libswiftCore.dylib 0x1aed6c000 - 0x1b0815fff UIKitCore arm64e /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x1c4c5f000 - 0x1c4d20fff FrontBoardServices arm64e <0f22238224f833bcad5fb2c750d6008d> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b4a83000 - 0x1b4ac9fff libdispatch.dylib arm64e <149ff9cd3e92321db92fef58717c70b6> /usr/lib/system/libdispatch.dylib 0x1acb59000 - 0x1ad085fff CoreFoundation arm64e /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1ef64e000 - 0x1ef656fff GraphicsServices arm64e /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1cf372000 - 0x1cf3f909f dyld arm64e <0d856e729a633b5b879f8d026115a4f0> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? unknown-arch <00000000000000000000000000000000> ??? 0x215d45000 - 0x215d50ff3 libsystem_pthread.dylib arm64e /usr/lib/system/libsystem_pthread.dylib 0x1f3737000 - 0x1f376ffff libsystem_kernel.dylib arm64e <53d6b5aec4943b0784356a5a08ea05f4> /usr/lib/system/libsystem_kernel.dylib 0x1abaf4000 - 0x1ac65efff Foundation arm64e <60f744f41345325e8970d37bb5a1a31d> /System/Library/Frameworks/Foundation.framework/Foundation 0x215d88000 - 0x215dccfff libxpc.dylib arm64e <8e13493aac3e3eef8b3e102a3d715b23> /usr/lib/system/libxpc.dylib EOF ----------- Full Report ----------- {"app_name":"Runner","timestamp":"2023-10-20 13:10:18.00 +0200","app_version":"1.0.0","slice_uuid":"6bcb0d7b-38c2-3e7e-a6d3-baca75036c4f","build_version":"1","platform":2,"bundleID":"com.example.objectboxCrash","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 17.0.3 (21A360)","roots_installed":0,"name":"Runner","incident_id":"2D21B6AB-C44F-4FD1-8B9A-19E2FBEF1228"} { "uptime" : 310, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "iPhone14,5", "coalitionID" : 598, "osVersion" : { "isEmbedded" : true, "train" : "iPhone OS 17.0.3", "releaseType" : "User", "build" : "21A360" }, "captureTime" : "2023-10-20 13:10:18.1914 +0200", "codeSigningMonitor" : 2, "incident" : "2D21B6AB-C44F-4FD1-8B9A-19E2FBEF1228", "pid" : 393, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-10-20 13:07:23.0245 +0200", "procStartAbsTime" : 3686680268, "procExitAbsTime" : 7504732409, "procName" : "Runner", "procPath" : "\/private\/var\/containers\/Bundle\/Application\/62B1086D-1E95-4A67-AFCD-BD58DE92B061\/Runner.app\/Runner", "bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.example.objectboxCrash"}, "storeInfo" : {"deviceIdentifierForVendor":"721D2D2C-4068-4579-9E5D-A545F652AB30","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.example.objectboxCrash", "crashReporterKey" : "fabc8cdcc54345786183cd5704036f61961a55de", "wasUnlockedSinceBoot" : 1, "isLocked" : 0, "codeSigningID" : "com.example.objectboxCrash", "codeSigningTeamID" : "T72LG6SHJH", "codeSigningFlags" : 570434309, "codeSigningValidationCategory" : 3, "codeSigningTrustLevel" : 4, "instructionByteStream" : {"beforePC":"fyMD1fRPvqn9ewGp\/UMAkfMDAKqgAPi24AMTqiwsWpXAAAC1IQAAFA==","atPC":"aAJA+QDNfZLgR8HaoAMAtAiAQDloAwg26AMAqhANRPiQAQC08QMIqg=="}, "basebandVersion" : "3.06.01", "vmRegionInfo" : "0 is not in any region. Bytes before following region: 4310089728\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 100e6c000-100e78000 [ 48K] r-x\/r-x SM=COW ...er.app\/Runner", "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":393}, "vmregioninfo" : "0 is not in any region. Bytes before following region: 4310089728\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 100e6c000-100e78000 [ 48K] r-x\/r-x SM=COW ...er.app\/Runner", "faultingThread" : 0, "threads" : [{"triggered":true,"id":8034,"threadState":{"x":[{"value":0},{"value":9223372041166494384,"symbolLocation":9223372036854775840,"symbol":"objectbox_flutter_libsVersionString"},{"value":14987979559889010710},{"value":0},{"value":4},{"value":2103443456},{"value":10744663872},{"value":2},{"value":9223372041166494384,"symbolLocation":9223372036854775840,"symbol":"objectbox_flutter_libsVersionString"},{"value":9223372036854775776},{"value":170090},{"value":16},{"value":1},{"value":4294966516},{"value":2043},{"value":4250427387},{"value":7084131268,"symbolLocation":0,"symbol":"swift_getObjectType"},{"value":7083828324,"symbolLocation":1392,"symbol":"swift_getObjCClassMetadata"},{"value":0},{"value":0},{"value":8559261600,"symbolLocation":16,"symbol":"InitialAllocationPool"},{"value":1},{"value":1},{"value":0},{"value":1},{"value":8543080448},{"value":8543178752,"symbolLocation":0,"symbol":"OBJC_IVAR_$__UIPreviewInteractionController._currentCommitTransition"},{"value":730267748},{"value":24}],"flavor":"ARM_THREAD_STATE64","lr":{"value":16232027493006016716},"cpsr":{"value":4096},"fp":{"value":6156783920},"sp":{"value":6156783904},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":7084131308,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4183020,"symbol":"swift_getObjectType","symbolLocation":40,"imageIndex":6},{"imageOffset":32972,"symbol":"static SwiftObjectboxFlutterLibsPlugin.register(with:)","symbolLocation":108,"imageIndex":2},{"imageOffset":33480,"symbol":"@objc static SwiftObjectboxFlutterLibsPlugin.register(with:)","symbolLocation":56,"imageIndex":2},{"imageOffset":32840,"symbol":"+[ObjectboxFlutterLibsPlugin registerWithRegistrar:]","symbolLocation":72,"imageIndex":2},{"imageOffset":16496,"symbol":"+[GeneratedPluginRegistrant registerWithRegistry:]","symbolLocation":112,"imageIndex":5},{"imageOffset":16692,"symbol":"AppDelegate.application(_:didFinishLaunchingWithOptions:)","symbolLocation":96,"imageIndex":5},{"imageOffset":17444,"symbol":"@objc AppDelegate.application(_:didFinishLaunchingWithOptions:)","symbolLocation":196,"imageIndex":5},{"imageOffset":2179460,"symbol":"-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:]","symbolLocation":320,"imageIndex":7},{"imageOffset":2175724,"symbol":"-[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]","symbolLocation":2856,"imageIndex":7},{"imageOffset":2171600,"symbol":"-[UIApplication _runWithMainScene:transitionContext:completion:]","symbolLocation":856,"imageIndex":7},{"imageOffset":2170652,"symbol":"-[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]","symbolLocation":132,"imageIndex":7},{"imageOffset":1632648,"symbol":"_UIScenePerformActionsWithLifecycleActionMask","symbolLocation":112,"imageIndex":7},{"imageOffset":2186924,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke","symbolLocation":216,"imageIndex":7},{"imageOffset":1289596,"symbol":"-[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]","symbolLocation":220,"imageIndex":7},{"imageOffset":1284084,"symbol":"-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]","symbolLocation":608,"imageIndex":7},{"imageOffset":1282396,"symbol":"-[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]","symbolLocation":248,"imageIndex":7},{"imageOffset":1282092,"symbol":"__186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke","symbolLocation":148,"imageIndex":7},{"imageOffset":1281844,"symbol":"+[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:]","symbolLocation":736,"imageIndex":7},{"imageOffset":1279932,"symbol":"_UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion","symbolLocation":224,"imageIndex":7},{"imageOffset":1279084,"symbol":"-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]","symbolLocation":316,"imageIndex":7},{"imageOffset":4946044,"symbol":"__64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.225","symbolLocation":612,"imageIndex":7},{"imageOffset":1275376,"symbol":"-[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]","symbolLocation":216,"imageIndex":7},{"imageOffset":1274976,"symbol":"-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]","symbolLocation":244,"imageIndex":7},{"imageOffset":2434004,"symbol":"-[UIApplication workspace:didCreateScene:withTransitionContext:completion:]","symbolLocation":508,"imageIndex":7},{"imageOffset":2433388,"symbol":"-[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]","symbolLocation":288,"imageIndex":7},{"imageOffset":60072,"symbol":"-[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:]","symbolLocation":324,"imageIndex":8},{"imageOffset":59716,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.108","symbolLocation":280,"imageIndex":8},{"imageOffset":54696,"symbol":"-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]","symbolLocation":168,"imageIndex":8},{"imageOffset":103264,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke","symbolLocation":352,"imageIndex":8},{"imageOffset":17152,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":9},{"imageOffset":32072,"symbol":"_dispatch_block_invoke_direct","symbolLocation":284,"imageIndex":9},{"imageOffset":39404,"symbol":"__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":52,"imageIndex":8},{"imageOffset":39276,"symbol":"-[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible]","symbolLocation":240,"imageIndex":8},{"imageOffset":38980,"symbol":"-[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource]","symbolLocation":28,"imageIndex":8},{"imageOffset":228044,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":28,"imageIndex":10},{"imageOffset":224584,"symbol":"__CFRunLoopDoSource0","symbolLocation":176,"imageIndex":10},{"imageOffset":218460,"symbol":"__CFRunLoopDoSources0","symbolLocation":340,"imageIndex":10},{"imageOffset":213560,"symbol":"__CFRunLoopRun","symbolLocation":828,"imageIndex":10},{"imageOffset":212504,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":10},{"imageOffset":13804,"symbol":"GSEventRunModal","symbolLocation":164,"imageIndex":11},{"imageOffset":2290428,"symbol":"-[UIApplication _run]","symbolLocation":888,"imageIndex":7},{"imageOffset":2287928,"symbol":"UIApplicationMain","symbolLocation":340,"imageIndex":7},{"imageOffset":17820,"symbol":"main","symbolLocation":64,"imageIndex":5},{"imageOffset":23876,"symbol":"start","symbolLocation":2104,"imageIndex":12}]},{"id":10771,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6157348864},{"value":6407},{"value":6156812288},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6157348864},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8956176892},"far":{"value":8559606264}}},{"id":10772,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6157922304},{"value":5891},{"value":6157385728},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6157922304},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8956176892},"far":{"value":10742530048}}},{"id":10773,"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":4294967295},{"value":0},{"value":8559106176,"symbolLocation":0,"symbol":"_dispatch_main_q"},{"value":18},{"value":0},{"value":0},{"value":0},{"value":10756178880},{"value":5},{"value":16383},{"value":68719476736},{"value":9005068950962176},{"value":288230384710874113,"symbolLocation":288230376151711745,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":8559162368,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":515},{"value":13488280892533739216,"symbolLocation":13488280883974635568,"symbol":"_OS_dispatch_queue_main_vtable"},{"value":0},{"value":4294967295},{"value":0},{"value":6158491456},{"value":16777217},{"value":4460666240},{"value":6158495968},{"value":10756226624},{"value":10756186976},{"value":10756182528},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7325908208},"cpsr":{"value":1073745920},"fp":{"value":6158491264},"sp":{"value":6158491232},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8379403352},"far":{"value":8557127564}},"queue":"com.apple.UIKit.KeyboardManagement","frames":[{"imageOffset":7256,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":15},{"imageOffset":19696,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":9},{"imageOffset":19108,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":56,"imageIndex":9},{"imageOffset":80288,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":368,"imageIndex":9},{"imageOffset":79180,"symbol":"_dispatch_sync_f_slow","symbolLocation":148,"imageIndex":9},{"imageOffset":13108344,"symbol":"__37-[_UIRemoteKeyboards startConnection]_block_invoke_3","symbolLocation":144,"imageIndex":7},{"imageOffset":205108,"symbol":"__invoking___","symbolLocation":148,"imageIndex":10},{"imageOffset":203724,"symbol":"-[NSInvocation invoke]","symbolLocation":428,"imageIndex":10},{"imageOffset":446240,"symbol":"__NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__","symbolLocation":16,"imageIndex":16},{"imageOffset":445088,"symbol":"-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]","symbolLocation":520,"imageIndex":16},{"imageOffset":443400,"symbol":"__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5","symbolLocation":188,"imageIndex":16},{"imageOffset":125764,"symbol":"_xpc_connection_reply_callout","symbolLocation":116,"imageIndex":17},{"imageOffset":70836,"symbol":"_xpc_connection_call_reply_async","symbolLocation":80,"imageIndex":17},{"imageOffset":17280,"symbol":"_dispatch_client_callout3","symbolLocation":20,"imageIndex":9},{"imageOffset":137988,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":344,"imageIndex":9},{"imageOffset":46872,"symbol":"_dispatch_lane_serial_drain","symbolLocation":368,"imageIndex":9},{"imageOffset":50168,"symbol":"_dispatch_lane_invoke","symbolLocation":432,"imageIndex":9},{"imageOffset":94212,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":288,"imageIndex":9},{"imageOffset":92280,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":404,"imageIndex":9},{"imageOffset":6500,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":14},{"imageOffset":6660,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":14}]},{"id":10774,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6159069184},{"value":8451},{"value":6158532608},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6159069184},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8956176892},"far":{"value":20235894784}}},{"id":10775,"name":"com.apple.uikit.eventfetch-thread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":67083094196224},{"value":1864671304},{"value":67083094196224},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":15619},{"value":0},{"value":1},{"value":15619},{"value":4294967253},{"value":2043},{"value":2346801147},{"value":18446744073709551569},{"value":42},{"value":0},{"value":4294967295},{"value":2},{"value":67083094196224},{"value":1864671304},{"value":67083094196224},{"value":6159637880},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8379400048},"cpsr":{"value":4096},"fp":{"value":6159637728},"sp":{"value":6159637648},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8379400664},"far":{"value":10800234496}},"frames":[{"imageOffset":4568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":15},{"imageOffset":3952,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":15},{"imageOffset":3720,"symbol":"mach_msg_overwrite","symbolLocation":436,"imageIndex":15},{"imageOffset":3272,"symbol":"mach_msg","symbolLocation":24,"imageIndex":15},{"imageOffset":222396,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":10},{"imageOffset":213940,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":10},{"imageOffset":212504,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":10},{"imageOffset":185548,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":16},{"imageOffset":377396,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":64,"imageIndex":16},{"imageOffset":1642936,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":420,"imageIndex":7},{"imageOffset":733524,"symbol":"__NSThread__start__","symbolLocation":732,"imageIndex":16},{"imageOffset":9428,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":14},{"imageOffset":6672,"symbol":"thread_start","symbolLocation":8,"imageIndex":14}]},{"id":10776,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6160216064},{"value":16387},{"value":6159679488},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6160216064},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8956176892},"far":{"value":6160760832}}},{"id":10777,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6160789504},{"value":17667},{"value":6160252928},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6160789504},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8956176892},"far":{"value":8559606264}}}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 4310843392, "size" : 49152, "uuid" : "114289d6-82c7-3b21-b4d6-046fccf2af1c", "path" : "\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/libobjc-trampolines.dylib", "name" : "libobjc-trampolines.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4320673792, "size" : 1294336, "uuid" : "77d924b1-3d5f-3694-b21d-b3266866d626", "path" : "\/private\/var\/containers\/Bundle\/Application\/62B1086D-1E95-4A67-AFCD-BD58DE92B061\/Runner.app\/Frameworks\/ObjectBox.framework\/ObjectBox", "name" : "ObjectBox" }, { "source" : "P", "arch" : "arm64", "base" : 4311678976, "size" : 49152, "uuid" : "12573e62-f204-3307-ad0b-8959b7f7391f", "path" : "\/private\/var\/containers\/Bundle\/Application\/62B1086D-1E95-4A67-AFCD-BD58DE92B061\/Runner.app\/Frameworks\/objectbox_flutter_libs.framework\/objectbox_flutter_libs", "name" : "objectbox_flutter_libs" }, { "source" : "P", "arch" : "arm64", "base" : 4311941120, "size" : 65536, "uuid" : "4c2cf64a-3c4a-3af8-a64a-f11aeb6ff90d", "path" : "\/private\/var\/containers\/Bundle\/Application\/62B1086D-1E95-4A67-AFCD-BD58DE92B061\/Runner.app\/Frameworks\/path_provider_foundation.framework\/path_provider_foundation", "name" : "path_provider_foundation" }, { "source" : "P", "arch" : "arm64", "base" : 4364419072, "size" : 30457856, "uuid" : "4c4c4435-5555-3144-a1ca-71b85e01801f", "path" : "\/private\/var\/containers\/Bundle\/Application\/62B1086D-1E95-4A67-AFCD-BD58DE92B061\/Runner.app\/Frameworks\/Flutter.framework\/Flutter", "name" : "Flutter" }, { "source" : "P", "arch" : "arm64", "base" : 4310089728, "size" : 49152, "uuid" : "6bcb0d7b-38c2-3e7e-a6d3-baca75036c4f", "path" : "\/private\/var\/containers\/Bundle\/Application\/62B1086D-1E95-4A67-AFCD-BD58DE92B061\/Runner.app\/Runner", "name" : "Runner" }, { "source" : "P", "arch" : "arm64e", "base" : 7079948288, "size" : 5595136, "uuid" : "cb3695a9-084b-3283-ac6c-5ba8f46ff6c1", "path" : "\/usr\/lib\/swift\/libswiftCore.dylib", "name" : "libswiftCore.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7228276736, "size" : 27959296, "uuid" : "ec1206d7-b4c9-3257-bb63-08e26a802416", "path" : "\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore", "name" : "UIKitCore" }, { "source" : "P", "arch" : "arm64e", "base" : 7596273664, "size" : 794624, "uuid" : "0f222382-24f8-33bc-ad5f-b2c750d6008d", "path" : "\/System\/Library\/PrivateFrameworks\/FrontBoardServices.framework\/FrontBoardServices", "name" : "FrontBoardServices" }, { "source" : "P", "arch" : "arm64e", "base" : 7325888512, "size" : 290816, "uuid" : "149ff9cd-3e92-321d-b92f-ef58717c70b6", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7192547328, "size" : 5427200, "uuid" : "ceb74a0c-5ea4-3f5a-9de8-73f0dad2f4cb", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation", "name" : "CoreFoundation" }, { "source" : "P", "arch" : "arm64e", "base" : 8311332864, "size" : 36864, "uuid" : "da1008ab-ff26-39eb-95bb-99b9bfa5fb4a", "path" : "\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices", "name" : "GraphicsServices" }, { "source" : "P", "arch" : "arm64e", "base" : 7771463680, "size" : 553120, "uuid" : "0d856e72-9a63-3b5b-879f-8d026115a4f0", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "arm64e", "base" : 8956170240, "size" : 49140, "uuid" : "f85e2360-0ca6-33d6-877e-3af18c938fa4", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 8379396096, "size" : 233472, "uuid" : "53d6b5ae-c494-3b07-8435-6a5a08ea05f4", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7175356416, "size" : 11972608, "uuid" : "60f744f4-1345-325e-8970-d37bb5a1a31d", "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Foundation", "name" : "Foundation" }, { "source" : "P", "arch" : "arm64e", "base" : 8956444672, "size" : 282624, "uuid" : "8e13493a-ac3e-3eef-8b3e-102a3d715b23", "path" : "\/usr\/lib\/system\/libxpc.dylib", "name" : "libxpc.dylib" } ], "sharedCache" : { "base" : 7061569536, "size" : 3470655488, "uuid" : "229d6615-0f3a-3460-b65c-b1d5b4af3b79" }, "vmSummary" : "ReadOnly portion of Libraries: Total=950.3M resident=0K(0%) swapped_out_or_unallocated=950.3M(100%)\nWritable regions: Total=583.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=583.4M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 96K 3 \nCoreAnimation 16K 1 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 578.3M 31 \nMALLOC guard page 128K 8 \nSTACK GUARD 128K 8 \nStack 4816K 8 \nVM_ALLOCATE 144K 1 \n__AUTH 1602K 148 \n__AUTH_CONST 21.8M 463 \n__CTF 824 1 \n__DATA 9606K 462 \n__DATA_CONST 23.1M 468 \n__DATA_DIRTY 5010K 434 \n__FONT_DATA 4K 1 \n__INFO_FILTER 8 1 \n__LINKEDIT 382.2M 7 \n__OBJC_RO 84.9M 1 \n__OBJC_RW 2675K 1 \n__TEXT 568.1M 484 \ndyld private memory 272K 1 \nmapped file 31.6M 3 \nshared memory 80K 4 \n=========== ======= ======= \nTOTAL 1.7G 2542 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "logWritingSignature" : "b3188e6f95d0816bc33de4b14bed3af25d280541", "trialInfo" : { "rollouts" : [ { "rolloutId" : "64b21a7351cbb02ce3442e4e", "factorPackIds" : { "REMINDERS_GROCERY" : "64d6bf89aa6c2933834d3f9d" }, "deploymentId" : 240000018 }, { "rolloutId" : "632c763c58740028737bfdd2", "factorPackIds" : { "SIRI_DIALOG_ASSETS" : "64a57d23fa6fd41b2353e2ae" }, "deploymentId" : 240000034 } ], "experiments" : [ { "treatmentId" : "280fb07d-00d3-4cad-86f9-e9af097448fb", "experimentId" : "6462c5d17c64ab7150680669", "deploymentId" : 400000003 } ] } } ```
greenrobot-team commented 6 months ago

It appears the ObjectBox pod (which objectbox_flutter_libs uses) did contain Mac\OBXCodeGen.framework\Versions\A\Resources\Sourcery.app\Contents\Frameworks\libswiftCore.dylib in 1.8.1, but does not longer in 1.9.0. I'm not sure yet why this file from the code generator would be used by the app at runtime.

~A temporary fix would likely then be to downgrade ObjectBox to 2.2.1, which still uses the 1.8.1 pod.~ Edit: previous comment said using 2.2.1 does not work.

danijel-tolj commented 6 months ago

@greenrobot-team Nope, doesn't work, I receive the same error with the same logs. Here's the Jetsam log https://pastebin.com/zRXwGNuf

greenrobot-team commented 6 months ago

This appears to be https://github.com/flutter/flutter/issues/67624. @danijel-tolj do you (re)launch the app from the home screen instead of via flutter run?

For us, see https://github.com/flutter/flutter/issues/67624#issuecomment-801971172. During inspecting the plugin code I also noticed that the template for plugin registration has changed. Maybe changing to it already fixes this, will need to have a look.

danijel-tolj commented 6 months ago

@greenrobot-team No, I do not open it from the home screen. As soon as the query.find is used after the flutter run command builds the app, it restarts the device immediately

techouse commented 6 months ago

As soon as the query.find is used after the flutter run command builds the app, it restarts the device immediately

Same here. The app works fine on a physical device running iOS 17 in debug mode until I open a screen that queries objectbox.

danijel-tolj commented 6 months ago

This appears to be flutter/flutter#67624. @danijel-tolj do you (re)launch the app from the home screen instead of via flutter run?

For us, see flutter/flutter#67624 (comment). During inspecting the plugin code I also noticed that the template for plugin registration has changed. Maybe changing to it already fixes this, will need to have a look.

@greenrobot-team I don't think this will fix it since the insert/put/delete into the database works, so that means the plugin is properly registered, but the query.find seems to access a non existing address, or an address that has been restricted in iOS 17, and it causes the kernel panic

greenrobot-team commented 6 months ago

@danijel-tolj That's odd since that is exactly what the crash log you have added to the repo points at. Quoting the relevant part here:

Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [393]

Triggered by Thread:  0

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib                     0x1a63f43ec swift_getObjectType + 40
1   objectbox_flutter_libs                 0x100ff80cc static SwiftObjectboxFlutterLibsPlugin.register(with:) + 108
2   objectbox_flutter_libs                 0x100ff82c8 @objc static SwiftObjectboxFlutterLibsPlugin.register(with:) + 56
3   objectbox_flutter_libs                 0x100ff8048 +[ObjectboxFlutterLibsPlugin registerWithRegistrar:] + 72
4   Runner                                 0x100e70070 +[GeneratedPluginRegistrant registerWithRegistry:] + 112

I just published the pre-release 2.3.2-dev.0 which drops the unused method channel registration. To use it, you need to manually edit your pubspec file to use this as the minimum version, e.g.:

dependencies:
  objectbox: ^2.3.2-dev.0

If it still crashes, please obtain the crash report, open it with Console and attach the output here.

danijel-tolj commented 6 months ago

@greenrobot-team Weirdly, phone still crashes with the updated dependencies

Dependencies ``` Dart SDK 3.1.3 Flutter SDK 3.13.7 objectbox_crash 1.0.0+1 ├── build_runner 2.4.6 │ ├── analyzer 6.2.0 │ │ ├── _fe_analyzer_shared 64.0.0 │ │ │ └── meta... │ │ ├── convert 3.1.1 │ │ │ └── typed_data... │ │ ├── collection... │ │ ├── crypto... │ │ ├── glob... │ │ ├── meta... │ │ ├── package_config... │ │ ├── path... │ │ ├── pub_semver... │ │ ├── source_span... │ │ ├── watcher... │ │ └── yaml... │ ├── args 2.4.2 │ ├── async 2.11.0 │ │ ├── collection... │ │ └── meta... │ ├── build 2.4.1 │ │ ├── analyzer... │ │ ├── async... │ │ ├── convert... │ │ ├── crypto... │ │ ├── glob... │ │ ├── logging... │ │ ├── meta... │ │ ├── package_config... │ │ └── path... │ ├── build_config 1.1.1 │ │ ├── checked_yaml 2.0.3 │ │ │ ├── json_annotation... │ │ │ ├── source_span... │ │ │ └── yaml... │ │ ├── json_annotation 4.8.1 │ │ │ └── meta... │ │ ├── path... │ │ ├── pubspec_parse... │ │ └── yaml... │ ├── build_daemon 4.0.0 │ │ ├── built_collection 5.1.1 │ │ ├── built_value 8.6.3 │ │ │ ├── fixnum 1.1.0 │ │ │ ├── built_collection... │ │ │ ├── collection... │ │ │ └── meta... │ │ ├── http_multi_server... │ │ ├── logging... │ │ ├── path... │ │ ├── pool... │ │ ├── shelf... │ │ ├── shelf_web_socket... │ │ ├── stream_transform... │ │ ├── watcher... │ │ └── web_socket_channel... │ ├── build_resolvers 2.4.1 │ │ ├── analyzer... │ │ ├── async... │ │ ├── build... │ │ ├── collection... │ │ ├── convert... │ │ ├── crypto... │ │ ├── graphs... │ │ ├── logging... │ │ ├── package_config... │ │ ├── path... │ │ ├── pool... │ │ ├── pub_semver... │ │ ├── stream_transform... │ │ └── yaml... │ ├── build_runner_core 7.2.11 │ │ ├── async... │ │ ├── build... │ │ ├── build_config... │ │ ├── build_resolvers... │ │ ├── collection... │ │ ├── convert... │ │ ├── crypto... │ │ ├── glob... │ │ ├── graphs... │ │ ├── json_annotation... │ │ ├── logging... │ │ ├── meta... │ │ ├── package_config... │ │ ├── path... │ │ ├── pool... │ │ ├── timing... │ │ ├── watcher... │ │ └── yaml... │ ├── code_builder 4.7.0 │ │ ├── built_collection... │ │ ├── built_value... │ │ ├── collection... │ │ ├── matcher... │ │ └── meta... │ ├── crypto 3.0.3 │ │ └── typed_data 1.3.2 │ │ └── collection... │ ├── dart_style 2.3.3 │ │ ├── analyzer... │ │ ├── args... │ │ ├── path... │ │ ├── pub_semver... │ │ └── source_span... │ ├── frontend_server_client 3.2.0 │ │ ├── async... │ │ └── path... │ ├── glob 2.1.2 │ │ ├── file 7.0.0 │ │ │ ├── meta... │ │ │ └── path... │ │ ├── async... │ │ ├── collection... │ │ ├── path... │ │ └── string_scanner... │ ├── graphs 2.3.1 │ │ └── collection... │ ├── http_multi_server 3.2.1 │ │ └── async... │ ├── io 1.0.4 │ │ ├── meta... │ │ ├── path... │ │ └── string_scanner... │ ├── js 0.6.7 │ │ └── meta... │ ├── logging 1.2.0 │ ├── mime 1.0.4 │ ├── package_config 2.1.0 │ │ └── path... │ ├── pool 1.5.1 │ │ ├── async... │ │ └── stack_trace... │ ├── pub_semver 2.1.4 │ │ ├── collection... │ │ └── meta... │ ├── pubspec_parse 1.2.3 │ │ ├── checked_yaml... │ │ ├── collection... │ │ ├── json_annotation... │ │ ├── pub_semver... │ │ └── yaml... │ ├── shelf 1.4.1 │ │ ├── http_parser 4.0.2 │ │ │ ├── collection... │ │ │ ├── source_span... │ │ │ ├── string_scanner... │ │ │ └── typed_data... │ │ ├── async... │ │ ├── collection... │ │ ├── path... │ │ ├── stack_trace... │ │ └── stream_channel... │ ├── shelf_web_socket 1.0.4 │ │ ├── shelf... │ │ ├── stream_channel... │ │ └── web_socket_channel... │ ├── stack_trace 1.11.0 │ │ └── path... │ ├── stream_transform 2.1.0 │ ├── timing 1.0.1 │ │ └── json_annotation... │ ├── watcher 1.1.0 │ │ ├── async... │ │ └── path... │ ├── web_socket_channel 2.4.0 │ │ ├── async... │ │ ├── crypto... │ │ └── stream_channel... │ ├── yaml 3.1.2 │ │ ├── collection... │ │ ├── source_span... │ │ └── string_scanner... │ ├── collection... │ ├── meta... │ └── path... ├── cupertino_icons 1.0.6 ├── flutter 0.0.0 │ ├── characters 1.3.0 │ ├── collection 1.17.2 │ ├── material_color_utilities 0.5.0 │ │ └── collection... │ ├── meta 1.9.1 │ ├── sky_engine 0.0.99 │ ├── vector_math 2.1.4 │ └── web 0.1.4-beta ├── flutter_lints 2.0.3 │ └── lints 2.1.1 ├── flutter_test 0.0.0 │ ├── boolean_selector 2.1.1 │ │ ├── source_span... │ │ └── string_scanner... │ ├── clock 1.1.1 │ ├── fake_async 1.3.1 │ │ ├── clock... │ │ └── collection... │ ├── matcher 0.12.16 │ │ ├── async... │ │ ├── meta... │ │ ├── stack_trace... │ │ ├── term_glyph... │ │ └── test_api... │ ├── source_span 1.10.0 │ │ ├── collection... │ │ ├── path... │ │ └── term_glyph... │ ├── stream_channel 2.1.1 │ │ └── async... │ ├── string_scanner 1.2.0 │ │ └── source_span... │ ├── term_glyph 1.2.1 │ ├── test_api 0.6.0 │ │ ├── async... │ │ ├── boolean_selector... │ │ ├── collection... │ │ ├── meta... │ │ ├── source_span... │ │ ├── stack_trace... │ │ ├── stream_channel... │ │ ├── string_scanner... │ │ └── term_glyph... │ ├── async... │ ├── characters... │ ├── collection... │ ├── flutter... │ ├── material_color_utilities... │ ├── meta... │ ├── path... │ ├── stack_trace... │ ├── vector_math... │ └── web... ├── objectbox 2.3.2-dev.0 │ ├── ffi 2.1.0 │ ├── flat_buffers 2.0.5 │ ├── path 1.8.3 │ ├── collection... │ └── meta... ├── objectbox_flutter_libs 2.3.2-dev.0 │ ├── flutter... │ ├── objectbox... │ └── path_provider... ├── objectbox_generator 2.3.2-dev.0 │ ├── cryptography 2.7.0 │ │ ├── collection... │ │ ├── crypto... │ │ ├── ffi... │ │ ├── js... │ │ ├── meta... │ │ └── typed_data... │ ├── http 1.1.0 │ │ ├── async... │ │ ├── http_parser... │ │ └── meta... │ ├── source_gen 1.4.0 │ │ ├── analyzer... │ │ ├── async... │ │ ├── build... │ │ ├── dart_style... │ │ ├── glob... │ │ ├── path... │ │ ├── source_span... │ │ └── yaml... │ ├── analyzer... │ ├── build... │ ├── collection... │ ├── dart_style... │ ├── glob... │ ├── objectbox... │ ├── path... │ ├── pubspec_parse... │ └── yaml... └── path_provider 2.1.1 ├── path_provider_android 2.2.0 │ ├── flutter... │ └── path_provider_platform_interface... ├── path_provider_foundation 2.3.1 │ ├── flutter... │ └── path_provider_platform_interface... ├── path_provider_linux 2.2.1 │ ├── xdg_directories 1.0.3 │ │ ├── meta... │ │ └── path... │ ├── ffi... │ ├── flutter... │ ├── path... │ └── path_provider_platform_interface... ├── path_provider_platform_interface 2.1.1 │ ├── platform 3.1.3 │ ├── plugin_platform_interface 2.1.6 │ │ └── meta... │ └── flutter... ├── path_provider_windows 2.2.1 │ ├── win32 5.0.9 │ │ └── ffi... │ ├── ffi... │ ├── flutter... │ ├── path... │ └── path_provider_platform_interface... └── flutter... ```
Log ```console ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: 0A53CD49-367E-4014-A08F-7A5E954620E3 CrashReporter Key: fabc8cdcc54345786183cd5704036f61961a55de Hardware Model: iPhone14,5 Process: Runner [501] Path: /private/var/containers/Bundle/Application/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D/Runner.app/Runner Identifier: com.example.objectboxCrash Version: 1.0.0 (1) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.example.objectboxCrash [694] Date/Time: 2023-10-23 20:02:52.6466 +0200 Launch Time: 2023-10-23 20:02:52.4816 +0200 OS Version: iPhone OS 17.0.3 (21A360) Release Type: User Baseband Version: 3.06.01 Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 VM Region Info: 0 is not in any region. Bytes before following region: 4338499584 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 102984000-102990000 [ 48K] r-x/r-x SM=COW ...er.app/Runner Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [501] Triggered by Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libswiftCore.dylib 0x1905783ec swift_getObjectType + 40 1 path_provider_foundation 0x102a4a748 static PathProviderPlugin.register(with:) + 88 2 path_provider_foundation 0x102a4a854 @objc static PathProviderPlugin.register(with:) + 56 3 Runner 0x1029880b4 +[GeneratedPluginRegistrant registerWithRegistry:] + 180 4 Runner 0x102988134 AppDelegate.application(_:didFinishLaunchingWithOptions:) + 96 5 Runner 0x102988424 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 196 6 UIKitCore 0x199104184 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320 7 UIKitCore 0x1991032ec -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2856 8 UIKitCore 0x1991022d0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856 9 UIKitCore 0x199101f1c -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132 10 UIKitCore 0x19907e988 _UIScenePerformActionsWithLifecycleActionMask + 112 11 UIKitCore 0x199105eac __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 12 UIKitCore 0x19902ad7c -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 220 13 UIKitCore 0x1990297f4 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608 14 UIKitCore 0x19902915c -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248 15 UIKitCore 0x19902902c __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148 16 UIKitCore 0x199028f34 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736 17 UIKitCore 0x1990287bc _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224 18 UIKitCore 0x19902846c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316 19 UIKitCore 0x1993a787c __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.225 + 612 20 UIKitCore 0x1990275f0 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216 21 UIKitCore 0x199027460 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 22 UIKitCore 0x1991423d4 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 508 23 UIKitCore 0x19914216c -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288 24 FrontBoardServices 0x1aedf1aa8 -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 324 25 FrontBoardServices 0x1aedf1944 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.108 + 280 26 FrontBoardServices 0x1aedf05a8 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 27 FrontBoardServices 0x1aedfc360 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 352 28 libdispatch.dylib 0x19ec0b300 _dispatch_client_callout + 20 29 libdispatch.dylib 0x19ec0ed48 _dispatch_block_invoke_direct + 284 30 FrontBoardServices 0x1aedec9ec __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 31 FrontBoardServices 0x1aedec96c -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240 32 FrontBoardServices 0x1aedec844 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28 33 CoreFoundation 0x196d14acc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 34 CoreFoundation 0x196d13d48 __CFRunLoopDoSource0 + 176 35 CoreFoundation 0x196d1255c __CFRunLoopDoSources0 + 340 36 CoreFoundation 0x196d11238 __CFRunLoopRun + 828 37 CoreFoundation 0x196d10e18 CFRunLoopRunSpecific + 608 38 GraphicsServices 0x1d97d55ec GSEventRunModal + 164 39 UIKitCore 0x19911f2fc -[UIApplication _run] + 888 40 UIKitCore 0x19911e938 UIApplicationMain + 340 41 Runner 0x10298859c main + 64 42 dyld 0x1b94fbd44 start + 2104 Thread 1: 0 libsystem_pthread.dylib 0x1ffeca9fc start_wqthread + 0 Thread 2 name: Dispatch queue: com.apple.UIKit.KeyboardManagement Thread 2: 0 libsystem_kernel.dylib 0x1dd8bcc58 __ulock_wait + 8 1 libdispatch.dylib 0x19ec0bcf0 _dlock_wait + 56 2 libdispatch.dylib 0x19ec0baa4 _dispatch_thread_event_wait_slow + 56 3 libdispatch.dylib 0x19ec1a9a0 __DISPATCH_WAIT_FOR_QUEUE__ + 368 4 libdispatch.dylib 0x19ec1a54c _dispatch_sync_f_slow + 148 5 UIKitCore 0x199b70478 __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 144 6 CoreFoundation 0x196d0f134 __invoking___ + 148 7 CoreFoundation 0x196d0ebcc -[NSInvocation invoke] + 428 8 Foundation 0x195ce4f20 __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 16 9 Foundation 0x195ce4aa0 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 520 10 Foundation 0x195ce4408 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188 11 libxpc.dylib 0x1fff2ab44 _xpc_connection_reply_callout + 116 12 libxpc.dylib 0x1fff1d4b4 _xpc_connection_call_reply_async + 80 13 libdispatch.dylib 0x19ec0b380 _dispatch_client_callout3 + 20 14 libdispatch.dylib 0x19ec28b04 _dispatch_mach_msg_async_reply_invoke + 344 15 libdispatch.dylib 0x19ec12718 _dispatch_lane_serial_drain + 368 16 libdispatch.dylib 0x19ec133f8 _dispatch_lane_invoke + 432 17 libdispatch.dylib 0x19ec1e004 _dispatch_root_queue_drain_deferred_wlh + 288 18 libdispatch.dylib 0x19ec1d878 _dispatch_workloop_worker_thread + 404 19 libsystem_pthread.dylib 0x1ffeca964 _pthread_wqthread + 288 20 libsystem_pthread.dylib 0x1ffecaa04 start_wqthread + 8 Thread 3: 0 libsystem_pthread.dylib 0x1ffeca9fc start_wqthread + 0 Thread 4: 0 libsystem_pthread.dylib 0x1ffeca9fc start_wqthread + 0 Thread 5: 0 libsystem_pthread.dylib 0x1ffeca9fc start_wqthread + 0 Thread 6 name: com.apple.uikit.eventfetch-thread Thread 6: 0 libsystem_kernel.dylib 0x1dd8bc1d8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1dd8bbf70 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1dd8bbe88 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x1dd8bbcc8 mach_msg + 24 4 CoreFoundation 0x196d134bc __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x196d113b4 __CFRunLoopRun + 1208 6 CoreFoundation 0x196d10e18 CFRunLoopRunSpecific + 608 7 Foundation 0x195ca54cc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x195cd4234 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x1990811b8 -[UIEventFetcher threadMain] + 420 10 Foundation 0x195d2b154 __NSThread__start__ + 732 11 libsystem_pthread.dylib 0x1ffecb4d4 _pthread_start + 136 12 libsystem_pthread.dylib 0x1ffecaa10 thread_start + 8 Thread 7: 0 libsystem_pthread.dylib 0x1ffeca9fc start_wqthread + 0 Thread 8: 0 libsystem_pthread.dylib 0x1ffeca9fc start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0200000102a50ce1 x2: 0x0000000102a50ce0 x3: 0x0000000000000000 x4: 0x0000000000000004 x5: 0x000000002c800000 x6: 0x000000016d478ff0 x7: 0x0000000000000002 x8: 0x0000000282a404d0 x9: 0x0000000190db9902 x10: 0x0000000142980f1a x11: 0x007f00013a021800 x12: 0x0000000000000030 x13: 0x000000013a021ae0 x14: 0x00000000000007fb x15: 0x00000001e8418e18 x16: 0x00000001905783c4 x17: 0x0000000000000002 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x0000000102a50ce0 x21: 0x0000000000000001 x22: 0x0000000000000001 x23: 0x0000000000000000 x24: 0x0000000000000001 x25: 0x00000001e74d5000 x26: 0x00000001e74ed000 x27: 0x000000002b870064 x28: 0x0000000000000018 fp: 0x000000016d479170 lr: 0xc907048102a4a748 sp: 0x000000016d479160 pc: 0x00000001905783ec cpsr: 0x60001000 far: 0x0000000000000000 esr: 0x92000006 (Data Abort) byte read Translation fault Binary Images: 0x102bac000 - 0x102bb7fff libobjc-trampolines.dylib arm64e <114289d682c73b21b4d6046fccf2af1c> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib 0x103280000 - 0x1033d3fff ObjectBox arm64 <309a2fe05319347c831f65ba2e57b385> /private/var/containers/Bundle/Application/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D/Runner.app/Frameworks/ObjectBox.framework/ObjectBox 0x102a04000 - 0x102a0bfff objectbox_flutter_libs arm64 <523f0a6bfaf832f8a44e9fa4dde219ce> /private/var/containers/Bundle/Application/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D/Runner.app/Frameworks/objectbox_flutter_libs.framework/objectbox_flutter_libs 0x102a40000 - 0x102a4ffff path_provider_foundation arm64 <4c2cf64a3c4a3af8a64af11aeb6ff90d> /private/var/containers/Bundle/Application/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D/Runner.app/Frameworks/path_provider_foundation.framework/path_provider_foundation 0x105c58000 - 0x107963fff Flutter arm64 <4c4c443555553144a1ca71b85e01801f> /private/var/containers/Bundle/Application/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D/Runner.app/Frameworks/Flutter.framework/Flutter 0x102984000 - 0x10298ffff Runner arm64 <1a91600aed2631d59db942346a3e69ab> /private/var/containers/Bundle/Application/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D/Runner.app/Runner 0x19017b000 - 0x1906d0fff libswiftCore.dylib arm64e /usr/lib/swift/libswiftCore.dylib 0x198ef0000 - 0x19a999fff UIKitCore arm64e /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x1aede3000 - 0x1aeea4fff FrontBoardServices arm64e <0f22238224f833bcad5fb2c750d6008d> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x19ec07000 - 0x19ec4dfff libdispatch.dylib arm64e <149ff9cd3e92321db92fef58717c70b6> /usr/lib/system/libdispatch.dylib 0x196cdd000 - 0x197209fff CoreFoundation arm64e /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1d97d2000 - 0x1d97dafff GraphicsServices arm64e /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1b94f6000 - 0x1b957d09f dyld arm64e <0d856e729a633b5b879f8d026115a4f0> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? unknown-arch <00000000000000000000000000000000> ??? 0x1ffec9000 - 0x1ffed4ff3 libsystem_pthread.dylib arm64e /usr/lib/system/libsystem_pthread.dylib 0x1dd8bb000 - 0x1dd8f3fff libsystem_kernel.dylib arm64e <53d6b5aec4943b0784356a5a08ea05f4> /usr/lib/system/libsystem_kernel.dylib 0x195c78000 - 0x1967e2fff Foundation arm64e <60f744f41345325e8970d37bb5a1a31d> /System/Library/Frameworks/Foundation.framework/Foundation 0x1fff0c000 - 0x1fff50fff libxpc.dylib arm64e <8e13493aac3e3eef8b3e102a3d715b23> /usr/lib/system/libxpc.dylib 0x1ffff7000 - 0x2000a1fff libswift_RegexParser.dylib arm64e <8f68e24c35b13a27b1d102c30383a0d3> /usr/lib/swift/libswift_RegexParser.dylib EOF ----------- Full Report ----------- {"app_name":"Runner","timestamp":"2023-10-23 20:02:53.00 +0200","app_version":"1.0.0","slice_uuid":"1a91600a-ed26-31d5-9db9-42346a3e69ab","build_version":"1","platform":2,"bundleID":"com.example.objectboxCrash","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 17.0.3 (21A360)","roots_installed":0,"name":"Runner","incident_id":"0A53CD49-367E-4014-A08F-7A5E954620E3"} { "uptime" : 920, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "iPhone14,5", "coalitionID" : 694, "osVersion" : { "isEmbedded" : true, "train" : "iPhone OS 17.0.3", "releaseType" : "User", "build" : "21A360" }, "captureTime" : "2023-10-23 20:02:52.6466 +0200", "codeSigningMonitor" : 2, "incident" : "0A53CD49-367E-4014-A08F-7A5E954620E3", "pid" : 501, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-10-23 20:02:52.4816 +0200", "procStartAbsTime" : 22230928788, "procExitAbsTime" : 22234817738, "procName" : "Runner", "procPath" : "\/private\/var\/containers\/Bundle\/Application\/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D\/Runner.app\/Runner", "bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.example.objectboxCrash"}, "storeInfo" : {"deviceIdentifierForVendor":"721D2D2C-4068-4579-9E5D-A545F652AB30","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.example.objectboxCrash", "crashReporterKey" : "fabc8cdcc54345786183cd5704036f61961a55de", "wasUnlockedSinceBoot" : 1, "isLocked" : 0, "codeSigningID" : "com.example.objectboxCrash", "codeSigningTeamID" : "T72LG6SHJH", "codeSigningFlags" : 570434309, "codeSigningValidationCategory" : 3, "codeSigningTrustLevel" : 4, "instructionByteStream" : {"beforePC":"fyMD1fRPvqn9ewGp\/UMAkfMDAKqgAPi24AMTqiwsWpXAAAC1IQAAFA==","atPC":"aAJA+QDNfZLgR8HaoAMAtAiAQDloAwg26AMAqhANRPiQAQC08QMIqg=="}, "basebandVersion" : "3.06.01", "vmRegionInfo" : "0 is not in any region. Bytes before following region: 4338499584\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 102984000-102990000 [ 48K] r-x\/r-x SM=COW ...er.app\/Runner", "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":501}, "vmregioninfo" : "0 is not in any region. Bytes before following region: 4338499584\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 102984000-102990000 [ 48K] r-x\/r-x SM=COW ...er.app\/Runner", "faultingThread" : 0, "threads" : [{"triggered":true,"id":14050,"threadState":{"x":[{"value":0},{"value":144115192415194337,"symbolLocation":144115188075855873,"symbol":"type metadata for PathProviderPlugin"},{"value":4339338464,"symbolLocation":0,"symbol":"type metadata for PathProviderPlugin"},{"value":0},{"value":4},{"value":746586112},{"value":6128373744},{"value":2},{"value":10781721808},{"value":6725277954,"objc-selector":"init"},{"value":5412228890},{"value":35747327310436352},{"value":48},{"value":5268183776},{"value":2043},{"value":8191577624,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSObject"},{"value":6716621764,"symbolLocation":0,"symbol":"swift_getObjectType"},{"value":2},{"value":0},{"value":0},{"value":4339338464,"symbolLocation":0,"symbol":"type metadata for PathProviderPlugin"},{"value":1},{"value":1},{"value":0},{"value":1},{"value":8175570944},{"value":8175669248,"symbolLocation":0,"symbol":"OBJC_IVAR_$__UIPreviewInteractionController._currentCommitTransition"},{"value":730267748},{"value":24}],"flavor":"ARM_THREAD_STATE64","lr":{"value":14485551678602127176},"cpsr":{"value":1610616832},"fp":{"value":6128374128},"sp":{"value":6128374112},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6716621804,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4183020,"symbol":"swift_getObjectType","symbolLocation":40,"imageIndex":6},{"imageOffset":42824,"symbol":"static PathProviderPlugin.register(with:)","symbolLocation":88,"imageIndex":3},{"imageOffset":43092,"symbol":"@objc static PathProviderPlugin.register(with:)","symbolLocation":56,"imageIndex":3},{"imageOffset":16564,"symbol":"+[GeneratedPluginRegistrant registerWithRegistry:]","symbolLocation":180,"imageIndex":5},{"imageOffset":16692,"symbol":"AppDelegate.application(_:didFinishLaunchingWithOptions:)","symbolLocation":96,"imageIndex":5},{"imageOffset":17444,"symbol":"@objc AppDelegate.application(_:didFinishLaunchingWithOptions:)","symbolLocation":196,"imageIndex":5},{"imageOffset":2179460,"symbol":"-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:]","symbolLocation":320,"imageIndex":7},{"imageOffset":2175724,"symbol":"-[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]","symbolLocation":2856,"imageIndex":7},{"imageOffset":2171600,"symbol":"-[UIApplication _runWithMainScene:transitionContext:completion:]","symbolLocation":856,"imageIndex":7},{"imageOffset":2170652,"symbol":"-[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]","symbolLocation":132,"imageIndex":7},{"imageOffset":1632648,"symbol":"_UIScenePerformActionsWithLifecycleActionMask","symbolLocation":112,"imageIndex":7},{"imageOffset":2186924,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke","symbolLocation":216,"imageIndex":7},{"imageOffset":1289596,"symbol":"-[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]","symbolLocation":220,"imageIndex":7},{"imageOffset":1284084,"symbol":"-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]","symbolLocation":608,"imageIndex":7},{"imageOffset":1282396,"symbol":"-[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]","symbolLocation":248,"imageIndex":7},{"imageOffset":1282092,"symbol":"__186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke","symbolLocation":148,"imageIndex":7},{"imageOffset":1281844,"symbol":"+[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:]","symbolLocation":736,"imageIndex":7},{"imageOffset":1279932,"symbol":"_UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion","symbolLocation":224,"imageIndex":7},{"imageOffset":1279084,"symbol":"-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]","symbolLocation":316,"imageIndex":7},{"imageOffset":4946044,"symbol":"__64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.225","symbolLocation":612,"imageIndex":7},{"imageOffset":1275376,"symbol":"-[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]","symbolLocation":216,"imageIndex":7},{"imageOffset":1274976,"symbol":"-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]","symbolLocation":244,"imageIndex":7},{"imageOffset":2434004,"symbol":"-[UIApplication workspace:didCreateScene:withTransitionContext:completion:]","symbolLocation":508,"imageIndex":7},{"imageOffset":2433388,"symbol":"-[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]","symbolLocation":288,"imageIndex":7},{"imageOffset":60072,"symbol":"-[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:]","symbolLocation":324,"imageIndex":8},{"imageOffset":59716,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.108","symbolLocation":280,"imageIndex":8},{"imageOffset":54696,"symbol":"-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]","symbolLocation":168,"imageIndex":8},{"imageOffset":103264,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke","symbolLocation":352,"imageIndex":8},{"imageOffset":17152,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":9},{"imageOffset":32072,"symbol":"_dispatch_block_invoke_direct","symbolLocation":284,"imageIndex":9},{"imageOffset":39404,"symbol":"__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":52,"imageIndex":8},{"imageOffset":39276,"symbol":"-[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible]","symbolLocation":240,"imageIndex":8},{"imageOffset":38980,"symbol":"-[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource]","symbolLocation":28,"imageIndex":8},{"imageOffset":228044,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":28,"imageIndex":10},{"imageOffset":224584,"symbol":"__CFRunLoopDoSource0","symbolLocation":176,"imageIndex":10},{"imageOffset":218460,"symbol":"__CFRunLoopDoSources0","symbolLocation":340,"imageIndex":10},{"imageOffset":213560,"symbol":"__CFRunLoopRun","symbolLocation":828,"imageIndex":10},{"imageOffset":212504,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":10},{"imageOffset":13804,"symbol":"GSEventRunModal","symbolLocation":164,"imageIndex":11},{"imageOffset":2290428,"symbol":"-[UIApplication _run]","symbolLocation":888,"imageIndex":7},{"imageOffset":2287928,"symbol":"UIApplicationMain","symbolLocation":340,"imageIndex":7},{"imageOffset":17820,"symbol":"main","symbolLocation":64,"imageIndex":5},{"imageOffset":23876,"symbol":"start","symbolLocation":2104,"imageIndex":12}]},{"id":14067,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6128939008},{"value":4103},{"value":6128402432},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6128939008},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8588667388},"far":{"value":8227949896}}},{"id":14068,"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":4294967295},{"value":0},{"value":8191596672,"symbolLocation":0,"symbol":"_dispatch_main_q"},{"value":18},{"value":0},{"value":0},{"value":0},{"value":10801664128},{"value":5},{"value":16383},{"value":68719476736},{"value":9005068950962176},{"value":288230384343364609,"symbolLocation":288230376151711745,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":8191652864,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":515},{"value":13488280892166229712,"symbolLocation":13488280883974635568,"symbol":"_OS_dispatch_queue_main_vtable"},{"value":0},{"value":4294967295},{"value":0},{"value":6129508160},{"value":16777217},{"value":5265990192},{"value":6129512672},{"value":10801671168},{"value":10801771808},{"value":10801665152},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6958398704},"cpsr":{"value":1073745920},"fp":{"value":6129507968},"sp":{"value":6129507936},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8011893848},"far":{"value":8189618060}},"queue":"com.apple.UIKit.KeyboardManagement","frames":[{"imageOffset":7256,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":15},{"imageOffset":19696,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":9},{"imageOffset":19108,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":56,"imageIndex":9},{"imageOffset":80288,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":368,"imageIndex":9},{"imageOffset":79180,"symbol":"_dispatch_sync_f_slow","symbolLocation":148,"imageIndex":9},{"imageOffset":13108344,"symbol":"__37-[_UIRemoteKeyboards startConnection]_block_invoke_3","symbolLocation":144,"imageIndex":7},{"imageOffset":205108,"symbol":"__invoking___","symbolLocation":148,"imageIndex":10},{"imageOffset":203724,"symbol":"-[NSInvocation invoke]","symbolLocation":428,"imageIndex":10},{"imageOffset":446240,"symbol":"__NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__","symbolLocation":16,"imageIndex":16},{"imageOffset":445088,"symbol":"-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]","symbolLocation":520,"imageIndex":16},{"imageOffset":443400,"symbol":"__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5","symbolLocation":188,"imageIndex":16},{"imageOffset":125764,"symbol":"_xpc_connection_reply_callout","symbolLocation":116,"imageIndex":17},{"imageOffset":70836,"symbol":"_xpc_connection_call_reply_async","symbolLocation":80,"imageIndex":17},{"imageOffset":17280,"symbol":"_dispatch_client_callout3","symbolLocation":20,"imageIndex":9},{"imageOffset":137988,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":344,"imageIndex":9},{"imageOffset":46872,"symbol":"_dispatch_lane_serial_drain","symbolLocation":368,"imageIndex":9},{"imageOffset":50168,"symbol":"_dispatch_lane_invoke","symbolLocation":432,"imageIndex":9},{"imageOffset":94212,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":288,"imageIndex":9},{"imageOffset":92280,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":404,"imageIndex":9},{"imageOffset":6500,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":14},{"imageOffset":6660,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":14}]},{"id":14069,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6130085888},{"value":6659},{"value":6129549312},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6130085888},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8588667388},"far":{"value":6130049344}}},{"id":14070,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6130659328},{"value":10243},{"value":6130122752},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6130659328},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8588667388},"far":{"value":8286899736}}},{"id":14072,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6131232768},{"value":10755},{"value":6130696192},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6131232768},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8588667388},"far":{"value":8301408168}}},{"id":14073,"name":"com.apple.uikit.eventfetch-thread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592,"symbolLocation":628,"symbol":"AST.Atom.Kind.hash(into:)"},{"value":51689931407360},{"value":1836834888},{"value":51689931407360},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":12035},{"value":0},{"value":1},{"value":12035},{"value":2043},{"value":2147745787},{"value":0},{"value":18446744073709551569},{"value":2147745787},{"value":0},{"value":4294967295},{"value":2},{"value":51689931407360},{"value":1836834888},{"value":51689931407360},{"value":6131801464},{"value":8589934592,"symbolLocation":628,"symbol":"AST.Atom.Kind.hash(into:)"},{"value":21592279046},{"value":21592279046},{"value":4412409862,"symbolLocation":4687078,"symbol":"kPlatformStrongDill"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8011890544},"cpsr":{"value":4096},"fp":{"value":6131801312},"sp":{"value":6131801232},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8011891160},"far":{"value":10744037376}},"frames":[{"imageOffset":4568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":15},{"imageOffset":3952,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":15},{"imageOffset":3720,"symbol":"mach_msg_overwrite","symbolLocation":436,"imageIndex":15},{"imageOffset":3272,"symbol":"mach_msg","symbolLocation":24,"imageIndex":15},{"imageOffset":222396,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":10},{"imageOffset":213940,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":10},{"imageOffset":212504,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":10},{"imageOffset":185548,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":16},{"imageOffset":377396,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":64,"imageIndex":16},{"imageOffset":1642936,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":420,"imageIndex":7},{"imageOffset":733524,"symbol":"__NSThread__start__","symbolLocation":732,"imageIndex":16},{"imageOffset":9428,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":14},{"imageOffset":6672,"symbol":"thread_start","symbolLocation":8,"imageIndex":14}]},{"id":14074,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6132379648},{"value":21511},{"value":6131843072},{"value":0},{"value":409602},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6132379648},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8588667388},"far":{"value":8223429680}}},{"id":14075,"frames":[{"imageOffset":6652,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":14}],"threadState":{"x":[{"value":6132953088},{"value":0},{"value":6132416512},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6132953088},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":8588667388},"far":{"value":0}}}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 4340760576, "size" : 49152, "uuid" : "114289d6-82c7-3b21-b4d6-046fccf2af1c", "path" : "\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/libobjc-trampolines.dylib", "name" : "libobjc-trampolines.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4347920384, "size" : 1392640, "uuid" : "309a2fe0-5319-347c-831f-65ba2e57b385", "path" : "\/private\/var\/containers\/Bundle\/Application\/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D\/Runner.app\/Frameworks\/ObjectBox.framework\/ObjectBox", "name" : "ObjectBox" }, { "source" : "P", "arch" : "arm64", "base" : 4339023872, "size" : 32768, "uuid" : "523f0a6b-faf8-32f8-a44e-9fa4dde219ce", "path" : "\/private\/var\/containers\/Bundle\/Application\/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D\/Runner.app\/Frameworks\/objectbox_flutter_libs.framework\/objectbox_flutter_libs", "name" : "objectbox_flutter_libs" }, { "source" : "P", "arch" : "arm64", "base" : 4339269632, "size" : 65536, "uuid" : "4c2cf64a-3c4a-3af8-a64a-f11aeb6ff90d", "path" : "\/private\/var\/containers\/Bundle\/Application\/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D\/Runner.app\/Frameworks\/path_provider_foundation.framework\/path_provider_foundation", "name" : "path_provider_foundation" }, { "source" : "P", "arch" : "arm64", "base" : 4391796736, "size" : 30457856, "uuid" : "4c4c4435-5555-3144-a1ca-71b85e01801f", "path" : "\/private\/var\/containers\/Bundle\/Application\/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D\/Runner.app\/Frameworks\/Flutter.framework\/Flutter", "name" : "Flutter" }, { "source" : "P", "arch" : "arm64", "base" : 4338499584, "size" : 49152, "uuid" : "1a91600a-ed26-31d5-9db9-42346a3e69ab", "path" : "\/private\/var\/containers\/Bundle\/Application\/C5FCF2D4-855F-4FB8-B8EB-7C59D685D85D\/Runner.app\/Runner", "name" : "Runner" }, { "source" : "P", "arch" : "arm64e", "base" : 6712438784, "size" : 5595136, "uuid" : "cb3695a9-084b-3283-ac6c-5ba8f46ff6c1", "path" : "\/usr\/lib\/swift\/libswiftCore.dylib", "name" : "libswiftCore.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6860767232, "size" : 27959296, "uuid" : "ec1206d7-b4c9-3257-bb63-08e26a802416", "path" : "\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore", "name" : "UIKitCore" }, { "source" : "P", "arch" : "arm64e", "base" : 7228764160, "size" : 794624, "uuid" : "0f222382-24f8-33bc-ad5f-b2c750d6008d", "path" : "\/System\/Library\/PrivateFrameworks\/FrontBoardServices.framework\/FrontBoardServices", "name" : "FrontBoardServices" }, { "source" : "P", "arch" : "arm64e", "base" : 6958379008, "size" : 290816, "uuid" : "149ff9cd-3e92-321d-b92f-ef58717c70b6", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6825037824, "size" : 5427200, "uuid" : "ceb74a0c-5ea4-3f5a-9de8-73f0dad2f4cb", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation", "name" : "CoreFoundation" }, { "source" : "P", "arch" : "arm64e", "base" : 7943823360, "size" : 36864, "uuid" : "da1008ab-ff26-39eb-95bb-99b9bfa5fb4a", "path" : "\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices", "name" : "GraphicsServices" }, { "source" : "P", "arch" : "arm64e", "base" : 7403954176, "size" : 553120, "uuid" : "0d856e72-9a63-3b5b-879f-8d026115a4f0", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "arm64e", "base" : 8588660736, "size" : 49140, "uuid" : "f85e2360-0ca6-33d6-877e-3af18c938fa4", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 8011886592, "size" : 233472, "uuid" : "53d6b5ae-c494-3b07-8435-6a5a08ea05f4", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6807846912, "size" : 11972608, "uuid" : "60f744f4-1345-325e-8970-d37bb5a1a31d", "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Foundation", "name" : "Foundation" }, { "source" : "P", "arch" : "arm64e", "base" : 8588935168, "size" : 282624, "uuid" : "8e13493a-ac3e-3eef-8b3e-102a3d715b23", "path" : "\/usr\/lib\/system\/libxpc.dylib", "name" : "libxpc.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 8589897728, "size" : 700416, "uuid" : "8f68e24c-35b1-3a27-b1d1-02c30383a0d3", "path" : "\/usr\/lib\/swift\/libswift_RegexParser.dylib", "name" : "libswift_RegexParser.dylib" } ], "sharedCache" : { "base" : 6694060032, "size" : 3470655488, "uuid" : "229d6615-0f3a-3460-b65c-b1d5b4af3b79" }, "vmSummary" : "ReadOnly portion of Libraries: Total=933.4M resident=0K(0%) swapped_out_or_unallocated=933.4M(100%)\nWritable regions: Total=584.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=584.0M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 96K 3 \nCoreAnimation 16K 1 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 578.3M 31 \nMALLOC guard page 128K 8 \nSTACK GUARD 144K 9 \nStack 5360K 9 \nVM_ALLOCATE 144K 1 \n__AUTH 1483K 139 \n__AUTH_CONST 20.6M 434 \n__CTF 824 1 \n__DATA 9358K 433 \n__DATA_CONST 21.1M 439 \n__DATA_DIRTY 4762K 406 \n__FONT_DATA 4K 1 \n__INFO_FILTER 8 1 \n__LINKEDIT 382.2M 7 \n__OBJC_RO 84.9M 1 \n__OBJC_RW 2675K 1 \n__TEXT 551.1M 455 \ndyld private memory 272K 1 \nmapped file 31.6M 3 \nshared memory 80K 4 \n=========== ======= ======= \nTOTAL 1.7G 2391 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "logWritingSignature" : "9bdd7701951ea4f0372fca2fa2c62c66bdca6699", "trialInfo" : { "rollouts" : [ { "rolloutId" : "64c17a9925d75a7281053d4c", "factorPackIds" : { "SIRI_AUDIO_DISABLE_MEDIA_ENTITY_SYNC" : "64d29746ad29a465b3bbeace" }, "deploymentId" : 240000001 }, { "rolloutId" : "6297d96be2c9387df974efa4", "factorPackIds" : { "SIRI_VALUE_INFERENCE_APP_RESOLUTION" : "6494ca523597223bb9ad771e" }, "deploymentId" : 240000014 } ], "experiments" : [ { "treatmentId" : "280fb07d-00d3-4cad-86f9-e9af097448fb", "experimentId" : "6462c5d17c64ab7150680669", "deploymentId" : 400000003 }, { "treatmentId" : "cc7713ba-2d64-4df3-b646-368bf06b1aa5", "experimentId" : "644a477c8f139c26a6e67a9f", "deploymentId" : 400000002 } ] } } ```
danijel-tolj commented 6 months ago

@greenrobot-team Well, this is interesting. I wanted to if there's some issues with the Dart SDK itself, so I downgraded to 3.0.6, and it works perfectly fine! Even with the objectbox 2.3.1, it works properly, so this may indicate to a deeper problem in recent Dart SDK versions

Dependencies ``` Dart SDK 3.0.6 Flutter SDK 3.10.6 objectbox_crash 1.0.0+1 ├── build_runner 2.4.6 │ ├── analyzer 6.2.0 │ │ ├── _fe_analyzer_shared 64.0.0 │ │ │ └── meta... │ │ ├── convert 3.1.1 │ │ │ └── typed_data... │ │ ├── collection... │ │ ├── crypto... │ │ ├── glob... │ │ ├── meta... │ │ ├── package_config... │ │ ├── path... │ │ ├── pub_semver... │ │ ├── source_span... │ │ ├── watcher... │ │ └── yaml... │ ├── args 2.4.2 │ ├── async 2.11.0 │ │ ├── collection... │ │ └── meta... │ ├── build 2.4.1 │ │ ├── analyzer... │ │ ├── async... │ │ ├── convert... │ │ ├── crypto... │ │ ├── glob... │ │ ├── logging... │ │ ├── meta... │ │ ├── package_config... │ │ └── path... │ ├── build_config 1.1.1 │ │ ├── checked_yaml 2.0.3 │ │ │ ├── json_annotation... │ │ │ ├── source_span... │ │ │ └── yaml... │ │ ├── json_annotation 4.8.1 │ │ │ └── meta... │ │ ├── path... │ │ ├── pubspec_parse... │ │ └── yaml... │ ├── build_daemon 4.0.0 │ │ ├── built_collection 5.1.1 │ │ ├── built_value 8.6.3 │ │ │ ├── fixnum 1.1.0 │ │ │ ├── built_collection... │ │ │ ├── collection... │ │ │ └── meta... │ │ ├── http_multi_server... │ │ ├── logging... │ │ ├── path... │ │ ├── pool... │ │ ├── shelf... │ │ ├── shelf_web_socket... │ │ ├── stream_transform... │ │ ├── watcher... │ │ └── web_socket_channel... │ ├── build_resolvers 2.4.1 │ │ ├── analyzer... │ │ ├── async... │ │ ├── build... │ │ ├── collection... │ │ ├── convert... │ │ ├── crypto... │ │ ├── graphs... │ │ ├── logging... │ │ ├── package_config... │ │ ├── path... │ │ ├── pool... │ │ ├── pub_semver... │ │ ├── stream_transform... │ │ └── yaml... │ ├── build_runner_core 7.2.11 │ │ ├── async... │ │ ├── build... │ │ ├── build_config... │ │ ├── build_resolvers... │ │ ├── collection... │ │ ├── convert... │ │ ├── crypto... │ │ ├── glob... │ │ ├── graphs... │ │ ├── json_annotation... │ │ ├── logging... │ │ ├── meta... │ │ ├── package_config... │ │ ├── path... │ │ ├── pool... │ │ ├── timing... │ │ ├── watcher... │ │ └── yaml... │ ├── code_builder 4.7.0 │ │ ├── built_collection... │ │ ├── built_value... │ │ ├── collection... │ │ ├── matcher... │ │ └── meta... │ ├── crypto 3.0.3 │ │ └── typed_data 1.3.2 │ │ └── collection... │ ├── dart_style 2.3.3 │ │ ├── analyzer... │ │ ├── args... │ │ ├── path... │ │ ├── pub_semver... │ │ └── source_span... │ ├── frontend_server_client 3.2.0 │ │ ├── async... │ │ └── path... │ ├── glob 2.1.2 │ │ ├── file 7.0.0 │ │ │ ├── meta... │ │ │ └── path... │ │ ├── async... │ │ ├── collection... │ │ ├── path... │ │ └── string_scanner... │ ├── graphs 2.3.1 │ │ └── collection... │ ├── http_multi_server 3.2.1 │ │ └── async... │ ├── io 1.0.4 │ │ ├── meta... │ │ ├── path... │ │ └── string_scanner... │ ├── logging 1.2.0 │ ├── mime 1.0.4 │ ├── package_config 2.1.0 │ │ └── path... │ ├── pool 1.5.1 │ │ ├── async... │ │ └── stack_trace... │ ├── pub_semver 2.1.4 │ │ ├── collection... │ │ └── meta... │ ├── pubspec_parse 1.2.3 │ │ ├── checked_yaml... │ │ ├── collection... │ │ ├── json_annotation... │ │ ├── pub_semver... │ │ └── yaml... │ ├── shelf 1.4.1 │ │ ├── http_parser 4.0.2 │ │ │ ├── collection... │ │ │ ├── source_span... │ │ │ ├── string_scanner... │ │ │ └── typed_data... │ │ ├── async... │ │ ├── collection... │ │ ├── path... │ │ ├── stack_trace... │ │ └── stream_channel... │ ├── shelf_web_socket 1.0.4 │ │ ├── shelf... │ │ ├── stream_channel... │ │ └── web_socket_channel... │ ├── stack_trace 1.11.0 │ │ └── path... │ ├── stream_transform 2.1.0 │ ├── timing 1.0.1 │ │ └── json_annotation... │ ├── watcher 1.1.0 │ │ ├── async... │ │ └── path... │ ├── web_socket_channel 2.4.0 │ │ ├── async... │ │ ├── crypto... │ │ └── stream_channel... │ ├── yaml 3.1.2 │ │ ├── collection... │ │ ├── source_span... │ │ └── string_scanner... │ ├── collection... │ ├── js... │ ├── meta... │ └── path... ├── cupertino_icons 1.0.6 ├── flutter 0.0.0 │ ├── characters 1.3.0 │ ├── collection 1.17.1 │ ├── js 0.6.7 │ │ └── meta... │ ├── material_color_utilities 0.2.0 │ ├── meta 1.9.1 │ ├── sky_engine 0.0.99 │ └── vector_math 2.1.4 ├── flutter_lints 2.0.3 │ └── lints 2.1.1 ├── flutter_test 0.0.0 │ ├── boolean_selector 2.1.1 │ │ ├── source_span... │ │ └── string_scanner... │ ├── clock 1.1.1 │ ├── fake_async 1.3.1 │ │ ├── clock... │ │ └── collection... │ ├── matcher 0.12.15 │ │ ├── async... │ │ ├── meta... │ │ ├── stack_trace... │ │ ├── term_glyph... │ │ └── test_api... │ ├── source_span 1.9.1 │ │ ├── collection... │ │ ├── path... │ │ └── term_glyph... │ ├── stream_channel 2.1.1 │ │ └── async... │ ├── string_scanner 1.2.0 │ │ └── source_span... │ ├── term_glyph 1.2.1 │ ├── test_api 0.5.1 │ │ ├── async... │ │ ├── boolean_selector... │ │ ├── collection... │ │ ├── matcher... │ │ ├── meta... │ │ ├── source_span... │ │ ├── stack_trace... │ │ ├── stream_channel... │ │ ├── string_scanner... │ │ └── term_glyph... │ ├── async... │ ├── characters... │ ├── collection... │ ├── flutter... │ ├── js... │ ├── material_color_utilities... │ ├── meta... │ ├── path... │ ├── stack_trace... │ └── vector_math... ├── objectbox 2.3.1 │ ├── ffi 2.1.0 │ ├── flat_buffers 2.0.5 │ ├── path 1.8.3 │ ├── collection... │ └── meta... ├── objectbox_flutter_libs 2.3.1 │ ├── flutter... │ ├── objectbox... │ └── path_provider... ├── objectbox_generator 2.3.1 │ ├── cryptography 2.5.0 │ │ ├── collection... │ │ ├── crypto... │ │ ├── js... │ │ ├── meta... │ │ └── typed_data... │ ├── http 1.1.0 │ │ ├── async... │ │ ├── http_parser... │ │ └── meta... │ ├── source_gen 1.4.0 │ │ ├── analyzer... │ │ ├── async... │ │ ├── build... │ │ ├── dart_style... │ │ ├── glob... │ │ ├── path... │ │ ├── source_span... │ │ └── yaml... │ ├── analyzer... │ ├── build... │ ├── collection... │ ├── dart_style... │ ├── glob... │ ├── objectbox... │ ├── path... │ ├── pubspec_parse... │ └── yaml... └── path_provider 2.1.1 ├── path_provider_android 2.2.0 │ ├── flutter... │ └── path_provider_platform_interface... ├── path_provider_foundation 2.3.1 │ ├── flutter... │ └── path_provider_platform_interface... ├── path_provider_linux 2.2.1 │ ├── xdg_directories 1.0.3 │ │ ├── meta... │ │ └── path... │ ├── ffi... │ ├── flutter... │ ├── path... │ └── path_provider_platform_interface... ├── path_provider_platform_interface 2.1.1 │ ├── platform 3.1.3 │ ├── plugin_platform_interface 2.1.6 │ │ └── meta... │ └── flutter... ├── path_provider_windows 2.2.1 │ ├── win32 5.0.9 │ │ └── ffi... │ ├── ffi... │ ├── flutter... │ ├── path... │ └── path_provider_platform_interface... └── flutter... ```
greenrobot-team commented 6 months ago

@danijel-tolj Thanks so much for testing!

The crash you get now is https://github.com/flutter/flutter/issues/67624#issuecomment-740219823 again, but for the path_provider_foundation package. Quoting the crash log and how it again ends at register(with:) and swift_getObjectType + 40:

Thread 0 Crashed:
0   libswiftCore.dylib                     0x1905783ec swift_getObjectType + 40
1   path_provider_foundation               0x102a4a748 static PathProviderPlugin.register(with:) + 88
2   path_provider_foundation               0x102a4a854 @objc static PathProviderPlugin.register(with:) + 56

I still don't understand what has changed in recent Flutter versions that makes apps crash even when not opening them manually.

@techouse Do you get the same crash log?

danijel-tolj commented 6 months ago

@greenrobot-team the last log that can provide some insight is from the ExcUserFault_diagnosticd log which points out that the error is a EXC_GUARD exception which sounds like swift_getObjectType is crashing because it violates guarded resource protection

Log ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: C20D9BD0-9C0F-4063-BD1A-7BAF510E57E9 CrashReporter Key: fabc8cdcc54345786183cd5704036f61961a55de Hardware Model: iPhone14,5 Process: diagnosticd [301] Path: /usr/libexec/diagnosticd Identifier: diagnosticd Version: ??? Code Type: ARM-64 (Native) Role: Unspecified Parent Process: ??? [1] Coalition: com.apple.diagnosticd [475] Date/Time: 2023-10-24 09:42:53.0202 +0200 Launch Time: OS Version: iPhone OS 17.0.3 (21A360) Release Type: User Baseband Version: 3.06.01 Report Version: 104 Exception Type: EXC_GUARD Exception Subtype: GUARD_TYPE_USER Exception Message: namespc 7 reason_code 0x0000000000000009 Exception Codes: 0x6000000000000007, 0x0000000000000009 Termination Reason: LIBXPC 9 XPC_EXIT_REASON_FAULT Triggered by Thread: 0 Thread 0 Crashed: 0 ??? 0x1ce8d6518 0x180000000 + 1317889304 1 ??? 0x1f0f1ce94 0x180000000 + 1894895252 2 ??? 0x1f0f1d5e0 0x180000000 + 1894897120 3 ??? 0x1f0f267b4 0x180000000 + 1894934452 4 ??? 0x1f0f29af4 0x180000000 + 1894947572 5 ??? 0x1f0f26ea8 0x180000000 + 1894936232 6 ??? 0x1f0f282dc 0x180000000 + 1894941404 7 ??? 0x1904cf334 0x180000000 + 273478452 8 ??? 0x1904d080c 0x180000000 + 273483788 9 ??? 0x18fc17300 0x180000000 + 264336128 10 ??? 0x18fc18b3c 0x180000000 + 264342332 11 ??? 0x1904cde60 0x180000000 + 273473120 12 ??? 0x1904cd87c 0x180000000 + 273471612 13 ??? 0x1904cd550 0x180000000 + 273470800 14 ??? 0x1904d7144 0x180000000 + 273510724 15 ??? 0x1904cb4a0 0x180000000 + 273462432 16 ??? 0x1904d3618 0x180000000 + 273495576 17 ??? 0x1a11b5f50 0x180000000 + 555442000 18 ??? 0x1904d7cc4 0x180000000 + 273513668 19 ??? 0x18fc17300 0x180000000 + 264336128 20 ??? 0x18fc266b4 0x180000000 + 264398516 21 ??? 0x1904d438c 0x180000000 + 273499020 22 ??? 0x1905c0874 0x180000000 + 274466932 23 ??? 0x190563838 0x180000000 + 274085944 24 ??? 0x1f39b2c54 0x180000000 + 1939549268 25 ??? 0x1f39ad958 0x180000000 + 1939528024 26 ??? 0x1f39b00d4 0x180000000 + 1939538132 27 ??? 0x1f39b0df0 0x180000000 + 1939541488 28 ??? 0x1f0f2a1ac 0x180000000 + 1894949292 29 ??? 0x1f0f2a5ec 0x180000000 + 1894950380 30 ??? 0x18fc173c0 0x180000000 + 264336320 31 ??? 0x18fc333d8 0x180000000 + 264451032 32 ??? 0x18fc1e718 0x180000000 + 264365848 33 ??? 0x18fc34114 0x180000000 + 264454420 34 ??? 0x18fc2a004 0x180000000 + 264413188 35 ??? 0x18fc29878 0x180000000 + 264411256 36 ??? 0x1f0ed6964 0x180000000 + 1894607204 37 ??? 0x1f0ed6a04 0x180000000 + 1894607364 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x00000000247d0000 x2: 0x60343a0f15669d22 x3: 0x793bafb4d5b15cb6 x4: 0x00000001a47d0000 x5: 0x34388ba3bedd0062 x6: 0x0000000000000000 x7: 0x000000072a809530 x8: 0x000000072a809530 x9: 0x000000072a00b040 x10: 0x0000000000000000 x11: 0x00000001fdbf6e30 x12: 0x0000000000000001 x13: 0x000000072a80a360 x14: 0x000000072ab00000 x15: 0x0000000102a38000 x16: 0x0000000000005000 x17: 0x000000016d5e6aa0 x18: 0x94615c8102931968 x19: 0x000000072a80a360 x20: 0x000000072ab00000 x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x000000016d5e6b70 x24: 0xe825888102947fb0 x25: 0x0000000100000000 x26: 0x0000000100000000 x27: 0x0000000000000000 x28: 0x000000072a00b040 fp: 0x0000000000005000 lr: 0x0000000102a38000 sp: 0x000000002aa05520 pc: 0x0000000000000034 cpsr: 0x00000000 far: 0x0000000000000000 esr: 0x00000000 Address size fault Binary Images: 0x180000000 - 0x22add7ffb ??? unknown-arch <229d66150f3a3460b65cb1d5b4af3b79> ??? Error Formulating Crash Report: PC register does not match crashing frame (0x34 vs 0x1CE8D6518) EOF ----------- Full Report ----------- {"is_simulated":1,"app_name":"diagnosticd","timestamp":"2023-10-24 09:42:54.00 +0200","app_version":"","slice_uuid":"d8ca5fe1-ebca-393c-977c-f6e38c7071f5","build_version":"","platform":2,"share_with_app_devs":0,"is_first_party":1,"bug_type":"308","os_version":"iPhone OS 17.0.3 (21A360)","roots_installed":0,"incident_id":"C20D9BD0-9C0F-4063-BD1A-7BAF510E57E9","name":"diagnosticd"} { "uptime" : 36, "procRole" : "Unspecified", "version" : 2, "userID" : 0, "deployVersion" : 210, "modelCode" : "iPhone14,5", "coalitionID" : 475, "osVersion" : { "isEmbedded" : true, "train" : "iPhone OS 17.0.3", "releaseType" : "User", "build" : "21A360" }, "captureTime" : "2023-10-24 09:42:53.0202 +0200", "codeSigningMonitor" : 2, "incident" : "C20D9BD0-9C0F-4063-BD1A-7BAF510E57E9", "pid" : 301, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "308", "procStartAbsTime" : 877774672, "procName" : "diagnosticd", "procPath" : "\/usr\/libexec\/diagnosticd", "parentPid" : 1, "coalitionName" : "com.apple.diagnosticd", "crashReporterKey" : "fabc8cdcc54345786183cd5704036f61961a55de", "wasUnlockedSinceBoot" : 1, "isLocked" : 0, "codeSigningValidationCategory" : 0, "codeSigningTrustLevel" : 0, "basebandVersion" : "3.06.01", "isLightWeightCorpse" : 1, "exception" : {"codes":"0x6000000000000007, 0x0000000000000009","reason":9,"message":"namespc 7 reason_code 0x0000000000000009","subtype":"GUARD_TYPE_USER","type":"EXC_GUARD","rawCodes":[6917529027641081863,9],"namespc":7}, "termination" : {"flags":518,"code":9,"namespace":"LIBXPC","indicator":"XPC_EXIT_REASON_FAULT"}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":4800,"threadState":{"x":[{"value":0},{"value":612171776},{"value":6932229562888002850},{"value":8735769093429353654},{"value":7054622720},{"value":3762911024066134114},{"value":0},{"value":30777840944},{"value":30777840944},{"value":30769459264},{"value":0},{"value":8552148528},{"value":1},{"value":30777844576},{"value":30780948480},{"value":4339236864},{"value":20480},{"value":6129871520},{"value":10691928699517999464},{"value":30777844576},{"value":30780948480},{"value":0},{"value":0},{"value":6129871728},{"value":16727926478613020592},{"value":4294967296},{"value":4294967296},{"value":0},{"value":30769459264}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4339236864},"cpsr":{"value":0},"fp":{"value":20480},"sp":{"value":715150624},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":52,"matchesCrashFrame":0},"far":{"value":0}},"frames":[{"imageOffset":1317889304,"imageIndex":0},{"imageOffset":1894895252,"imageIndex":0},{"imageOffset":1894897120,"imageIndex":0},{"imageOffset":1894934452,"imageIndex":0},{"imageOffset":1894947572,"imageIndex":0},{"imageOffset":1894936232,"imageIndex":0},{"imageOffset":1894941404,"imageIndex":0},{"imageOffset":273478452,"imageIndex":0},{"imageOffset":273483788,"imageIndex":0},{"imageOffset":264336128,"imageIndex":0},{"imageOffset":264342332,"imageIndex":0},{"imageOffset":273473120,"imageIndex":0},{"imageOffset":273471612,"imageIndex":0},{"imageOffset":273470800,"imageIndex":0},{"imageOffset":273510724,"imageIndex":0},{"imageOffset":273462432,"imageIndex":0},{"imageOffset":273495576,"imageIndex":0},{"imageOffset":555442000,"imageIndex":0},{"imageOffset":273513668,"imageIndex":0},{"imageOffset":264336128,"imageIndex":0},{"imageOffset":264398516,"imageIndex":0},{"imageOffset":273499020,"imageIndex":0},{"imageOffset":274466932,"imageIndex":0},{"imageOffset":274085944,"imageIndex":0},{"imageOffset":1939549268,"imageIndex":0},{"imageOffset":1939528024,"imageIndex":0},{"imageOffset":1939538132,"imageIndex":0},{"imageOffset":1939541488,"imageIndex":0},{"imageOffset":1894949292,"imageIndex":0},{"imageOffset":1894950380,"imageIndex":0},{"imageOffset":264336320,"imageIndex":0},{"imageOffset":264451032,"imageIndex":0},{"imageOffset":264365848,"imageIndex":0},{"imageOffset":264454420,"imageIndex":0},{"imageOffset":264413188,"imageIndex":0},{"imageOffset":264411256,"imageIndex":0},{"imageOffset":1894607204,"imageIndex":0},{"imageOffset":1894607364,"imageIndex":0}]}], "usedImages" : [ { "size" : 2866642940, "source" : "S", "base" : 6442450944, "uuid" : "229d6615-0f3a-3460-b65c-b1d5b4af3b79" } ], "legacyInfo" : { "threadTriggered" : { } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "64c17a9925d75a7281053d4c", "factorPackIds" : { "SIRI_AUDIO_DISABLE_MEDIA_ENTITY_SYNC" : "64d29746ad29a465b3bbeace" }, "deploymentId" : 240000001 }, { "rolloutId" : "6297d96be2c9387df974efa4", "factorPackIds" : { "SIRI_VALUE_INFERENCE_APP_RESOLUTION" : "6494ca523597223bb9ad771e" }, "deploymentId" : 240000014 } ], "experiments" : [ { "treatmentId" : "280fb07d-00d3-4cad-86f9-e9af097448fb", "experimentId" : "6462c5d17c64ab7150680669", "deploymentId" : 400000003 }, { "treatmentId" : "cc7713ba-2d64-4df3-b646-368bf06b1aa5", "experimentId" : "644a477c8f139c26a6e67a9f", "deploymentId" : 400000002 } ] }, "reportNotes" : [ "PC register does not match crashing frame (0x34 vs 0x1CE8D6518)" ] } ```
techouse commented 6 months ago

Looks like the Dart team are on it https://github.com/dart-lang/sdk/issues/53859

danijel-tolj commented 6 months ago

Flutter 3.16.0 is out, which fixes this issues on the stable channel

greenrobot-team commented 5 months ago

@danijel-tolj Thanks for letting us know! It appears so, but it's not mentioned in the release notes as far as I can see.

Anyways, closing this then. If you are affected, make sure to update to Dart 3.2 (included with Flutter 3.16).

greenrobot-team commented 5 months ago

For completion: with 2.4.0 also released the unrelated fix for debug mode crashes on iOS mentioned in my previous comment.