JaffaKetchup / flutter_map_tile_caching

Plugin for flutter_map providing advanced & performant caching and bulk downloading functionality, with many options for region shapes and extra tools
https://pub.dev/packages/flutter_map_tile_caching
GNU General Public License v3.0
114 stars 71 forks source link

[BUG] Fatal crash due on iOS #159

Open TraceDeTrail opened 1 week ago

TraceDeTrail commented 1 week ago

What is the bug?

Application crashes on IOS when trying to delete or empty the store since using ObjectBox

How can we reproduce it?

The example project reproduces the bug

Do you have a potential solution?

No response

Platforms

iOS 17

Severity

Fatal: Causes the application to crash

JaffaKetchup commented 1 week ago

Hi @TraceDeTrail, Please post the exact error message. The provided reproduction information is not sufficient: please say your exact reproduction steps, or attach all necessary exported stores so I can test. Unfortunately I do not have an iOS devicde to test on.

TraceDeTrail commented 1 week ago

Thanks for your quick reply :-) I have a crash on xCode (DartWorker (177): EXC_BAD_ACCESS (code=1, address=0x12ab68010) , but I can't isolate the error on Visul Studio....

TraceDeTrail commented 1 week ago

When I try to export the store (example project), I get this error :

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: StorageException: failed to create store: Could not open database environment; please check options and file system (1: Operation not permitted) (OBX_ERROR code 10199)
#0      ObjectBoxNativeError.throwMapped (package:objectbox/src/native/bindings/helpers.dart:99:11)
#1      throwLatestNativeError (package:objectbox/src/native/bindings/helpers.dart:54:48)
#2      checkObxPtr (package:objectbox/src/native/bindings/helpers.dart:31:5)
#3      Store._checkStorePointer (package:objectbox/src/native/store.dart:451:7)
#4      new Store (package:objectbox/src/native/store.dart:274:7)
#5      _worker.mainHandler (package:flutter_map_tile_caching/src/backend/impls/objectbox/backend/internal_workers/standard/worker.dart:761:31)
#6      _worker.<anonymous closure> (package:flutter_map_tile_caching/src/backend/impls/objectbox/backend/internal_workers/standard/worker.dart:1327:7)
#7      _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#8      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365:11)
#9      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297:7)
#10     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784:19)
#11     _StreamController._add (dart:async/stream_controller.dart:658:7)
#12     _StreamController.add (dart:async/stream_controller.dart:606:5)
#13     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
<asynchronous suspension>
#0      _ObjectBoxBackendImpl._sendCmdOneShot (package:flutter_map_tile_caching/src/backend/impls/objectbox/backend/internal.dart:58:63)
<asynchronous suspension>
#1      _ObjectBoxBackendImpl.exportStores (package:flutter_map_tile_caching/src/backend/impls/objectbox/backend/internal.dart:570:5)
<asynchronous suspension>
#2      _ExportImportPopupState.build.<anonymous closure>.<anonymous closure> (package:fmtc_example/screens/export_import/export_import.dart:180:25)
<asynchronous suspension>
#+      [FMTC Debug Info]      _CmdType.exportStores: {storeNames: [Map], outputPath: /private/var/mobile/Containers/Shared/AppGroup/A57A3F70-2392-478A-83EC-32D7D9D0C16F/File Provider Storage/archive.fmtc}
JaffaKetchup commented 1 week ago

The issue looks like a potential ObjectBox issue, very similar to https://github.com/objectbox/objectbox-dart/issues/379. I wonder whether the fix/Store.attach (which FMTC does indeed use) has broken down. This needs further investigation. Is there no possible more stack trace? Can you create an MRE please, it would be very helpful, and that might allow me to get in touch with the ObjectBox team :)

The second issue has been reported before, but I think it occurs because iOS has a really strict filesystem, and it doesn't want the app to write to the specified location. This isn't directly an FMTC issue, and there's not a lot I can do about that - if you need the functionality, try a different location and make sure you have ALL possible filesystem permissions. But thanks for trying!

TraceDeTrail commented 1 week ago

The last breakpoint I can catch, before the app crashes, is in the deleteTiles function (worker.dart) on the line await for (final tile in tilesQuery.stream()) {

Here is a MRE (Flutter 3.22.2) :

import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:flutter_map_tile_caching/flutter_map_tile_caching.dart';
import 'package:latlong2/latlong.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await FMTCObjectBoxBackend().initialise();
  await const FMTCStore('mapStore').manage.create();
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Test'),
          actions: [
            IconButton(
              icon: const Icon(Icons.delete),
              onPressed: () {
                const FMTCStore('mapStore').manage.reset();
                //******************CRASH*****************
              },
            )
          ],
        ),
        body: Center(
          child: FlutterMap(
            options:
                const MapOptions(initialCenter: LatLng(46.132947, 6.524380)),
            children: [
              TileLayer(
                  urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
                  userAgentPackageName: 'dev.fleaflet.flutter_map.example',
                  tileProvider: const FMTCStore('mapStore').getTileProvider(
                      settings: FMTCTileProviderSettings(
                          cachedValidDuration: Duration.zero,
                          behavior: CacheBehavior.cacheFirst))),
            ],
          ),
        ),
      ),
    );
  }
}
name: fluttermapcache
description: "A new Flutter project."
publish_to: 'none'
version: 0.1.0

environment:
  sdk: '>=3.4.3 <4.0.0'

dependencies:
  flutter:
    sdk: flutter
  flutter_map: ^7.0.1
  flutter_map_tile_caching: ^9.1.0
  latlong2: ^0.9.1

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^3.0.0

flutter:
  uses-material-design: true
JaffaKetchup commented 1 week ago

Hi @TraceDeTrail, Thanks for that info, it's quite helpful. To file an ObjectBox report I need a couple more things. Can you try getting the following info:

TraceDeTrail commented 1 week ago

Can this log help you ?

Incident Identifier: B5871FC0-FB03-4D83-AECC-7EEC52779B67
CrashReporter Key:   8601365fcfb459f3cf864d626a4b6b48a419cbfe
Hardware Model:      iPhone16,1
Process:             Runner [2196]
Path:                /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Runner
Identifier:          dev.jaffaketchup.fmtc.example
Version:             9.1.0 (9.1.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           dev.jaffaketchup.fmtc.example [1132]

Date/Time:           2024-06-28 10:06:50.3313 +0200
Launch Time:         2024-06-28 10:06:50.2812 +0200
OS Version:          iPhone OS 17.5.1 (21F90)
Release Type:        User
Baseband Version:    1.60.02
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: 4335501312
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   1026a8000-1026b4000 [   48K] r-x/r-x SM=COW  /var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Runner
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [2196]

Triggered by Thread:  0

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib                     0x19095f69c swift_getObjectType + 40
1   path_provider_foundation               0x10328e748 static PathProviderPlugin.register(with:) + 88
2   path_provider_foundation               0x10328e854 @objc static PathProviderPlugin.register(with:) + 56
3   Runner                                 0x1026ac13c +[GeneratedPluginRegistrant registerWithRegistry:] + 316
4   Runner                                 0x1026ac1bc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 96
5   Runner                                 0x1026ac4ac @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 196
6   UIKitCore                              0x19437c7e4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320
7   UIKitCore                              0x194379d20 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2856
8   UIKitCore                              0x1942487c0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856
9   UIKitCore                              0x1941fba0c -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132
10  UIKitCore                              0x1940ee7c4 _UIScenePerformActionsWithLifecycleActionMask + 112
11  UIKitCore                              0x1942c12ac __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216
12  UIKitCore                              0x1942c102c -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 332
13  UIKitCore                              0x19405041c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608
14  UIKitCore                              0x19401d650 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248
15  UIKitCore                              0x19401cf78 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148
16  UIKitCore                              0x19401c924 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736
17  UIKitCore                              0x19401bf64 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224
18  UIKitCore                              0x1940efd3c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316
19  UIKitCore                              0x1940ee574 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.226 + 612
20  UIKitCore                              0x1940edecc -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216
21  UIKitCore                              0x1941b8e7c -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244
22  UIKitCore                              0x1941b59e0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 508
23  UIKitCore                              0x1941b5600 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288
24  FrontBoardServices                     0x1aa935974 -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 324
25  FrontBoardServices                     0x1aa935808 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.108 + 280
26  FrontBoardServices                     0x1aa9316cc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168
27  FrontBoardServices                     0x1aa935cc4 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 352
28  libdispatch.dylib                      0x199b5ddd4 _dispatch_client_callout + 20
29  libdispatch.dylib                      0x199b6186c _dispatch_block_invoke_direct + 288
30  FrontBoardServices                     0x1aa932d58 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52
31  FrontBoardServices                     0x1aa932cd8 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240
32  FrontBoardServices                     0x1aa932bb0 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28
33  CoreFoundation                         0x191c8b834 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
34  CoreFoundation                         0x191c8b7c8 __CFRunLoopDoSource0 + 176
35  CoreFoundation                         0x191c892f8 __CFRunLoopDoSources0 + 340
36  CoreFoundation                         0x191c88484 __CFRunLoopRun + 828
37  CoreFoundation                         0x191c87cd8 CFRunLoopRunSpecific + 608
38  GraphicsServices                       0x1d6b381a8 GSEventRunModal + 164
39  UIKitCore                              0x1942c090c -[UIApplication _run] + 888
40  UIKitCore                              0x1943749d0 UIApplicationMain + 340
41  Runner                                 0x1026ac624 main + 64
42  dyld                                   0x1b5339e4c start + 2240

Thread 1:
0   libsystem_pthread.dylib                0x1eeb0c0c4 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib                0x1eeb0c0c4 start_wqthread + 0

Thread 3 name:   Dispatch queue: com.apple.UIKit.KeyboardManagement
Thread 3:
0   libsystem_kernel.dylib                 0x1dad6ed0c __ulock_wait + 8
1   libdispatch.dylib                      0x199b5e7c4 _dlock_wait + 56
2   libdispatch.dylib                      0x199b5e578 _dispatch_thread_event_wait_slow + 56
3   libdispatch.dylib                      0x199b6d5b0 __DISPATCH_WAIT_FOR_QUEUE__ + 368
4   libdispatch.dylib                      0x199b6d15c _dispatch_sync_f_slow + 148
5   UIKitCore                              0x1942f34f4 __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 144
6   CoreFoundation                         0x191c55814 __invoking___ + 148
7   CoreFoundation                         0x191c54860 -[NSInvocation invoke] + 428
8   Foundation                             0x190b9d0b4 __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 16
9   Foundation                             0x190b9b79c -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 520
10  Foundation                             0x190b9f664 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188
11  libxpc.dylib                           0x1eeb6ef30 _xpc_connection_reply_callout + 116
12  libxpc.dylib                           0x1eeb616e0 _xpc_connection_call_reply_async + 80
13  libdispatch.dylib                      0x199b5de54 _dispatch_client_callout3 + 20
14  libdispatch.dylib                      0x199b7b740 _dispatch_mach_msg_async_reply_invoke + 344
15  libdispatch.dylib                      0x199b65284 _dispatch_lane_serial_drain + 368
16  libdispatch.dylib                      0x199b65f64 _dispatch_lane_invoke + 432
17  libdispatch.dylib                      0x199b70cb4 _dispatch_root_queue_drain_deferred_wlh + 288
18  libdispatch.dylib                      0x199b70528 _dispatch_workloop_worker_thread + 404
19  libsystem_pthread.dylib                0x1eeb0f934 _pthread_wqthread + 288
20  libsystem_pthread.dylib                0x1eeb0c0cc start_wqthread + 8

Thread 4:
0   libsystem_pthread.dylib                0x1eeb0c0c4 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib                0x1eeb0c0c4 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib                0x1eeb0c0c4 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib                0x1eeb0c0c4 start_wqthread + 0

Thread 8 name:  com.apple.uikit.eventfetch-thread
Thread 8:
0   libsystem_kernel.dylib                 0x1dad68808 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1dad6c008 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1dad6bf20 mach_msg_overwrite + 436
3   libsystem_kernel.dylib                 0x1dad6bd60 mach_msg + 24
4   CoreFoundation                         0x191c88f5c __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x191c88600 __CFRunLoopRun + 1208
6   CoreFoundation                         0x191c87cd8 CFRunLoopRunSpecific + 608
7   Foundation                             0x190ba8e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8   Foundation                             0x190ba8c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9   UIKitCore                              0x1942d4640 -[UIEventFetcher threadMain] + 420
10  Foundation                             0x190bbf718 __NSThread__start__ + 732
11  libsystem_pthread.dylib                0x1eeb1106c _pthread_start + 136
12  libsystem_pthread.dylib                0x1eeb0c0d8 thread_start + 8

Thread 9:
0   libsystem_pthread.dylib                0x1eeb0c0c4 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0200000103294ce1   x2: 0x0000000103294ce0   x3: 0x0000000000000000
    x4: 0x0000000000000004   x5: 0x000000001bc00000   x6: 0x00000003010057d0   x7: 0x0000000000000000
    x8: 0x0000000301c04450   x9: 0x000000018b7d458b  x10: 0x00000001726746d3  x11: 0x007f00010b808200
   x12: 0x0000000000000000  x13: 0x000000010b8081f0  x14: 0x00000000000007fb  x15: 0x00000001f29a8158
   x16: 0x000000019095f674  x17: 0x0000000000000002  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000000103294ce0  x21: 0x0000000000000001  x22: 0x0000000000000001  x23: 0x0000000000000000
   x24: 0x0000000000000000  x25: 0x00000001f5488000  x26: 0x00000001f191f000  x27: 0x000000002b870064
   x28: 0x0000000000000018   fp: 0x000000016d755130   lr: 0xf67f00010328e748
    sp: 0x000000016d755120   pc: 0x000000019095f69c cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
       0x102a6c000 -        0x102a77fff libobjc-trampolines.dylib arm64e  <2e2c05f8377a30899ad91926d284dd03> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
       0x102bec000 -        0x102c87fff DKImagePickerController arm64  <1ecdb497b4e233a48c2eee45298b183e> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/DKImagePickerController.framework/DKImagePickerController
       0x102d70000 -        0x102df7fff DKPhotoGallery arm64  <aff8d1bef9ee37bf815fd3c2199bd0e2> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/DKPhotoGallery.framework/DKPhotoGallery
       0x102eb0000 -        0x103043fff ObjectBox arm64  <48b9c5451972324e9689c7f4b228162b> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/ObjectBox.framework/ObjectBox
       0x1030fc000 -        0x103177fff SDWebImage arm64  <a244716ab89d39269e442c4e40776eb4> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/SDWebImage.framework/SDWebImage
       0x1031fc000 -        0x10321bfff SwiftyGif arm64  <dc18ddb7647936bca3dd5bc739c3cf43> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/SwiftyGif.framework/SwiftyGif
       0x102738000 -        0x10273ffff better_open_file arm64  <d8f4113f33be33acae0756c9f1bbcafb> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/better_open_file.framework/better_open_file
       0x103244000 -        0x103257fff file_picker arm64  <dcad420f87933f76a2cc26957d23fe05> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/file_picker.framework/file_picker
       0x10326c000 -        0x103273fff objectbox_flutter_libs arm64  <16ee9baeb23a3435ac81a81be29d1291> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/objectbox_flutter_libs.framework/objectbox_flutter_libs
       0x103284000 -        0x103293fff path_provider_foundation arm64  <0c198893bd3a34c09d23bdedb373ac3f> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/path_provider_foundation.framework/path_provider_foundation
       0x1032a8000 -        0x10550ffff Flutter arm64  <4c4c445255553144a12f3367756c9f57> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Frameworks/Flutter.framework/Flutter
       0x1026a8000 -        0x1026b3fff Runner arm64  <d4ca1098d3043b2bb0554f604ba4185b> /private/var/containers/Bundle/Application/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927/Runner.app/Runner
       0x19055c000 -        0x190aabfff libswiftCore.dylib arm64e  <d9ad5cc1ca2c3f0a8091652b0df56d14> /usr/lib/swift/libswiftCore.dylib
       0x193eb6000 -        0x1959d6fff UIKitCore arm64e  <1741fa374e53371e8daed611aab0043d> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x1aa91b000 -        0x1aa9dffff FrontBoardServices arm64e  <d57cca9ae582306b8c86687f65cd6e51> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
       0x199b5a000 -        0x199ba0fff libdispatch.dylib arm64e  <81d355df266a3010bab8113b76a206c1> /usr/lib/system/libdispatch.dylib
       0x191c35000 -        0x192162fff CoreFoundation arm64e  <00e76a98210c3cb5930bf236807ff24c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
       0x1d6b37000 -        0x1d6b3ffff GraphicsServices arm64e  <c19b2aeb6aa83f998a53f76c7a0d98fe> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x1b52fd000 -        0x1b5389ef7 dyld arm64e  <71846eacee653697bf7d790b6a07dcdb> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? unknown-arch  <00000000000000000000000000000000> ???
       0x1eeb0b000 -        0x1eeb17ff3 libsystem_pthread.dylib arm64e  <1196b6c3333d3450818ff3663484b8eb> /usr/lib/system/libsystem_pthread.dylib
       0x1dad67000 -        0x1dada0fef libsystem_kernel.dylib arm64e  <13b5134e819c3baab3004856112114cb> /usr/lib/system/libsystem_kernel.dylib
       0x190ae1000 -        0x191656fff Foundation arm64e  <3d3a12e3f5e9361fb00a4a5e8861aa55> /System/Library/Frameworks/Foundation.framework/Foundation
       0x1eeb4f000 -        0x1eeb97fff libxpc.dylib arm64e  <3614a74feda238438092cedb505020f0> /usr/lib/system/libxpc.dylib

EOF

-----------
Full Report
-----------

{"app_name":"Runner","timestamp":"2024-06-28 10:06:50.00 +0200","app_version":"9.1.0","slice_uuid":"d4ca1098-d304-3b2b-b055-4f604ba4185b","build_version":"9.1.0","platform":2,"bundleID":"dev.jaffaketchup.fmtc.example","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 17.5.1 (21F90)","roots_installed":0,"name":"Runner","incident_id":"B5871FC0-FB03-4D83-AECC-7EEC52779B67"}
{
  "uptime" : 65000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "iPhone16,1",
  "coalitionID" : 1132,
  "osVersion" : {
    "isEmbedded" : true,
    "train" : "iPhone OS 17.5.1",
    "releaseType" : "User",
    "build" : "21F90"
  },
  "captureTime" : "2024-06-28 10:06:50.3313 +0200",
  "codeSigningMonitor" : 2,
  "incident" : "B5871FC0-FB03-4D83-AECC-7EEC52779B67",
  "pid" : 2196,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-06-28 10:06:50.2812 +0200",
  "procStartAbsTime" : 1568616812030,
  "procExitAbsTime" : 1568617887965,
  "procName" : "Runner",
  "procPath" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Runner",
  "bundleInfo" : {"CFBundleShortVersionString":"9.1.0","CFBundleVersion":"9.1.0","CFBundleIdentifier":"dev.jaffaketchup.fmtc.example"},
  "storeInfo" : {"deviceIdentifierForVendor":"1EA20D09-3A64-4DE6-A4FF-F69301A6DE7C","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "dev.jaffaketchup.fmtc.example",
  "crashReporterKey" : "8601365fcfb459f3cf864d626a4b6b48a419cbfe",
  "wasUnlockedSinceBoot" : 1,
  "isLocked" : 0,
  "codeSigningID" : "dev.jaffaketchup.fmtc.example",
  "codeSigningTeamID" : "ZGGPSFB2S9",
  "codeSigningFlags" : 570434309,
  "codeSigningValidationCategory" : 3,
  "codeSigningTrustLevel" : 4,
  "instructionByteStream" : {"beforePC":"fyMD1fRPvqn9ewGp\/UMAkfMDAKqgAPi24AMTqrz0QZXAAQC1KQAAFA==","atPC":"aAJA+RDNfZLxAxOqMVzt8jAawdrxAxCq8UfB2h8CEetAAABUQI441A=="},
  "basebandVersion" : "1.60.02",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4335501312\n      REGION TYPE                 START - END      [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                   1026a8000-1026b4000 [   48K] r-x\/r-x SM=COW  \/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.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":2196},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4335501312\n      REGION TYPE                 START - END      [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                   1026a8000-1026b4000 [   48K] r-x\/r-x SM=COW  \/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Runner",
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":659141,"threadState":{"x":[{"value":0},{"value":144115192423861473,"symbolLocation":144115188075855873,"symbol":"type metadata for PathProviderPlugin"},{"value":4348005600,"symbolLocation":0,"symbol":"type metadata for PathProviderPlugin"},{"value":0},{"value":4},{"value":465567744},{"value":12901701584},{"value":0},{"value":12914279504},{"value":6635210123,"objc-selector":"init"},{"value":6214338259},{"value":35747326530191872},{"value":0},{"value":4487938544},{"value":2043},{"value":8365179224,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSObject"},{"value":6720714356,"symbolLocation":0,"symbol":"swift_getObjectType"},{"value":2},{"value":0},{"value":0},{"value":4348005600,"symbolLocation":0,"symbol":"type metadata for PathProviderPlugin"},{"value":1},{"value":1},{"value":0},{"value":0},{"value":8410136576},{"value":8347840512,"symbolLocation":0,"symbol":"OBJC_IVAR_$__UIPreviewActionsController._delegate"},{"value":730267748},{"value":24}],"flavor":"ARM_THREAD_STATE64","lr":{"value":17761915459720505160},"cpsr":{"value":1610616832},"fp":{"value":6131372336},"sp":{"value":6131372320},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6720714396,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4208284,"symbol":"swift_getObjectType","symbolLocation":40,"imageIndex":12},{"imageOffset":42824,"symbol":"static PathProviderPlugin.register(with:)","symbolLocation":88,"imageIndex":9},{"imageOffset":43092,"symbol":"@objc static PathProviderPlugin.register(with:)","symbolLocation":56,"imageIndex":9},{"imageOffset":16700,"symbol":"+[GeneratedPluginRegistrant registerWithRegistry:]","symbolLocation":316,"imageIndex":11},{"imageOffset":16828,"symbol":"AppDelegate.application(_:didFinishLaunchingWithOptions:)","symbolLocation":96,"imageIndex":11},{"imageOffset":17580,"symbol":"@objc AppDelegate.application(_:didFinishLaunchingWithOptions:)","symbolLocation":196,"imageIndex":11},{"imageOffset":5007332,"symbol":"-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:]","symbolLocation":320,"imageIndex":13},{"imageOffset":4996384,"symbol":"-[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]","symbolLocation":2856,"imageIndex":13},{"imageOffset":3745728,"symbol":"-[UIApplication _runWithMainScene:transitionContext:completion:]","symbolLocation":856,"imageIndex":13},{"imageOffset":3430924,"symbol":"-[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]","symbolLocation":132,"imageIndex":13},{"imageOffset":2328516,"symbol":"_UIScenePerformActionsWithLifecycleActionMask","symbolLocation":112,"imageIndex":13},{"imageOffset":4240044,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke","symbolLocation":216,"imageIndex":13},{"imageOffset":4239404,"symbol":"-[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]","symbolLocation":332,"imageIndex":13},{"imageOffset":1680412,"symbol":"-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]","symbolLocation":608,"imageIndex":13},{"imageOffset":1472080,"symbol":"-[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]","symbolLocation":248,"imageIndex":13},{"imageOffset":1470328,"symbol":"__186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke","symbolLocation":148,"imageIndex":13},{"imageOffset":1468708,"symbol":"+[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:]","symbolLocation":736,"imageIndex":13},{"imageOffset":1466212,"symbol":"_UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion","symbolLocation":224,"imageIndex":13},{"imageOffset":2334012,"symbol":"-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]","symbolLocation":316,"imageIndex":13},{"imageOffset":2327924,"symbol":"__64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.226","symbolLocation":612,"imageIndex":13},{"imageOffset":2326220,"symbol":"-[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]","symbolLocation":216,"imageIndex":13},{"imageOffset":3157628,"symbol":"-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]","symbolLocation":244,"imageIndex":13},{"imageOffset":3144160,"symbol":"-[UIApplication workspace:didCreateScene:withTransitionContext:completion:]","symbolLocation":508,"imageIndex":13},{"imageOffset":3143168,"symbol":"-[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]","symbolLocation":288,"imageIndex":13},{"imageOffset":108916,"symbol":"-[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:]","symbolLocation":324,"imageIndex":14},{"imageOffset":108552,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.108","symbolLocation":280,"imageIndex":14},{"imageOffset":91852,"symbol":"-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]","symbolLocation":168,"imageIndex":14},{"imageOffset":109764,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke","symbolLocation":352,"imageIndex":14},{"imageOffset":15828,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":15},{"imageOffset":30828,"symbol":"_dispatch_block_invoke_direct","symbolLocation":288,"imageIndex":15},{"imageOffset":97624,"symbol":"__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":52,"imageIndex":14},{"imageOffset":97496,"symbol":"-[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible]","symbolLocation":240,"imageIndex":14},{"imageOffset":97200,"symbol":"-[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource]","symbolLocation":28,"imageIndex":14},{"imageOffset":354356,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":28,"imageIndex":16},{"imageOffset":354248,"symbol":"__CFRunLoopDoSource0","symbolLocation":176,"imageIndex":16},{"imageOffset":344824,"symbol":"__CFRunLoopDoSources0","symbolLocation":340,"imageIndex":16},{"imageOffset":341124,"symbol":"__CFRunLoopRun","symbolLocation":828,"imageIndex":16},{"imageOffset":339160,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":16},{"imageOffset":4520,"symbol":"GSEventRunModal","symbolLocation":164,"imageIndex":17},{"imageOffset":4237580,"symbol":"-[UIApplication _run]","symbolLocation":888,"imageIndex":13},{"imageOffset":4975056,"symbol":"UIApplicationMain","symbolLocation":340,"imageIndex":13},{"imageOffset":17956,"symbol":"main","symbolLocation":64,"imageIndex":11},{"imageOffset":249420,"symbol":"start","symbolLocation":2240,"imageIndex":18}]},{"id":659142,"frames":[{"imageOffset":4292,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":20}],"threadState":{"x":[{"value":6131937280},{"value":6407},{"value":6131400704},{"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":6131937280},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8299528388},"far":{"value":0}}},{"id":659143,"frames":[{"imageOffset":4292,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":20}],"threadState":{"x":[{"value":6132510720},{"value":5891},{"value":6131974144},{"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":6132510720},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8299528388},"far":{"value":0}}},{"id":659144,"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":4294967295},{"value":0},{"value":8365198016,"symbolLocation":0,"symbol":"_dispatch_main_q"},{"value":18},{"value":0},{"value":0},{"value":0},{"value":12896529152},{"value":5},{"value":16383},{"value":68719476736},{"value":9005068950962176},{"value":288230384516971817,"symbolLocation":288230376151711745,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":8365260072,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSMethodSignature"},{"value":515},{"value":13488280892339831056,"symbolLocation":13488280883974635568,"symbol":"_OS_dispatch_queue_main_vtable"},{"value":0},{"value":4294967295},{"value":0},{"value":6133079872},{"value":16777217},{"value":4410330560},{"value":6133084384},{"value":12896515072},{"value":12896515040},{"value":12896441088},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6873802692},"cpsr":{"value":1073745920},"fp":{"value":6133079680},"sp":{"value":6133079648},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7966485772},"far":{"value":0}},"queue":"com.apple.UIKit.KeyboardManagement","frames":[{"imageOffset":32012,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":21},{"imageOffset":18372,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":15},{"imageOffset":17784,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":56,"imageIndex":15},{"imageOffset":79280,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":368,"imageIndex":15},{"imageOffset":78172,"symbol":"_dispatch_sync_f_slow","symbolLocation":148,"imageIndex":15},{"imageOffset":4445428,"symbol":"__37-[_UIRemoteKeyboards startConnection]_block_invoke_3","symbolLocation":144,"imageIndex":13},{"imageOffset":133140,"symbol":"__invoking___","symbolLocation":148,"imageIndex":16},{"imageOffset":129120,"symbol":"-[NSInvocation invoke]","symbolLocation":428,"imageIndex":16},{"imageOffset":770228,"symbol":"__NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__","symbolLocation":16,"imageIndex":22},{"imageOffset":763804,"symbol":"-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]","symbolLocation":520,"imageIndex":22},{"imageOffset":779876,"symbol":"__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5","symbolLocation":188,"imageIndex":22},{"imageOffset":130864,"symbol":"_xpc_connection_reply_callout","symbolLocation":116,"imageIndex":23},{"imageOffset":75488,"symbol":"_xpc_connection_call_reply_async","symbolLocation":80,"imageIndex":23},{"imageOffset":15956,"symbol":"_dispatch_client_callout3","symbolLocation":20,"imageIndex":15},{"imageOffset":137024,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":344,"imageIndex":15},{"imageOffset":45700,"symbol":"_dispatch_lane_serial_drain","symbolLocation":368,"imageIndex":15},{"imageOffset":48996,"symbol":"_dispatch_lane_invoke","symbolLocation":432,"imageIndex":15},{"imageOffset":93364,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":288,"imageIndex":15},{"imageOffset":91432,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":404,"imageIndex":15},{"imageOffset":18740,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":20},{"imageOffset":4300,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":20}]},{"id":659146,"frames":[{"imageOffset":4292,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":20}],"threadState":{"x":[{"value":6133657600},{"value":17667},{"value":6133121024},{"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":6133657600},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8299528388},"far":{"value":0}}},{"id":659147,"frames":[{"imageOffset":4292,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":20}],"threadState":{"x":[{"value":6134231040},{"value":21251},{"value":6133694464},{"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":6134231040},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8299528388},"far":{"value":0}}},{"id":659150,"frames":[{"imageOffset":4292,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":20}],"threadState":{"x":[{"value":6135377920},{"value":15363},{"value":6134841344},{"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":6135377920},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8299528388},"far":{"value":0}}},{"id":659151,"frames":[{"imageOffset":4292,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":20}],"threadState":{"x":[{"value":6135951360},{"value":13827},{"value":6135414784},{"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":6135951360},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8299528388},"far":{"value":0}}},{"id":659152,"name":"com.apple.uikit.eventfetch-thread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":56087977918464},{"value":1841553480},{"value":56087977918464},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":13059},{"value":0},{"value":1},{"value":13059},{"value":2095104},{"value":2043},{"value":2231609353},{"value":18446744073709551569},{"value":2233704460},{"value":0},{"value":4294967295},{"value":2},{"value":56087977918464},{"value":1841553480},{"value":56087977918464},{"value":6136520056},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7966474248},"cpsr":{"value":4096},"fp":{"value":6136519904},"sp":{"value":6136519824},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7966459912},"far":{"value":0}},"frames":[{"imageOffset":6152,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":21},{"imageOffset":20488,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":21},{"imageOffset":20256,"symbol":"mach_msg_overwrite","symbolLocation":436,"imageIndex":21},{"imageOffset":19808,"symbol":"mach_msg","symbolLocation":24,"imageIndex":21},{"imageOffset":343900,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":16},{"imageOffset":341504,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":16},{"imageOffset":339160,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":16},{"imageOffset":818764,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":22},{"imageOffset":818332,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":64,"imageIndex":22},{"imageOffset":4318784,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":420,"imageIndex":13},{"imageOffset":911128,"symbol":"__NSThread__start__","symbolLocation":732,"imageIndex":22},{"imageOffset":24684,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":20},{"imageOffset":4312,"symbol":"thread_start","symbolLocation":8,"imageIndex":20}]},{"id":659153,"frames":[{"imageOffset":4292,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":20}],"threadState":{"x":[{"value":6134804480},{"value":0},{"value":6134267904},{"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":6134804480},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":8299528388},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4339449856,
    "size" : 49152,
    "uuid" : "2e2c05f8-377a-3089-9ad9-1926d284dd03",
    "path" : "\/private\/preboot\/Cryptexes\/OS\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4341022720,
    "size" : 638976,
    "uuid" : "1ecdb497-b4e2-33a4-8c2e-ee45298b183e",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/DKImagePickerController.framework\/DKImagePickerController",
    "name" : "DKImagePickerController"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4342611968,
    "size" : 557056,
    "uuid" : "aff8d1be-f9ee-37bf-815f-d3c2199bd0e2",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/DKPhotoGallery.framework\/DKPhotoGallery",
    "name" : "DKPhotoGallery"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4343922688,
    "size" : 1654784,
    "uuid" : "48b9c545-1972-324e-9689-c7f4b228162b",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/ObjectBox.framework\/ObjectBox",
    "name" : "ObjectBox"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4346331136,
    "size" : 507904,
    "uuid" : "a244716a-b89d-3926-9e44-2c4e40776eb4",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/SDWebImage.framework\/SDWebImage",
    "name" : "SDWebImage"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4347379712,
    "size" : 131072,
    "uuid" : "dc18ddb7-6479-36bc-a3dd-5bc739c3cf43",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/SwiftyGif.framework\/SwiftyGif",
    "name" : "SwiftyGif"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4336091136,
    "size" : 32768,
    "uuid" : "d8f4113f-33be-33ac-ae07-56c9f1bbcafb",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/better_open_file.framework\/better_open_file",
    "name" : "better_open_file"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4347674624,
    "size" : 81920,
    "uuid" : "dcad420f-8793-3f76-a2cc-26957d23fe05",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/file_picker.framework\/file_picker",
    "name" : "file_picker"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4347838464,
    "size" : 32768,
    "uuid" : "16ee9bae-b23a-3435-ac81-a81be29d1291",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/objectbox_flutter_libs.framework\/objectbox_flutter_libs",
    "name" : "objectbox_flutter_libs"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4347936768,
    "size" : 65536,
    "uuid" : "0c198893-bd3a-34c0-9d23-bdedb373ac3f",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/path_provider_foundation.framework\/path_provider_foundation",
    "name" : "path_provider_foundation"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4348084224,
    "size" : 36077568,
    "uuid" : "4c4c4452-5555-3144-a12f-3367756c9f57",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Frameworks\/Flutter.framework\/Flutter",
    "name" : "Flutter"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4335501312,
    "size" : 49152,
    "uuid" : "d4ca1098-d304-3b2b-b055-4f604ba4185b",
    "path" : "\/private\/var\/containers\/Bundle\/Application\/88F6B28C-B70B-4B4D-BDCC-71A7D87DB927\/Runner.app\/Runner",
    "name" : "Runner"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6716506112,
    "size" : 5570560,
    "uuid" : "d9ad5cc1-ca2c-3f0a-8091-652b0df56d14",
    "path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
    "name" : "libswiftCore.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6776643584,
    "size" : 28446720,
    "uuid" : "1741fa37-4e53-371e-8dae-d611aab0043d",
    "path" : "\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7156641792,
    "size" : 806912,
    "uuid" : "d57cca9a-e582-306b-8c86-687f65cd6e51",
    "path" : "\/System\/Library\/PrivateFrameworks\/FrontBoardServices.framework\/FrontBoardServices",
    "name" : "FrontBoardServices"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6873784320,
    "size" : 290816,
    "uuid" : "81d355df-266a-3010-bab8-113b76a206c1",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6740463616,
    "size" : 5431296,
    "uuid" : "00e76a98-210c-3cb5-930b-f236807ff24c",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7897051136,
    "size" : 36864,
    "uuid" : "c19b2aeb-6aa8-3f99-8a53-f76c7a0d98fe",
    "path" : "\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7334776832,
    "size" : 577272,
    "uuid" : "71846eac-ee65-3697-bf7d-790b6a07dcdb",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8299524096,
    "size" : 53236,
    "uuid" : "1196b6c3-333d-3450-818f-f3663484b8eb",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7966453760,
    "size" : 237552,
    "uuid" : "13b5134e-819c-3baa-b300-4856112114cb",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6722293760,
    "size" : 12017664,
    "uuid" : "3d3a12e3-f5e9-361f-b00a-4a5e8861aa55",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8299802624,
    "size" : 299008,
    "uuid" : "3614a74f-eda2-3843-8092-cedb505020f0",
    "path" : "\/usr\/lib\/system\/libxpc.dylib",
    "name" : "libxpc.dylib"
  }
],
  "sharedCache" : {
  "base" : 6604193792,
  "size" : 3708649472,
  "uuid" : "a33c56b8-05b4-3cf5-81d3-8c47670d9996"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=585.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=585.7M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                           96K        3 \nCoreAnimation                       32K        2 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           579.4M       36 \nMALLOC guard page                  128K        8 \nSTACK GUARD                        160K       10 \nStack                             5904K       10 \nVM_ALLOCATE                        144K        1 \n__AUTH                            1979K      218 \n__AUTH_CONST                      27.1M      552 \n__CTF                               824        1 \n__DATA                            10.3M      558 \n__DATA_CONST                      29.3M      558 \n__DATA_DIRTY                      6214K      519 \n__FONT_DATA                          4K        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       400.2M       13 \n__OBJC_RO                         86.8M        1 \n__OBJC_RW                         2755K        1 \n__TEXT                           694.5M      581 \ndyld private memory                272K        1 \nmapped file                       36.7M        5 \nshared memory                       80K        4 \n===========                     =======  ======= \nTOTAL                              1.8G     3087 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "77e7fff5cc1e2f6960aebd4bccf954cd9a3102ba",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6010753cf9bfc4000c247bdd",
      "factorPackIds" : {
        "BIFROST_DEV_2" : "6601c4123e8d1f3091ac61c7"
      },
      "deploymentId" : 240000399
    },
    {
      "rolloutId" : "648c94d4ebdf9e3e398fa708",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_NL_OVERRIDES" : "65a8104b6712a43e7922cab8"
      },
      "deploymentId" : 240000171
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "02e55ba7-6ded-4248-b1f5-24b4f5db3784",
      "experimentId" : "65e06de068da4f6d14fe7770",
      "deploymentId" : 400000002
    },
    {
      "treatmentId" : "55787560-64a5-483e-9e89-1bf0c618865f",
      "experimentId" : "66313da2f6a3c966171ee9cb",
      "deploymentId" : 400000007
    }
  ]
}
}
JaffaKetchup commented 1 week ago

Thanks, that looks useful. Interestingly, there is no reference to 'ObjectBox' there, only 'path_provider_foundation'. Is this the same crash the initially reported one where it seemed to crash on this line: await for (final tile in tilesQuery.stream()) {?

TraceDeTrail commented 1 week ago

Yes, that's it

JaffaKetchup commented 1 week ago

Issue filed to 'path_provider': https://github.com/flutter/flutter/issues/151072.