tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
97 stars 81 forks source link

Crash on iOS on release mode only (OK in debug) #46

Closed fvisticot closed 1 year ago

fvisticot commented 1 year ago

Flutter SDK: 3.3.8 Plugin version: ^5.0.0+1

Logs: Version: 1.0.2 (4) AppStoreTools: 14B44 AppVariant: 1:iPhone14,5:16 Beta: YES Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.ticatag.hij.hij [4670]

Date/Time: 2022-11-13 19:34:20.1319 +0100 Launch Time: 2022-11-13 19:34:19.9964 +0100 OS Version: iPhone OS 16.0.2 (20A380) Release Type: User Baseband Version: 2.09.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: 4344201216 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START --->
__TEXT 102ef4000-102ef8000 [ 16K] r-x/r-x SM=COW ...er.app/Runner Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [19714]

Triggered by Thread: 0

Kernel Triage: VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage VM - pmap_enter retried due to resource shortage

Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libswiftCore.dylib 0x1bfaa2d74 swift_getObjectType + 40 1 flutter_compass 0x102fab8a4 static SwiftFlutterCompassPlugin.register(with:) + 104 2 flutter_compass 0x102fab8a4 static SwiftFlutterCompassPlugin.register(with:) + 104 3 flutter_compass 0x102faba1c @objc static SwiftFlutterCompassPlugin.register(with:) + 56 4 fluttercompass 0x102faaeb8 +[FlutterCompassPlugin registerWithRegistrar:] + 72 5 Runner 0x102efaa14 +[GeneratedPluginRegistrant registerWithRegistry:] + 112 6 Runner 0x102efaba4 AppDelegate.application(:didFinishLaunchingWithOptions:) + 96 7 Runner 0x102efae6c @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 188 8 UIKitCore 0x1c7cb8f40 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 300 9 UIKitCore 0x1c7cb8664 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2848 10 UIKitCore 0x1c7cb7640 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856 11 UIKitCore 0x1c7cb728c -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132 12 UIKitCore 0x1c79fcd64 _UIScenePerformActionsWithLifecycleActionMask + 108 13 UIKitCore 0x1c7d3ec3c 101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 14 UIKitCore 0x1c7bef888 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 220 15 UIKitCore 0x1c7bef6b0 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 620 16 UIKitCore 0x1c7bef260 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 252 17 UIKitCore 0x1c7bef12c __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148 18 UIKitCore 0x1c82cd5a0 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736 19 UIKitCore 0x1c836596c _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224 20 UIKitCore 0x1c7a9b2d8 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316 21 UIKitCore 0x1c7f0d048 64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.215 + 556 22 UIKitCore 0x1c7b6dbec -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216 23 UIKitCore 0x1c7b6da5c -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 24 UIKitCore 0x1c7b6cfb0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 520 25 UIKitCore 0x1c7b6cd3c -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288 26 FrontBoardServices 0x1db145d48 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 344 27 FrontBoardServices 0x1db185104 92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.78 + 120 28 FrontBoardServices 0x1db149ae4 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 29 FrontBoardServices 0x1db184d3c 92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 360 30 libdispatch.dylib 0x1ccc55fdc _dispatch_client_callout + 20 31 libdispatch.dylib 0x1ccc59a5c _dispatch_block_invoke_direct + 264 32 FrontBoardServices 0x1db153f2c FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 52 33 FrontBoardServices 0x1db153ac8 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 34 FrontBoardServices 0x1db1562a8 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 35 CoreFoundation 0x1c58a622c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 36 CoreFoundation 0x1c58b2614 CFRunLoopDoSource0 + 176 37 CoreFoundation 0x1c583657c CFRunLoopDoSources0 + 340 38 CoreFoundation 0x1c584beb8 __CFRunLoopRun + 836 39 CoreFoundation 0x1c58511e4 CFRunLoopRunSpecific + 612 40 GraphicsServices 0x1fe671368 GSEventRunModal + 164 41 UIKitCore 0x1c7d00d88 -[UIApplication _run] + 888 42 UIKitCore 0x1c7d009ec UIApplicationMain + 340 43 Runner 0x102efafe4 main + 64 44 dyld 0x1e3b75948 start + 2504

Thread 1 name: Dispatch queue: com.apple.UIKit.KeyboardManagement Thread 1: 0 libsystem_kernel.dylib 0x201ebc680 ulock_wait + 8 1 libdispatch.dylib 0x1ccc569cc _dlock_wait + 56 2 libdispatch.dylib 0x1ccc56780 _dispatch_thread_event_wait_slow + 56 3 libdispatch.dylib 0x1ccc65860 DISPATCH_WAIT_FOR_QUEUE + 368 4 libdispatch.dylib 0x1ccc6540c _dispatch_sync_f_slow + 144 5 UIKitCore 0x1c7d0105c 37-[_UIRemoteKeyboards startConnection]_block_invoke3 + 156 6 CoreFoundation 0x1c5844a14 invoking + 148 7 CoreFoundation 0x1c57f0f2c -[NSInvocation invoke] + 428 8 Foundation 0x1bfcc0d38 NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK + 16 9 Foundation 0x1bfc922fc -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 520 10 Foundation 0x1c026cf44 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188 11 libxpc.dylib 0x2121593e4 _xpc_connection_reply_callout + 124 12 libxpc.dylib 0x21214c47c _xpc_connection_call_reply_async + 88 13 libdispatch.dylib 0x1ccc5605c _dispatch_client_callout3 + 20 14 libdispatch.dylib 0x1ccc73f58 _dispatch_mach_msg_async_reply_invoke + 344 15 libdispatch.dylib 0x1ccc5d56c _dispatch_lane_serial_drain + 376 16 libdispatch.dylib 0x1ccc5e214 _dispatch_lane_invoke + 436 17 libdispatch.dylib 0x1ccc68e10 _dispatch_workloop_worker_thread + 652 18 libsystem_pthread.dylib 0x2120f8df8 _pthread_wqthread + 288 19 libsystem_pthread.dylib 0x2120f8b98 start_wqthread + 8

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

Thread 3: 0 libsystem_pthread.dylib 0x2120f8b90 start_wqthread + 0

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

Thread 5 name: com.apple.uikit.eventfetch-thread Thread 5: 0 libsystem_kernel.dylib 0x201ebbb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x201ece008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x201ece248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x201ebc08c mach_msg + 24 4 CoreFoundation 0x1c584ae00 CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x1c584c044 CFRunLoopRun + 1232 6 CoreFoundation 0x1c58511e4 CFRunLoopRunSpecific + 612 7 Foundation 0x1bfc61818 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x1bfc61700 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x1c7e3588c -[UIEventFetcher threadMain] + 436 10 Foundation 0x1bfc7ace8 NSThreadstart__ + 716 11 libsystem_pthread.dylib 0x2120f96cc _pthread_start + 148 12 libsystem_pthread.dylib 0x2120f8ba4 thread_start + 8

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

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

Thread 8: 0 libsystem_pthread.dylib 0x2120f8b90 start_wqthread + 0

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

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x8000000102fb2cb0 x2: 0xd00000000000001a x3: 0x00000001d39c4210 x4: 0x0000000000000000 x5: 0x0000000000000001 x6: 0x0000000000000018 x7: 0x00000001c0e4ba18 x8: 0xd00000000000001a x9: 0x8000000102fb2cb0 x10: 0x000000001c4b368e x11: 0x0000000000000010 x12: 0x0000000000000001 x13: 0x0000000000000000 x14: 0x00000001bead8000 x15: 0x000000026a0c0000 x16: 0x00000001bfaa2d4c x17: 0x00000001bfa68914 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000021b9d23f8 x21: 0x0000000000000001 x22: 0x0000000000000001 x23: 0x0000000000000000 x24: 0x0000000000000000 x25: 0x0000000218f8e000 x26: 0x0000000218fa4000 x27: 0x000000002b870064 x28: 0x0000000000000010 fp: 0x000000016cf09130 lr: 0x1c5cc78102fab8a4 sp: 0x000000016cf09120 pc: 0x00000001bfaa2d74 cpsr: 0x00001000 far: 0x0000000000000000 esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images: 0x1bf685000 - 0x1bfbedfff libswiftCore.dylib arm64e /usr/lib/swift/libswiftCore.dylib 0x102fa4000 - 0x102fb3fff flutter_compass arm64 <60851dbee5c2329dabc4ec5cb5839a35> /private/var/containers/Bundle/Application/28D98918-8B7D-4CC1-8EE4-70B5B23CF2F2/Runner.app/Frameworks/flutter_compass.framework/flutter_compass 0x102ef4000 - 0x102efbfff Runner arm64 <74fdffcfab87397e9f487a35ffb849c3> /private/var/containers/Bundle/Application/28D98918-8B7D-4CC1-8EE4-70B5B23CF2F2/Runner.app/Runner 0x1c795e000 - 0x1c9124fff UIKitCore arm64e <7b942fa4cb7633759972f58c14492fb4> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x1db143000 - 0x1db1e8fff FrontBoardServices arm64e <8e15b35ea6143142b34d2c3cbbc13a8b> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1ccc52000 - 0x1ccc98fff libdispatch.dylib arm64e /usr/lib/system/libdispatch.dylib 0x1c57d0000 - 0x1c5bb4fff CoreFoundation arm64e <42c5c91704473995b50fde4d132c2435> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1fe670000 - 0x1fe678fff GraphicsServices arm64e <03732ba5113235b4b09d8dd49807d246> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1e3b60000 - 0x1e3be2e4f dyld arm64e <341bbf646034357e8aa6e1e4b988e03c> /usr/lib/dyld 0x201ebb000 - 0x201ef1ffb libsystem_kernel.dylib arm64e /usr/lib/system/libsystem_kernel.dylib 0x1bfc20000 - 0x1c056afff Foundation arm64e /System/Library/Frameworks/Foundation.framework/Foundation 0x21213c000 - 0x21217bfff libxpc.dylib arm64e <30ec91deda9035e184036402e6559bae> /usr/lib/system/libxpc.dylib 0x2120f8000 - 0x212103fff libsystem_pthread.dylib arm64e /usr/lib/system/libsystem_pthread.dylib

EOF