urbanairship / airship-flutter

Flutter integration
Other
17 stars 17 forks source link

Airship crashing on launch when notification is opened (iOS only) #222

Open PhilippeNormand-norsys opened 3 days ago

PhilippeNormand-norsys commented 3 days ago

Preliminary Info

What Airship dependencies are you using?

airship_flutter : 7.9.0 pod : 18.11.1

What are the versions of any relevant development tools you are using?

Flutter : 3.24.3 iOS minimum requirement : 15.5

Report

What unexpected behavior are you seeing?

The application crashes during start up most of the time when a push notification is clicked on. It doesn't reach the Flutter code and crashes during the iOS native initialisation. It works on android devices.

What is the expected behavior?

The application should start and lead to the homepage or the screen sent within the notification parameters

What are the steps to reproduce the unexpected behavior?

Send a notification to an iOS device, click on the received notification.

Do you have logging for the issue?

FirebaseCrashlytics logged this error stacktrace multiple times:

Plantage : com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000000202f4b8

Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x3554 objc_release_x0 + 16 1 libobjc.A.dylib 0x3554 objc_release + 16 2 Runner 0x1a5aa8c -[FLTFirebaseMessagingPlugin userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:] + 359 (FLTFirebaseMessagingPlugin.m:359) 3 AirshipKit 0x509c UserNotificationCenterDidReceiveNotificationResponseWithCompletionHandler + 280 4 Runner 0x1a5ab40 -[FLTFirebaseMessagingPlugin userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:] + 369 (FLTFirebaseMessagingPlugin.m:369) 5 AirshipKit 0x509c UserNotificationCenterDidReceiveNotificationResponseWithCompletionHandler + 280 6 FirebaseMessaging 0x12320 FCMSwizzleDidReceiveNotificationResponseWithHandler + 508 7 UIKitCore 0x40166c -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] + 2916 8 UIKitCore 0x20ea68 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 416 9 UIKitCore 0x20e810 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 10 UIKitCore 0x20e650 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 11 FrontBoardServices 0x366c -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 420 12 FrontBoardServices 0x34a8 94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 144 13 FrontBoardServices 0x6c24 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 14 FrontBoardServices 0x6b40 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 340 15 libdispatch.dylib 0x3f88 _dispatch_client_callout + 20 16 libdispatch.dylib 0x7a08 _dispatch_block_invoke_direct + 264 17 FrontBoardServices 0x10d40 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 18 FrontBoardServices 0x108dc -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 19 FrontBoardServices 0x13184 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 20 CoreFoundation 0xd5f24 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 21 CoreFoundation 0xe22fc CFRunLoopDoSource0 + 176 22 CoreFoundation 0x661c0 CFRunLoopDoSources0 + 244 23 CoreFoundation 0x7bb7c __CFRunLoopRun + 836 24 CoreFoundation 0x80eb0 CFRunLoopRunSpecific + 612 25 GraphicsServices 0x1368 GSEventRunModal + 164 26 UIKitCore 0x3a1668 -[UIApplication run] + 888 27 UIKitCore 0x3a12cc UIApplicationMain + 340 28 libswiftUIKit.dylib 0x35308 UIApplicationMain(:::_:) + 104 29 Runner 0x8990 main + 4375202192 (AppDelegate.swift:4375202192) 30 ??? 0x1cb524960 (Manquant)

I could get logs from the iPhone after it crashed:

Incident Identifier: 7C88FBBD-6FA9-47FE-BDCB-16846597BD50 CrashReporter Key: b18de583cb17a2ed86d45d0fa01c33060aca3aab Hardware Model: iPhone12,8 Process: Runner [2768] Path: /private/var/containers/Bundle/Application/F734A686-2331-4BDF-94F5-0529E817CABC/Runner.app/Runner Version: 4.1.5 (68) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1]

Date/Time: 2024-10-24 17:32:22.1297 +0200 Launch Time: 2024-10-24 17:32:07.7174 +0200 OS Version: iPhone OS 16.3.1 (20D67) Release Type: User Baseband Version: 4.00.00 Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000a6574746f48 -> 0x0000006574746f48 (possible pointer authentication failure) Exception Codes: 0x0000000000000001, 0x00000a6574746f48 VM Region Info: 0x6574746f48 is in 0x1000000000-0x7000000000; bytes after start: 367026007880 bytes before end: 45290852535 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL commpage (reserved) fc0000000-1000000000 [ 1.0G] ---/--- SM=NUL ...(unallocated) ---> GPU Carveout (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated) UNUSED SPACE AT END Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [2768]

Triggered by Thread: 0

Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x1a5d3f780 objc_loadWeakRetained + 144 1 Runner 0x1066d6844 0x104c7c000 + 27633732 2 Runner 0x1066d6844 0x104c7c000 + 27633732 3 AirshipKit 0x107878dbc UserNotificationCenterWillPresentNotificationWithCompletionHandler + 344 4 Runner 0x1066d6970 0x104c7c000 + 27634032 5 AirshipKit 0x107878dbc UserNotificationCenterWillPresentNotificationWithCompletionHandler + 344 6 FirebaseMessaging 0x10942a0a0 FCMSwizzleWillPresentNotificationWithHandler + 452 7 UIKitCore 0x1af180fbc -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] + 1203 8 UIKitCore 0x1aef8ea68 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 415 9 UIKitCore 0x1aef8e810 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 243 10 UIKitCore 0x1aef8e650 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 335 11 FrontBoardServices 0x1c292d66c -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 419 12 FrontBoardServices 0x1c292d4a8 94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 143 13 FrontBoardServices 0x1c2930c24 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 167 14 FrontBoardServices 0x1c2930b40 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 339 15 libdispatch.dylib 0x1b41ccf88 _dispatch_client_callout + 19 16 libdispatch.dylib 0x1b41d0a08 _dispatch_block_invoke_direct + 263 17 FrontBoardServices 0x1c293ad40 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 51 18 FrontBoardServices 0x1c293a8dc -[FBSSerialQueue _targetQueue_performNextIfPossible] + 219 19 FrontBoardServices 0x1c293d184 -[FBSSerialQueue _performNextFromRunLoopSource] + 27 20 CoreFoundation 0x1acc80f24 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 27 21 CoreFoundation 0x1acc8d2fc CFRunLoopDoSource0 + 175 22 CoreFoundation 0x1acc111c0 CFRunLoopDoSources0 + 243 23 CoreFoundation 0x1acc26b7c __CFRunLoopRun + 835 24 CoreFoundation 0x1acc2beb0 CFRunLoopRunSpecific + 611 25 GraphicsServices 0x1e6e21368 GSEventRunModal + 163 26 UIKitCore 0x1af121668 -[UIApplication run] + 887 27 UIKitCore 0x1af1212cc UIApplicationMain + 339 28 libswiftUIKit.dylib 0x1b574e308 UIApplicationMain(:::_:) + 103 29 Runner 0x104c84990 0x104c7c000 + 35216 30 dyld 0x1cb524960 start + 2527

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

Thread 2 name: com.apple.uikit.eventfetch-thread Thread 2: 0 libsystem_kernel.dylib 0x1ea6c8da8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ea6dba1c mach_msg2_internal + 79 2 libsystem_kernel.dylib 0x1ea6dbc5c mach_msg_overwrite + 387 3 libsystem_kernel.dylib 0x1ea6c92ec mach_msg + 23 4 CoreFoundation 0x1acc25ac4 CFRunLoopServiceMachPort + 159 5 CoreFoundation 0x1acc26d08 CFRunLoopRun + 1231 6 CoreFoundation 0x1acc2beb0 CFRunLoopRunSpecific + 611 7 Foundation 0x1a6f64054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211 8 Foundation 0x1a6f63f3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 63 9 UIKitCore 0x1af2566a4 -[UIEventFetcher threadMain] + 435 10 Foundation 0x1a6f7d518 NSThreadstart__ + 715 11 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 12 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

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

Thread 4 name: io.flutter.1.ui Thread 4: 0 libsystem_kernel.dylib 0x1ea6c8da8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ea6dba1c mach_msg2_internal + 79 2 libsystem_kernel.dylib 0x1ea6dbc5c mach_msg_overwrite + 387 3 libsystem_kernel.dylib 0x1ea6c92ec mach_msg + 23 4 CoreFoundation 0x1acc25ac4 CFRunLoopServiceMachPort + 159 5 CoreFoundation 0x1acc26d08 CFRunLoopRun + 1231 6 CoreFoundation 0x1acc2beb0 CFRunLoopRunSpecific + 611 7 Flutter 0x10a771f48 0x10a6f0000 + 532296 8 Flutter 0x10a771b90 0x10a6f0000 + 531344 9 Flutter 0x10a771820 0x10a6f0000 + 530464 10 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 11 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 5 name: io.flutter.1.raster Thread 5: 0 libsystem_kernel.dylib 0x1ea6c8da8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ea6dba1c mach_msg2_internal + 79 2 libsystem_kernel.dylib 0x1ea6dbc5c mach_msg_overwrite + 387 3 libsystem_kernel.dylib 0x1ea6c92ec mach_msg + 23 4 CoreFoundation 0x1acc25ac4 CFRunLoopServiceMachPort + 159 5 CoreFoundation 0x1acc26d08 CFRunLoopRun + 1231 6 CoreFoundation 0x1acc2beb0 CFRunLoopRunSpecific + 611 7 Flutter 0x10a771f48 0x10a6f0000 + 532296 8 Flutter 0x10a771b90 0x10a6f0000 + 531344 9 Flutter 0x10a771820 0x10a6f0000 + 530464 10 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 11 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 6 name: io.flutter.1.io Thread 6: 0 libsystem_kernel.dylib 0x1ea6c8da8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ea6dba1c mach_msg2_internal + 79 2 libsystem_kernel.dylib 0x1ea6dbc5c mach_msg_overwrite + 387 3 libsystem_kernel.dylib 0x1ea6c92ec mach_msg + 23 4 CoreFoundation 0x1acc25ac4 CFRunLoopServiceMachPort + 159 5 CoreFoundation 0x1acc26d08 CFRunLoopRun + 1231 6 CoreFoundation 0x1acc2beb0 CFRunLoopRunSpecific + 611 7 Flutter 0x10a771f48 0x10a6f0000 + 532296 8 Flutter 0x10a771b90 0x10a6f0000 + 531344 9 Flutter 0x10a771820 0x10a6f0000 + 530464 10 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 11 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 7 name: io.worker.1 Thread 7: 0 libsystem_kernel.dylib 0x1ea6c967c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1fae3406c _pthread_cond_wait + 1231 2 Flutter 0x10a750800 0x10a6f0000 + 395264 3 Flutter 0x10a76b0dc 0x10a6f0000 + 504028 4 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 5 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 8 name: io.worker.2 Thread 8: 0 libsystem_kernel.dylib 0x1ea6c967c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1fae3406c _pthread_cond_wait + 1231 2 Flutter 0x10a750800 0x10a6f0000 + 395264 3 Flutter 0x10a76b0dc 0x10a6f0000 + 504028 4 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 5 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 9 name: io.worker.3 Thread 9: 0 libsystem_kernel.dylib 0x1ea6c967c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1fae3406c _pthread_cond_wait + 1231 2 Flutter 0x10a750800 0x10a6f0000 + 395264 3 Flutter 0x10a76b0dc 0x10a6f0000 + 504028 4 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 5 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 10 name: dart:io EventHandler Thread 10: 0 libsystem_kernel.dylib 0x1ea6ca6e0 kevent + 8 1 Flutter 0x10ac5da6c 0x10a6f0000 + 5692012 2 Flutter 0x10ac8926c 0x10a6f0000 + 5870188 3 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 4 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 11 name: Dispatch queue: com.Metal.CommandQueueDispatch Thread 11: 0 libsystem_kernel.dylib 0x1ea6c8da8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ea6dba1c mach_msg2_internal + 79 2 IOKit 0x1b4b5723c io_connect_method + 519 3 IOKit 0x1b4b565a4 IOConnectCallMethod + 175 4 IOGPU 0x215489c5c IOGPUCommandQueueSubmitCommandBuffers + 183 5 IOGPU 0x215488d44 -[IOGPUMetalCommandQueue _submitCommandBuffers:count:] + 351 6 IOGPU 0x215488bbc -[IOGPUMetalCommandQueue submitCommandBuffers:count:] + 71 7 Metal 0x1a78b4e70 -[_MTLCommandQueue _submitAvailableCommandBuffers] + 511 8 libdispatch.dylib 0x1b41ccf88 _dispatch_client_callout + 19 9 libdispatch.dylib 0x1b41d0418 _dispatch_continuation_pop + 503 10 libdispatch.dylib 0x1b41e3a58 _dispatch_source_invoke + 1587 11 libdispatch.dylib 0x1b41d4518 _dispatch_lane_serial_drain + 375 12 libdispatch.dylib 0x1b41d518c _dispatch_lane_invoke + 383 13 libdispatch.dylib 0x1b41dfe10 _dispatch_workloop_worker_thread + 651 14 libsystem_pthread.dylib 0x1fae2cdf8 _pthread_wqthread + 287 15 libsystem_pthread.dylib 0x1fae2cb98 start_wqthread + 7

Thread 12: 0 libsystem_pthread.dylib 0x1fae2cb90 start_wqthread + 0

Thread 13 name: com.google.firebase.crashlytics.MachExceptionServer Thread 13: 0 libsystem_kernel.dylib 0x1ea6ca77c write + 8 1 FirebaseCrashlytics 0x109361bdc FIRCLSSDKFileLog + 316 2 FirebaseCrashlytics 0x109363810 FIRCLSMachExceptionServer + 972 3 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 4 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 14 name: DartWorker Thread 14: 0 libsystem_kernel.dylib 0x1ea6c967c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1fae34098 _pthread_cond_wait + 1275 2 Flutter 0x10ad86ff0 0x10a6f0000 + 6909936 3 Flutter 0x10ad2238c 0x10a6f0000 + 6497164 4 Flutter 0x10adc2a28 0x10a6f0000 + 7154216 5 Flutter 0x10ad869bc 0x10a6f0000 + 6908348 6 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 7 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 15 name: JavaScriptCore libpas scavenger Thread 15: 0 libsystem_kernel.dylib 0x1ea6c967c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1fae3406c _pthread_cond_wait + 1231 2 JavaScriptCore 0x1c0383104 scavenger_thread_main + 1363 3 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 4 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 16 name: com.apple.NSURLConnectionLoader Thread 16: 0 libsystem_kernel.dylib 0x1ea6c8da8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ea6dba1c mach_msg2_internal + 79 2 libsystem_kernel.dylib 0x1ea6dbc5c mach_msg_overwrite + 387 3 libsystem_kernel.dylib 0x1ea6c92ec mach_msg + 23 4 CoreFoundation 0x1acc25ac4 CFRunLoopServiceMachPort + 159 5 CoreFoundation 0x1acc26d08 CFRunLoopRun + 1231 6 CoreFoundation 0x1acc2beb0 CFRunLoopRunSpecific + 611 7 CFNetwork 0x1adf96ff0 0x1adf96e69 + 391 8 Foundation 0x1a6f7d518 NSThreadstart__ + 715 9 libsystem_pthread.dylib 0x1fae2d6cc _pthread_start + 147 10 libsystem_pthread.dylib 0x1fae2cba4 thread_start + 7

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x00000002818bbdd8 x1: 0x0200000202fce719 x2: 0x0000000202fce718 x3: 0x000000028141a130 x4: 0x0000000280f8c8c0 x5: 0x0000000000003500 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x00000a6574746f48 x9: 0x0000000000000103 x10: 0x0000000000000005 x11: 0x00ff00010c823e00 x12: 0x0000000000000046 x13: 0x000000010c824250 x14: 0x0000000202f49e40 x15: 0x0000000202f49e40 x16: 0x00000001a5d3f6f0 x17: 0x0000000000000002 x18: 0x0000000000000000 x19: 0x00000a6574746f48 x20: 0x0000000202f38780 x21: 0x00000002818bbdd8 x22: 0x00000002818bbd90 x23: 0x0000000202f40460 x24: 0x0000000202f386c0 x25: 0x0000000280f8ccc0 x26: 0x0000000000000000 x27: 0x0000000280f8c8c0 x28: 0x00000002818bbd90 fp: 0x000000016b181540 lr: 0xc560ea01066d6844 sp: 0x000000016b181510 pc: 0x00000001a5d3f780 cpsr: 0x60000000 far: 0x00000a6574746f48 esr: 0x92000004 (Data Abort) byte read Translation fault

Binary Images: 0x1a5d38000 - 0x1a5d7be1f libobjc.A.dylib arm64e /usr/lib/libobjc.A.dylib 0x104c7c000 - 0x1070cffff Runner arm64 /private/var/containers/Bundle/Application/F734A686-2331-4BDF-94F5-0529E817CABC/Runner.app/Runner 0x107874000 - 0x10805ffff AirshipKit arm64 /private/var/containers/Bundle/Application/F734A686-2331-4BDF-94F5-0529E817CABC/Runner.app/Frameworks/AirshipKit.framework/AirshipKit 0x109418000 - 0x10944bfff FirebaseMessaging arm64 <8d28f6c4565c3837b0d79b4675c75825> /private/var/containers/Bundle/Application/F734A686-2331-4BDF-94F5-0529E817CABC/Runner.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging 0x1aed80000 - 0x1b0573fff UIKitCore arm64e /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x1c292a000 - 0x1c29d0fff FrontBoardServices arm64e <936fc7b3624b36559fbb65951687f20d> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b41c9000 - 0x1b420ffff libdispatch.dylib arm64e /usr/lib/system/libdispatch.dylib 0x1acbab000 - 0x1acf90fff CoreFoundation arm64e <42ccfc7bff323d258f01ccb2ad843a8b> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1e6e20000 - 0x1e6e28fff GraphicsServices arm64e <85419099269b336d86b40d52d0ff6923> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1b5719000 - 0x1b578dfff libswiftUIKit.dylib arm64e /usr/lib/swift/libswiftUIKit.dylib 0x1cb50f000 - 0x1cb592093 dyld arm64e <4b042f280d1430eca1de3dbb10866ad7> /usr/lib/dyld 0x1fae2c000 - 0x1fae37fff libsystem_pthread.dylib arm64e <45ac734e66493ee2a0963fd66441ab78> /usr/lib/system/libsystem_pthread.dylib 0x1ea6c8000 - 0x1ea6fffeb libsystem_kernel.dylib arm64e /usr/lib/system/libsystem_kernel.dylib 0x1a6f22000 - 0x1a786bfff Foundation arm64e /System/Library/Frameworks/Foundation.framework/Foundation 0x10a6f0000 - 0x10af7ffff Flutter arm64 <4c4c440955553144a19ab64ea953a1e7> /private/var/containers/Bundle/Application/F734A686-2331-4BDF-94F5-0529E817CABC/Runner.app/Frameworks/Flutter.framework/Flutter 0x1b4b53000 - 0x1b4c0ffff IOKit arm64e /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x215484000 - 0x2154b9fff IOGPU arm64e <026491668067384c820fce1c5ea0709e> /System/Library/PrivateFrameworks/IOGPU.framework/IOGPU 0x1a78ac000 - 0x1a7a73fff Metal arm64e <2e829acbac4c3dcf9a05a75338f0f783> /System/Library/Frameworks/Metal.framework/Metal 0x10934c000 - 0x10939bfff FirebaseCrashlytics arm64 /private/var/containers/Bundle/Application/F734A686-2331-4BDF-94F5-0529E817CABC/Runner.app/Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics 0x1c028c000 - 0x1c174afff JavaScriptCore arm64e <400bebf52e9d30cca5dceb81436379de> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore 0x1add3f000 - 0x1ae108fff CFNetwork arm64e <7f3313c9143533338c82dc961429d0b3> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x0 - 0xffffffffffffffff ??? unknown-arch <00000000000000000000000000000000> ???

EOF

rlepinski commented 3 days ago

It looks like you have both Airship and firebase installed - https://github.com/firebase/flutterfire. Based on how both plugins like to swizzle, its unclear to me who is at fault here. It could be either Airship or the FlutterFire plugin, or even your app delegate if you are implementing that method yourself.

Do you need firebase messaging? If not, could you try removing that package to see if the issue goes away?