aws-amplify / amplify-flutter

A declarative library with an easy-to-use interface for building Flutter applications on AWS.
https://docs.amplify.aws
Apache License 2.0
1.31k stars 247 forks source link

EXC_BAD_ACCESS (SIGSEGV) with Authenticator's SignInForm #3630

Closed saltedpotatos closed 1 year ago

saltedpotatos commented 1 year ago

Description

On launch on MacOS, I was signed out with a session expired notification. On any attempt to sign in, the app crashes to desktop. This crash occurs before password validation, any valid input will crash. Unfortunately, I'm not sure where to go from here with regards to troubleshooting.

On iOS, everything functions as expected.

Stacktrace:
Crashed Thread:        1  io.flutter.ui

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00007ff83b050824
Exception Codes:       0x0000000000000001, 0x00007ff83b050824

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [3235]

VM Region Info: 0x7ff83b050824 is not in any region.  Bytes after previous region: 104806437  Bytes before following region: 380061660
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      unused __TEXT            7ff834c5be80-7ff834c5d000 [    4K] r-x/r-x SM=COW  ...ed lib __TEXT
--->  GAP OF 0x1ce68000 BYTES
      __DATA_CONST             7ff851ac5000-7ff851ac6bc0 [    7K] r--/rw- SM=COW  ...bobjc.A.dylib

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x7ff811e7e5b2 mach_msg2_trap + 10
1   libsystem_kernel.dylib              0x7ff811e8c72d mach_msg2_internal + 78
2   libsystem_kernel.dylib              0x7ff811e855e4 mach_msg_overwrite + 692
3   libsystem_kernel.dylib              0x7ff811e7e89a mach_msg + 19
4   CoreFoundation                      0x7ff811f9906f __CFRunLoopServiceMachPort + 145
5   CoreFoundation                      0x7ff811f97af0 __CFRunLoopRun + 1365
6   CoreFoundation                      0x7ff811f96f31 CFRunLoopRunSpecific + 560
7   HIToolbox                           0x7ff81ba12dad RunCurrentEventLoopInMode + 292
8   HIToolbox                           0x7ff81ba12bbe ReceiveNextEventCommon + 657
9   HIToolbox                           0x7ff81ba12918 _BlockUntilNextEventMatchingListInModeWithFilter + 64
10  AppKit                              0x7ff81502b5d0 _DPSNextEvent + 858
11  AppKit                              0x7ff81502a47a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214
12  AppKit                              0x7ff81501cae8 -[NSApplication run] + 586
13  AppKit                              0x7ff814ff0d02 NSApplicationMain + 817
14  app                                0x1048816b9 main + 9 (AppDelegate.swift:5)
15  dyld                                0x7ff811b6341f start + 1903

Thread 1 Crashed:: io.flutter.ui
0   libobjc.A.dylib                     0x7ff811b284a9 objc_msgSend + 41
1   ???                                    0x11a2869bb ???
2   ???                                    0x12f6066b0 ???
3   ???                                    0x12f606234 ???

Dependencies: dart pub deps --style list --no-dev | grep amplify

- amplify_authenticator 1.3.2
  - amplify_auth_cognito >=1.3.2 <1.4.0
  - amplify_core >=1.3.2 <1.4.0
  - amplify_flutter >=1.3.2 <1.4.0
  - amplify_authenticator ^1.1.1
  - amplify_auth_cognito ^1.2.0
  - amplify_flutter ^1.2.0
  - amplify_flutter ^1.3.3
  - amplify_auth_cognito ^1.3.3
  - amplify_authenticator ^1.1.1
  - amplify_auth_cognito ^1.2.0
  - amplify_flutter ^1.2.0
- amplify_analytics_pinpoint 1.3.2
  - amplify_analytics_pinpoint_dart >=0.3.0+5 <0.4.0
  - amplify_core >=1.3.2 <1.4.0
  - amplify_db_common >=0.3.0+5 <0.4.0
  - amplify_secure_storage >=0.4.0+5 <0.5.0
- amplify_analytics_pinpoint_dart 0.3.0+6
  - amplify_core >=1.3.2 <1.4.0
  - amplify_db_common_dart >=0.3.0+5 <0.4.0
  - amplify_secure_storage_dart >=0.4.0+5 <0.5.0
- amplify_auth_cognito 1.3.3
  - amplify_analytics_pinpoint >=1.3.2 <1.4.0
  - amplify_analytics_pinpoint_dart >=0.3.0+5 <0.4.0
  - amplify_auth_cognito_dart >=0.10.2+3 <0.11.0
  - amplify_core >=1.3.2 <1.4.0
  - amplify_flutter >=1.3.2 <1.4.0
  - amplify_secure_storage >=0.4.0+5 <0.5.0
- amplify_auth_cognito_dart 0.10.2+3
  - amplify_analytics_pinpoint_dart >=0.3.0+5 <0.4.0
  - amplify_core >=1.3.2 <1.4.0
  - amplify_secure_storage_dart >=0.4.0+6 <0.5.0
- amplify_core 1.3.3
- amplify_db_common 0.3.0+6
  - amplify_db_common_dart >=0.3.0+5 <0.4.0
- amplify_db_common_dart 0.3.0+5
  - amplify_core >=1.3.2 <1.4.0
- amplify_flutter 1.3.3
  - amplify_core >=1.3.3 <1.4.0
  - amplify_secure_storage >=0.4.0+5 <0.5.0
- amplify_secure_storage 0.4.0+5
  - amplify_secure_storage_dart >=0.4.0+5 <0.5.0
- amplify_secure_storage_dart 0.4.0+6

Categories

Steps to Reproduce

No response

Screenshots

No response

Platforms

Flutter Version

3.13.1

Amplify Flutter Version

1.3.2

Deployment Method

Custom Pipeline

Schema

No response

Jordan-Nelson commented 1 year ago

Hi @saltedpotatos - have you followed the platform setup steps for macOS here?

saltedpotatos commented 1 year ago

Yep! The podfile, deployment target, and minimum deployment are all 10.15, network calls are allowed, and keychain sharing setup.

Jordan-Nelson commented 1 year ago

Okay thanks. Are you seeing this in development mode?

saltedpotatos commented 1 year ago

Correct, this has all been in debug mode.

Jordan-Nelson commented 1 year ago

I wasn't able to reproduce this. I created an amplify app with a refresh token expiry of 60 minutes. I ran it on macOS, logged in, stopped the debug session, waited 60 minutes, debugged the app again, and logged in.

What version of macOS are you using? What chip type (apple silicon or intel)? What version of Xcode are you using?

saltedpotatos commented 1 year ago

My version of OSX is Ventura, 13.4.1(c) running on Intel. Xcode is Version 14.3.1 (14E300c)

saltedpotatos commented 1 year ago

I have another project with the same front end Authenticator setup, although a different amplify config, and a working session that I just signed out of, and now hit the same crash on hitting the sign in button.

I've re-generated the keychain sharing in the project, as well as tried changing the storageFactory to a non data protected one to no change as well.

dnys1 commented 1 year ago

Hi @saltedpotatos are you able to provide the full crash report?

saltedpotatos commented 1 year ago

Yep here's a gist of the most recent one

dnys1 commented 1 year ago

Thank you. Since the Flutter UI thread is crashing, I'm wondering if this an issue in Flutter itself. There are some reports in the Flutter repo for this (https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+EXC_BAD_ACCESS).

I don't have an Intel Mac computer to test on, but I will think about how we can try and reproduce this. Thanks for your patience.

dnys1 commented 1 year ago

@saltedpotatos Can you try on Flutter 3.10 (previous stable release) and Flutter beta channel to see if that resolves the issue? You can use fvm to make it easy to test multiple versions.

saltedpotatos commented 1 year ago

Assuming I'm using fvm correctly, no changes had any affect.

fvm use beta

fvm flutter run -d macos
fvm use 3.10.6

fvm flutter run -d macos

Both still crash with EXC_BAD_ACCESS when hitting the sign in button

dnys1 commented 1 year ago

Okay, thank you so much for trying.

Jordan-Nelson commented 1 year ago

@saltedpotatos Can you try running your app with an in memory version of secure storage? I am hoping to see if this is related to how we store/fetch credentials on the device.

Here is how you can do that:

// define a class for in memory storage
class InMemoryStorage implements SecureStorageInterface {
  InMemoryStorage(this.scope);

  /// The scope of the item being stored.
  ///
  /// This can be used as a namespace for stored items.
  final AmplifySecureStorageScope scope;

  static final Map<String, String> _data = {};

  @override
  void write({required String key, required String value}) {
    _data['${scope.name}.$key'] = value;
  }

  @override
  String? read({required String key}) {
    return _data['${scope.name}.$key'];
  }

  @override
  void delete({required String key}) {
    _data.remove('${scope.name}.$key');
  }
}
// use that class when configuring the plugin
await Amplify.addPlugin(
  AmplifyAuthCognito(secureStorageFactory: InMemoryStorage.new),
);
saltedpotatos commented 1 year ago

Hi @Jordan-Nelson ,

I've attempted it with the class you've provided to no change.

Crashed Thread:        3  io.flutter.ui

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at [....]

That was the initial line of thinking I had tried as well, when I tried to use a nonDataProtected storage factory.

I didn't dig too deeply into the source, but since it crashes before validating that my sign in information is valid, I'm assuming it doesn't make it to the SecureStorage.

Jordan-Nelson commented 1 year ago

Oh I see. You mean that even if the basic password reqs (min length, letters/numbers, etc.) are not met, it still crashes? You are correct - that validation is performed before anything is read from storage.

Can you enable verbose logging and share the logs to try to help us identify exactly at what point the crash happens? Please note that there could be sensitive data in verbose logs. Feel free to redact data if needed. Alternatively you can share it in a private gist.

You can enable verbose logging like so:

void main() {
  // add this like anywhere before calling configure()
  AmplifyLogger().logLevel = LogLevel.verbose;
  runApp(MyApp());
}
saltedpotatos commented 1 year ago

Correct. As far as input goes.

If I hit submit with an empty email / password field, I get validation errors that fields cannot be blank.

If I submit anything that is formatted like an email, and a non empty password input, that will crash. Even if those inputs do not meet the passwordPolicyMinLength set in my amplifyConfig.

Here is the logs. I'm unsure what the privateA/publicA are, but I can include those if necessary.

A Dart VM Service on macOS is available at: http://127.0.0.1:59111/OWpzb2SsTVE=/
flutter: INFO: 2023-08-29 12:57:52.975611: setting initial location /
flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthLoad'
flutter: FINE: 2023-08-29 12:57:53.272281: Transforming event: Instance of 'AuthLoad'
flutter: DEBUG | StateMachineBloc | Emitting next state: Instance of LoadingState
flutter: FINE: 2023-08-29 12:57:53.276359: Emitting next state: Instance of LoadingState
The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:59111/OWpzb2SsTVE=/
flutter: Bout to open the db
flutter: Amplify is configured
flutter: DEBUG | StateMachineBloc | Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn]
flutter: FINE: 2023-08-29 12:57:53.938108: Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn]
flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthSignIn'
flutter: FINE: 2023-08-29 12:58:56.253410: Transforming event: Instance of 'AuthSignIn'
flutter: DEBUG | SignInStateMachine | Device secrets not present for user: email@emai.l
flutter: FINE: 2023-08-29 12:58:56.293146: Device secrets not present for user: email@emai.l
flutter: DEBUG | SrpInitWorker | Starting worker
flutter: FINE: 2023-08-29 12:58:56.298807: Starting worker
flutter: DEBUG | SrpInitWorker | Connected from worker
flutter: FINE: 2023-08-29 12:58:56.310043: Connected from worker
flutter: VERBOSE | SrpInitWorker | Got message: SrpInitResult {
  privateA=[...]
  publicA=[...],
}
flutter: FINEST: 2023-08-29 12:58:56.363082: Got message: SrpInitResult {
flutter:   privateA=[...],
flutter:   publicA=[...],
flutter: }
Lost connection to device.
dnys1 commented 1 year ago

Thank you @saltedpotatos. Would you be able to upgrade to v1.4.0 and capture the logs again? I had added more verbose logs in these code paths.

Thanks for your patience working through this.

saltedpotatos commented 1 year ago

No worries! Thanks to y'all as well. Non reproducible issues are a blast!

New dependencies:

- amplify_authenticator 1.4.0
  - amplify_auth_cognito >=1.4.0 <1.5.0
  - amplify_core >=1.4.0 <1.5.0
  - amplify_flutter >=1.4.0 <1.5.0
  - amplify_authenticator ^1.1.1
  - amplify_auth_cognito ^1.4.0
  - amplify_flutter ^1.4.0
  - amplify_flutter ^1.4.0
  - amplify_auth_cognito ^1.4.0
  - amplify_auth_cognito ^1.4.0
  - amplify_flutter ^1.4.0
  - amplify_authenticator ^1.1.1
- amplify_analytics_pinpoint 1.4.0
  - amplify_analytics_pinpoint_dart >=0.3.0+5 <0.4.0
  - amplify_core >=1.4.0 <1.5.0
  - amplify_db_common >=0.3.0+5 <0.4.0
  - amplify_secure_storage >=0.4.0+5 <0.5.0
- amplify_analytics_pinpoint_dart 0.3.0+7
  - amplify_core >=1.4.0 <1.5.0
  - amplify_db_common_dart >=0.3.0+5 <0.4.0
  - amplify_secure_storage_dart >=0.4.0+5 <0.5.0
- amplify_auth_cognito 1.4.0
  - amplify_analytics_pinpoint >=1.4.0 <1.5.0
  - amplify_analytics_pinpoint_dart >=0.3.0+5 <0.4.0
  - amplify_auth_cognito_dart >=0.10.3 <0.11.0
  - amplify_core >=1.4.0 <1.5.0
  - amplify_flutter >=1.4.0 <1.5.0
  - amplify_secure_storage >=0.4.0+5 <0.5.0
- amplify_auth_cognito_dart 0.10.3
  - amplify_analytics_pinpoint_dart >=0.3.0+5 <0.4.0
  - amplify_core >=1.4.0 <1.5.0
  - amplify_secure_storage_dart >=0.4.0+6 <0.5.0
- amplify_core 1.4.0
- amplify_db_common 0.3.0+6
  - amplify_db_common_dart >=0.3.0+5 <0.4.0
- amplify_db_common_dart 0.3.1
  - amplify_core >=1.4.0 <1.5.0
- amplify_flutter 1.4.0
  - amplify_core >=1.4.0 <1.5.0
  - amplify_secure_storage >=0.4.0+5 <0.5.0
- amplify_secure_storage 0.4.0+5
  - amplify_secure_storage_dart >=0.4.0+5 <0.5.0
- amplify_secure_storage_dart 0.4.0+6

Logs:

Using the default AmplifyAuthCognito ```shell A Dart VM Service on macOS is available at: http://127.0.0.1:55381/NkmQNg9o5-Y=/ flutter: INFO: 2023-08-30 11:34:16.931007: setting initial location / flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthLoad' flutter: FINE: 2023-08-30 11:34:17.225581: Transforming event: Instance of 'AuthLoad' flutter: DEBUG | StateMachineBloc | Emitting next state: Instance of LoadingState flutter: FINE: 2023-08-30 11:34:17.229566: Emitting next state: Instance of LoadingState The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:55381/NkmQNg9o5-Y=/ flutter: FINE: 2023-08-30 11:34:17.629276: Starting worker flutter: FINE: 2023-08-30 11:34:17.685082: Connected from worker flutter: FINEST: 2023-08-30 11:34:17.698519: Got message: SecureStorageRequest { flutter: id=79d10611-faf8-4069-a4a6-829c472c3cfc, flutter: action=init, flutter: config=AmplifySecureStorageConfig { flutter: scope=awsCognitoAuthPlugin, flutter: webOptions=WebSecureStorageOptions { flutter: persistenceOption=indexedDB, flutter: }, flutter: windowsOptions=WindowsSecureStorageOptions { flutter: }, flutter: linuxOptions=LinuxSecureStorageOptions { flutter: }, flutter: macOSOptions=MacOSSecureStorageOptions { flutter: useDataProtection=true, flutter: accessible=accessibleAfterFirstUnlockThisDeviceOnly, flutter: }, flutter: iOSOptions=IOSSecureStorageOptions { flutter: accessible=accessibleAfterFirstUnlockThisDeviceOnly, flutter: }, flutter: }, flutter: } flutter: FINEST: 2023-08-30 11:34:17.757552: Got message: SecureStorageRequest { flutter: id=2c6986f0-c905-4bcd-9be9-968180a0c3a1, flutter: action=read, flutter: key=version, flutter: } flutter: FINEST: 2023-08-30 11:34:17.777400: Got message: SecureStorageRequest { flutter: id=d5271964-e528-46c4-888b-462109c5d6d9, flutter: action=read, flutter: key=SOME_UUID.accessToken, flutter: } flutter: FINEST: 2023-08-30 11:34:17.783950: Got message: SecureStorageRequest { flutter: id=3813798b-d55c-4918-8803-f7ad8812487a, flutter: action=read, flutter: key=SOME_UUID.refreshToken, flutter: } flutter: FINEST: 2023-08-30 11:34:17.788396: Got message: SecureStorageRequest { flutter: id=c18b1802-3649-4b17-9109-ac945c42733f, flutter: action=read, flutter: key=SOME_UUID.idToken, flutter: } flutter: FINEST: 2023-08-30 11:34:17.799051: Got message: SecureStorageRequest { flutter: id=46240710-f576-4c24-805e-3565515d1e2a, flutter: action=read, flutter: key=SOME_UUID.username, flutter: } flutter: FINEST: 2023-08-30 11:34:17.802152: Got message: SecureStorageRequest { flutter: id=9a3a5231-68fc-4cf6-9dc0-3c6433bef3b9, flutter: action=read, flutter: key=SOME_UUID.authFlowType, flutter: } flutter: Amplify is configured flutter: Bout to open the db flutter: DEBUG | StateMachineBloc | Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn] flutter: FINE: 2023-08-30 11:34:17.883546: Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn] flutter: FINEST: 2023-08-30 11:34:18.306319: themePodProvider:AutoDisposeAsyncNotifierProviderImpl#003b9 updated flutter: FINEST: 2023-08-30 11:34:18.306471: Old value: AsyncLoading() flutter: FINEST: 2023-08-30 11:34:18.306797: New value: AsyncData(value: ThemeMode.light) flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthSignIn' flutter: FINE: 2023-08-30 11:34:29.905140: Transforming event: Instance of 'AuthSignIn' flutter: FINEST: 2023-08-30 11:34:29.941403: Got message: SecureStorageRequest { flutter: id=7b393b71-8b28-4d81-9e81-2a149bf12e68, flutter: action=read, flutter: key=SOME_UUID.e@mail.com.deviceKey, flutter: } flutter: FINEST: 2023-08-30 11:34:29.942675: Got message: SecureStorageRequest { flutter: id=a8524f62-4a59-4b97-819d-a121ff8265cf, flutter: action=read, flutter: key=SOME_UUID.e@mail.com.deviceGroupKey, flutter: } flutter: FINEST: 2023-08-30 11:34:29.943704: Got message: SecureStorageRequest { flutter: id=1da5627d-9532-4a59-ad65-6bbbc5933d29, flutter: action=read, flutter: key=SOME_UUID.e@mail.com.devicePassword, flutter: } flutter: FINEST: 2023-08-30 11:34:29.948658: Got message: SecureStorageRequest { flutter: id=92acd338-53a3-426c-b2ce-28adc2ed5e35, flutter: action=read, flutter: key=SOME_UUID.e@mail.com.deviceStatus, flutter: } flutter: DEBUG | SignInStateMachine | Device secrets not present for user: e@mail.com flutter: FINE: 2023-08-30 11:34:29.949523: Device secrets not present for user: e@mail.com flutter: DEBUG | SrpInitWorker | Starting worker flutter: FINE: 2023-08-30 11:34:29.956178: Starting worker flutter: DEBUG | SrpInitWorker | Connected from worker flutter: FINE: 2023-08-30 11:34:29.971078: Connected from worker flutter: VERBOSE | SrpInitWorker | Got message: SrpInitResult { privateA=[...], publicA=[...], } flutter: FINEST: 2023-08-30 11:34:30.020075: Got message: SrpInitResult { flutter: privateA=[..], flutter: publicA=[..], flutter: } Lost connection to device. ```
Using AmplifyAuthCognito( secureStorageFactory: InMemoryStorage.new, ) ```shell Building macOS application... A Dart VM Service on macOS is available at: http://127.0.0.1:55260/jNFbT-VB0JI=/ flutter: INFO: 2023-08-30 11:32:47.821045: setting initial location / flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthLoad' flutter: FINE: 2023-08-30 11:32:48.095256: Transforming event: Instance of 'AuthLoad' flutter: DEBUG | StateMachineBloc | Emitting next state: Instance of LoadingState flutter: FINE: 2023-08-30 11:32:48.099087: Emitting next state: Instance of LoadingState The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:55260/jNFbT-VB0JI=/ flutter: Amplify is configured flutter: DEBUG | StateMachineBloc | Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn] flutter: FINE: 2023-08-30 11:32:48.475318: Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn] flutter: Bout to open the db flutter: FINEST: 2023-08-30 11:32:49.135890: themePodProvider:AutoDisposeAsyncNotifierProviderImpl#99613 updated flutter: FINEST: 2023-08-30 11:32:49.136039: Old value: AsyncLoading() flutter: FINEST: 2023-08-30 11:32:49.136375: New value: AsyncData(value: ThemeMode.light) flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthSignIn' flutter: FINE: 2023-08-30 11:32:54.555025: Transforming event: Instance of 'AuthSignIn' flutter: DEBUG | SignInStateMachine | Device secrets not present for user: email@e.mail flutter: FINE: 2023-08-30 11:32:54.592939: Device secrets not present for user: email@e.mail flutter: DEBUG | SrpInitWorker | Starting worker flutter: FINE: 2023-08-30 11:32:54.635218: Starting worker flutter: DEBUG | SrpInitWorker | Connected from worker flutter: FINE: 2023-08-30 11:32:54.660648: Connected from worker flutter: VERBOSE | SrpInitWorker | Got message: SrpInitResult { privateA=[...], publicA=[...], } flutter: FINEST: 2023-08-30 11:32:54.714628: Got message: SrpInitResult { flutter: privateA=[...], flutter: publicA=[...], flutter: } Lost connection to device. ```
dnys1 commented 1 year ago

Hi @saltedpotatos, I found a bug in our FFI code which may be causing this issue. Would you be willing to give the fix a whirl and let me know if it helps?

dependency_overrides:
  amplify_auth_cognito_dart:
    git:
      url: https://github.com/aws-amplify/amplify-flutter
      ref: fix/auth/bad-access-crash
      path: packages/auth/amplify_auth_cognito_dart
  amplify_core:
    git:
      url: https://github.com/aws-amplify/amplify-flutter
      ref: fix/auth/bad-access-crash
      path: packages/amplify_core

Thanks again!

saltedpotatos commented 1 year ago

No change, unfortunately.

Although, I could have sworn flutter used to post a warning when you were using depency_overrides. Maybe I'm misremembering though.

I also didn't see any log printouts that I recognized from your fix branch, which has me second guessing myself.

Crash Logs ```shell Crashed Thread: 4 io.flutter.ui Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000080201020201 Exception Codes: 0x0000000000000001, 0x0000080201020201 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [74533] VM Region Info: 0x80201020201 is not in any region. Bytes after previous region: 8799689769474 Bytes before following region: 96748416400895 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL VM_ALLOCATE 12a980000-12aa00000 [ 512K] rw-/rwx SM=PRV ---> GAP OF 0x5ffed5600000 BYTES MALLOC_NANO 600000000000-600008000000 [128.0M] rw-/rwx SM=PRV Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff80cced5c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff80ccfb73d mach_msg2_internal + 78 2 libsystem_kernel.dylib 0x7ff80ccf45f4 mach_msg_overwrite + 692 3 libsystem_kernel.dylib 0x7ff80cced8aa mach_msg + 19 4 CoreFoundation 0x7ff80ce0806f __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff80ce06af0 __CFRunLoopRun + 1365 6 CoreFoundation 0x7ff80ce05f31 CFRunLoopRunSpecific + 560 7 HIToolbox 0x7ff816886f3d RunCurrentEventLoopInMode + 292 8 HIToolbox 0x7ff816886d4e ReceiveNextEventCommon + 657 9 HIToolbox 0x7ff816886aa8 _BlockUntilNextEventMatchingListInModeWithFilter + 64 10 AppKit 0x7ff80fea225c _DPSNextEvent + 858 11 AppKit 0x7ff80fea1106 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214 12 AppKit 0x7ff80fe93788 -[NSApplication run] + 586 13 AppKit 0x7ff80fe679a1 NSApplicationMain + 817 14 crash_dummy 0x1079ab949 main + 9 (AppDelegate.swift:5) 15 dyld 0x7ff80c9d241f start + 1903 Thread 1: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 3: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 4 Crashed:: io.flutter.ui 0 libobjc.A.dylib 0x7ff80c9974e3 objc_msgSend + 99 1 ??? 0x11b1869bb ??? 2 ??? 0x124e44770 ??? 3 ??? 0x124e442f4 ??? 4 ??? 0x124e4404a ??? 5 ??? 0x124e4309a ??? 6 ??? 0x124e2c5e6 ??? 7 ??? 0x124e25358 ??? 8 ??? 0x12a5f0977 ??? 9 ??? 0x12530fc1c ??? 10 ??? 0x12824e834 ??? 11 ??? 0x1282706d6 ??? 12 ??? 0x128270572 ??? 13 ??? 0x125310516 ??? 14 ??? 0x12531023b ??? 15 ??? 0x11d056df9 ??? 16 ??? 0x11d055bc6 ??? 17 ??? 0x11d04d864 ??? 18 ??? 0x11b188aee ??? 19 ??? 0x12530fc1c ??? 20 ??? 0x12824e834 ??? 21 ??? 0x1282706d6 ??? 22 ??? 0x128270572 ??? 23 ??? 0x125310516 ??? 24 ??? 0x12531023b ??? 25 ??? 0x11d056df9 ??? 26 ??? 0x126725960 ??? 27 ??? 0x12822576d ??? 28 ??? 0x128225548 ??? 29 ??? 0x12824e834 ??? 30 ??? 0x1282706d6 ??? 31 ??? 0x128270572 ??? 32 ??? 0x12a5fb3b0 ??? 33 ??? 0x125cf9842 ??? 34 ??? 0x125cfd037 ??? 35 ??? 0x12671c687 ??? 36 ??? 0x12672745e ??? 37 ??? 0x1267272ca ??? 38 ??? 0x12824e834 ??? 39 ??? 0x1282706d6 ??? 40 ??? 0x128270572 ??? 41 ??? 0x12a5fb3b0 ??? 42 ??? 0x125cf9842 ??? 43 ??? 0x125cfd037 ??? 44 ??? 0x125cfcd62 ??? 45 ??? 0x125cfcab5 ??? 46 ??? 0x125cfc7d7 ??? 47 ??? 0x128221d7e ??? 48 ??? 0x12824e834 ??? 49 ??? 0x1282706d6 ??? 50 ??? 0x128270572 ??? 51 ??? 0x12a5fb3b0 ??? 52 ??? 0x125cf9842 ??? 53 ??? 0x125cfd037 ??? 54 ??? 0x125cfcd62 ??? 55 ??? 0x125cfcab5 ??? 56 ??? 0x12672714a ??? 57 ??? 0x12824e834 ??? 58 ??? 0x1282706d6 ??? 59 ??? 0x128270572 ??? 60 ??? 0x12a5fb3b0 ??? 61 ??? 0x125cf9842 ??? 62 ??? 0x125cfd037 ??? 63 ??? 0x125cfcd62 ??? 64 ??? 0x125cfcab5 ??? 65 ??? 0x125cfc7d7 ??? 66 ??? 0x12820abaa ??? 67 ??? 0x12824e834 ??? 68 ??? 0x1282706d6 ??? 69 ??? 0x128270572 ??? 70 ??? 0x12a5fb3b0 ??? 71 ??? 0x125cf9842 ??? 72 ??? 0x125cfd037 ??? 73 ??? 0x125cfcd62 ??? 74 ??? 0x125cfcab5 ??? 75 ??? 0x125cfc7d7 ??? 76 ??? 0x126728522 ??? 77 ??? 0x1282206ea ??? 78 ??? 0x12824e834 ??? 79 ??? 0x1282706d6 ??? 80 ??? 0x128270572 ??? 81 ??? 0x12a5fb3b0 ??? 82 ??? 0x128220b68 ??? 83 ??? 0x12822085a ??? 84 ??? 0x12824e962 ??? 85 ??? 0x1282706d6 ??? 86 ??? 0x128270572 ??? 87 ??? 0x12a5fb3b0 ??? 88 ??? 0x125cf9842 ??? 89 ??? 0x125cfd037 ??? 90 ??? 0x125cfcd62 ??? 91 ??? 0x125cfcab5 ??? 92 ??? 0x125cfc7d7 ??? 93 ??? 0x12820abaa ??? 94 ??? 0x11d02da93 ??? 95 ??? 0x11d02d2ac ??? 96 ??? 0x11b182f16 ??? 97 FlutterMacOS 0x10b27329c dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&) + 220 98 FlutterMacOS 0x10b2751aa dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&) + 314 99 FlutterMacOS 0x10b2965b6 dart::IsolateMessageHandler::HandleMessage(std::_LIBCPP_ABI_NAMESPACE::unique_ptr>) + 726 100 FlutterMacOS 0x10b2c0930 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) + 320 101 FlutterMacOS 0x10b2c0afe dart::MessageHandler::HandleNextMessage() + 78 102 FlutterMacOS 0x10b67593c Dart_HandleMessage + 284 103 FlutterMacOS 0x10b07e05a tonic::DartMessageHandler::OnHandleMessage(tonic::DartState*) + 202 104 FlutterMacOS 0x10b07e4d4 std::_LIBCPP_ABI_NAMESPACE::__function::__func, void ()>::operator()() + 68 105 FlutterMacOS 0x10b1d5d59 std::_LIBCPP_ABI_NAMESPACE::__function::__func const&)::$_0::operator()(std::_LIBCPP_ABI_NAMESPACE::function) const::'lambda'(), std::_LIBCPP_ABI_NAMESPACE::allocator const&)::$_0::operator()(std::_LIBCPP_ABI_NAMESPACE::function) const::'lambda'()>, void ()>::operator()() + 57 106 FlutterMacOS 0x10a95b52e fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 270 107 FlutterMacOS 0x10a963a5c fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 44 108 CoreFoundation 0x7ff80ce21358 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 109 CoreFoundation 0x7ff80ce20ed3 __CFRunLoopDoTimer + 807 110 CoreFoundation 0x7ff80ce20af9 __CFRunLoopDoTimers + 285 111 CoreFoundation 0x7ff80ce06e39 __CFRunLoopRun + 2206 112 CoreFoundation 0x7ff80ce05f31 CFRunLoopRunSpecific + 560 113 FlutterMacOS 0x10a963cad fml::MessageLoopDarwin::Run() + 141 114 FlutterMacOS 0x10a95b355 fml::MessageLoopImpl::DoRun() + 37 115 FlutterMacOS 0x10a961e50 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 176 116 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 117 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 5:: io.flutter.raster 0 libsystem_kernel.dylib 0x7ff80cced5c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff80ccfb73d mach_msg2_internal + 78 2 libsystem_kernel.dylib 0x7ff80ccf45f4 mach_msg_overwrite + 692 3 libsystem_kernel.dylib 0x7ff80cced8aa mach_msg + 19 4 CoreFoundation 0x7ff80ce0806f __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff80ce06af0 __CFRunLoopRun + 1365 6 CoreFoundation 0x7ff80ce05f31 CFRunLoopRunSpecific + 560 7 FlutterMacOS 0x10a963cad fml::MessageLoopDarwin::Run() + 141 8 FlutterMacOS 0x10a95b355 fml::MessageLoopImpl::DoRun() + 37 9 FlutterMacOS 0x10a961e50 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 176 10 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 11 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 6:: io.flutter.io 0 libsystem_kernel.dylib 0x7ff80cced5c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff80ccfb73d mach_msg2_internal + 78 2 libsystem_kernel.dylib 0x7ff80ccf45f4 mach_msg_overwrite + 692 3 libsystem_kernel.dylib 0x7ff80cced8aa mach_msg + 19 4 CoreFoundation 0x7ff80ce0806f __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff80ce06af0 __CFRunLoopRun + 1365 6 CoreFoundation 0x7ff80ce05f31 CFRunLoopRunSpecific + 560 7 FlutterMacOS 0x10a963cad fml::MessageLoopDarwin::Run() + 141 8 FlutterMacOS 0x10a95b355 fml::MessageLoopImpl::DoRun() + 37 9 FlutterMacOS 0x10a961e50 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 176 10 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 11 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 7:: io.worker.1 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 8:: io.worker.2 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 9:: io.worker.3 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 10:: io.worker.4 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 11:: io.worker.5 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 12:: io.worker.6 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 13:: io.worker.7 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 14:: io.worker.8 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 15:: io.worker.9 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 16:: io.worker.10 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 17:: io.worker.11 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 18:: io.worker.12 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 19:: io.worker.13 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 20:: io.worker.14 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 21:: io.worker.15 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 22:: io.worker.16 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c758 _pthread_cond_wait + 1242 2 FlutterMacOS 0x10a9250b4 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock&) + 36 3 FlutterMacOS 0x10a9563e3 fml::ConcurrentMessageLoop::WorkerMain() + 179 4 FlutterMacOS 0x10a9570bc void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 188 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 23:: dart:io EventHandler 0 libsystem_kernel.dylib 0x7ff80ccf21fe kevent + 10 1 FlutterMacOS 0x10b1a9798 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 344 2 FlutterMacOS 0x10b1ce893 dart::bin::ThreadStart(void*) + 83 3 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 4 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 24:: Dart Profiler ThreadInterrupter 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b3f9e33 dart::ThreadInterrupter::ThreadMain(unsigned long) + 355 4 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 25:: Dart Profiler SampleBlockProcessor 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b37baa5 dart::SampleBlockProcessor::ThreadMain(unsigned long) + 197 4 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 5 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 6 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 26:: DartWorker 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b3fae5f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559 4 FlutterMacOS 0x10b3fb067 dart::ThreadPool::Worker::Main(unsigned long) + 135 5 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 6 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 27:: DartWorker 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b3fae5f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559 4 FlutterMacOS 0x10b3fb067 dart::ThreadPool::Worker::Main(unsigned long) + 135 5 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 6 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 28:: DartWorker 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b3fae5f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559 4 FlutterMacOS 0x10b3fb067 dart::ThreadPool::Worker::Main(unsigned long) + 135 5 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 6 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 29:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff80cced5c2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff80ccfb73d mach_msg2_internal + 78 2 libsystem_kernel.dylib 0x7ff80ccf45f4 mach_msg_overwrite + 692 3 libsystem_kernel.dylib 0x7ff80cced8aa mach_msg + 19 4 CoreFoundation 0x7ff80ce0806f __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff80ce06af0 __CFRunLoopRun + 1365 6 CoreFoundation 0x7ff80ce05f31 CFRunLoopRunSpecific + 560 7 AppKit 0x7ff8100023f5 _NSEventThread + 132 8 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 9 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 30:: DartWorker 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b291716 dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 294 4 FlutterMacOS 0x10b3fac9d dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 109 5 FlutterMacOS 0x10b3fb067 dart::ThreadPool::Worker::Main(unsigned long) + 135 6 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 7 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 8 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 31:: DartWorker 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b291716 dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 294 4 FlutterMacOS 0x10b3fac9d dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 109 5 FlutterMacOS 0x10b3fb067 dart::ThreadPool::Worker::Main(unsigned long) + 135 6 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 7 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 8 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 32:: DartWorker 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b291716 dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 294 4 FlutterMacOS 0x10b3fac9d dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 109 5 FlutterMacOS 0x10b3fb067 dart::ThreadPool::Worker::Main(unsigned long) + 135 6 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 7 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 8 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 33:: DartWorker 0 libsystem_kernel.dylib 0x7ff80ccf00fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff80cd2c78d _pthread_cond_wait + 1295 2 FlutterMacOS 0x10b375b06 dart::Monitor::WaitMicros(long long) + 134 3 FlutterMacOS 0x10b3fae5f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559 4 FlutterMacOS 0x10b3fb067 dart::ThreadPool::Worker::Main(unsigned long) + 135 5 FlutterMacOS 0x10b374fbe dart::ThreadStart(void*) + 206 6 libsystem_pthread.dylib 0x7ff80cd2c1d3 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff80cd27bd3 thread_start + 15 Thread 34: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 35: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 36: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 37: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 38: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 39: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 40: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 41: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 42: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 43: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 44: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 45: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 46: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 47: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 48: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 49: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 50: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 51: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 52: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 53: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 54: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 55: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 56: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 57: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 58: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 59: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 60: 0 libsystem_pthread.dylib 0x7ff80cd27bb0 start_wqthread + 0 Thread 4 crashed with X86 Thread State (64-bit): rax: 0x00007ff80c997480 rbx: 0x00007ff80c997480 rcx: 0x00000001292b19c9 rdx: 0x00007ff82be7b1e1 rdi: 0x000070000e8f1210 rsi: 0x00006000020ac000 rbp: 0x000070000e8f1240 rsp: 0x000070000e8f1208 r8: 0x00000001292b23a9 r9: 0x00007ff82be7b1e1 r10: 0x000070000e8f1250 r11: 0x0000080201020201 r12: 0x0000000124e44781 r13: 0x000000011b108081 r14: 0x00007f87ce82b200 r15: 0x000000012a739591 rip: 0x00007ff80c9974e3 rfl: 0x0000000000010246 cr2: 0x0000080201020201 Logical CPU: 2 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14 Thread 4 instruction stream: 2e 74 72 40 f6 c7 01 2e-75 76 49 ba f8 ff ff ff .tr@....uvI..... ff 7f 00 00 4c 23 17 49-89 f3 45 23 5a 18 49 c1 ....L#.I..E#Z.I. e3 04 4d 03 5a 10 49 3b-33 75 0a 4d 8b 5b 08 4d ..M.Z.I;3u.M.[.M 31 d3 41 ff e3 49 83 3b-01 76 13 49 83 c3 10 49 1.A..I.;.v.I...I 3b 33 75 f1 4d 8b 5b 08-4d 31 d3 41 ff e3 72 70 ;3u.M.[.M1.A..rp 4d 8b 5b 08 eb 0a 49 83-3b 01 76 13 49 83 c3 10 M.[...I.;.v.I... [49]3b 33 75 f1 4d 8b 5b-08 4d 31 d3 41 ff e3 eb I;3u.M.[.M1.A... <== 4f 0f 1f 40 00 31 c0 31-d2 0f 57 c0 0f 57 c9 c3 O..@.1.1..W..W.. 41 89 fb 41 83 e3 0f 4c-8d 15 ef b2 a6 43 4f 8b A..A...L.....CO. 14 da 4c 8d 1d bc b1 a6-43 4d 39 d3 0f 85 75 ff ..L.....CM9...u. ff ff 41 89 fb 41 c1 eb-04 41 81 e3 ff 00 00 00 ..A..A...A...... 4c 8d 15 46 b3 a6 43 4f-8b 14 da e9 57 ff ff ff L..F..CO....W... Binary Images: 0x1079a6000 - 0x1079adfff com.example.crashDummy (1.0.0) <79c6a905-41a6-3e79-b8e6-c8f80480f0b6> /Users/USER/*/crash_dummy.app/Contents/MacOS/crash_dummy 0x107a5f000 - 0x107a7afff org.cocoapods.amplify-auth-cognito (0.0.1) <4e607ec3-c3c3-3752-835d-daec2dc97aba> /Users/USER/*/crash_dummy.app/Contents/Frameworks/amplify_auth_cognito.framework/Versions/A/amplify_auth_cognito 0x107a24000 - 0x107a2bfff org.cocoapods.amplify-secure-storage (0.0.1) <088bf831-6c09-3954-8303-5f35ac9d68d1> /Users/USER/*/crash_dummy.app/Contents/Frameworks/amplify_secure_storage.framework/Versions/A/amplify_secure_storage 0x107ae3000 - 0x107aeefff org.cocoapods.device-info-plus (0.0.1) <97dc9f7e-cfd6-32a7-9503-7e7d657a3c80> /Users/USER/*/crash_dummy.app/Contents/Frameworks/device_info_plus.framework/Versions/A/device_info_plus 0x107a44000 - 0x107a47fff org.cocoapods.package-info-plus (0.0.1) <58fc0365-4fff-3545-84da-3d0f7cbde019> /Users/USER/*/crash_dummy.app/Contents/Frameworks/package_info_plus.framework/Versions/A/package_info_plus 0x107b0b000 - 0x107b16fff org.cocoapods.path-provider-foundation (0.0.1) <8cc08b93-ad65-3018-bdda-e7e40b779848> /Users/USER/*/crash_dummy.app/Contents/Frameworks/path_provider_foundation.framework/Versions/A/path_provider_foundation 0x107b5e000 - 0x107b6dfff org.cocoapods.url-launcher-macos (0.0.1) /Users/USER/*/crash_dummy.app/Contents/Frameworks/url_launcher_macos.framework/Versions/A/url_launcher_macos 0x10a8eb000 - 0x10c968fff io.flutter.flutter-macos (1.0) <4c4c44d5-5555-3144-a192-39a850647ed3> /Users/USER/*/crash_dummy.app/Contents/Frameworks/FlutterMacOS.framework/Versions/A/FlutterMacOS 0x10a46b000 - 0x10a47afff libobjc-trampolines.dylib (*) <2dd94238-d463-3bba-bb4e-e65afabe8a76> /usr/lib/libobjc-trampolines.dylib 0x10a4a0000 - 0x10a4a3fff io.flutter.flutter.app (1.0) /Users/USER/*/crash_dummy.app/Contents/Frameworks/App.framework/Versions/A/App 0x7ff80ccec000 - 0x7ff80cd25fff libsystem_kernel.dylib (*) <642737ce-21cf-3d87-a7b6-7eea2c080a7e> /usr/lib/system/libsystem_kernel.dylib 0x7ff80cd8b000 - 0x7ff80d227fef com.apple.CoreFoundation (6.9) <46f56317-e54f-30ca-83e3-516c8156327d> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7ff816858000 - 0x7ff816b4fff9 com.apple.HIToolbox (2.1.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7ff80fe64000 - 0x7ff810e6bfff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7ff80c9cc000 - 0x7ff80ca645ef dyld (*) <31e1c182-e611-3883-97a3-4334a21c90bd> /usr/lib/dyld 0x7ff80cd26000 - 0x7ff80cd31fff libsystem_pthread.dylib (*) <3a3fa85c-f1fe-336c-bf68-924fc947ade3> /usr/lib/system/libsystem_pthread.dylib 0x7ff80c990000 - 0x7ff80c9cbff8 libobjc.A.dylib (*) <461f6347-d5e0-306d-b68d-5ea48625c01e> /usr/lib/libobjc.A.dylib 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? ```
Flutter logs ```shell 2023-08-30 18:28:24.582490-0700 crash_dummy[70988:516659] Metal API Validation Enabled flutter: The Dart VM service is listening on http://127.0.0.1:59142/E8QpPH3uuwk=/ flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthLoad' flutter: FINE: Transforming event: Instance of 'AuthLoad' flutter: DEBUG | StateMachineBloc | Emitting next state: Instance of LoadingState flutter: FINE: Emitting next state: Instance of LoadingState flutter: FINE: Starting worker flutter: FINE: Connected from worker flutter: FINEST: Got message: SecureStorageRequest { flutter: id=527d161a-bd5e-40b2-8c62-1f4c91de8f1b, flutter: action=init, flutter: config=AmplifySecureStorageConfig { flutter: scope=awsCognitoAuthPlugin, flutter: webOptions=WebSecureStorageOptions { flutter: persistenceOption=indexedDB, flutter: }, flutter: windowsOptions=WindowsSecureStorageOptions { flutter: }, flutter: linuxOptions=LinuxSecureStorageOptions { flutter: }, flutter: macOSOptions=MacOSSecureStorageOptions { flutter: useDataProtection=true, flutter: accessible=accessibleAfterFirstUnlockThisDeviceOnly, flutter: }, flutter: iOSOptions=IOSSecureStorageOptions { flutter: accessible=accessibleAfterFirstUnlockThisDeviceOnly, flutter: }, flutter: }, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=34d260ba-27b0-4cff-9af5-962f4c9a2afd, flutter: action=read, flutter: key=version, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=187034e5-6ea0-475f-b115-0e4af152b0dc, flutter: action=read, flutter: key=.accessToken, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=15e9f5ef-e8cc-4563-afd9-0c1921da631d, flutter: action=read, flutter: key=.refreshToken, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=f8f7c02f-f4de-4979-8ec3-ee30da1f15f2, flutter: action=read, flutter: key=.idToken, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=07587bcc-8dc7-437b-8c52-becc4048ebf5, flutter: action=read, flutter: key=.username, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=90bbfe67-b955-46b7-b44b-93ad9a2765c8, flutter: action=read, flutter: key=.authFlowType, flutter: } flutter: Successfully configured flutter: DEBUG | StateMachineBloc | Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn] flutter: FINE: Emitting next state: UnauthenticatedState [AuthenticatorStep.signIn] flutter: DEBUG | StateMachineBloc | Transforming event: Instance of 'AuthSignIn' flutter: FINE: Transforming event: Instance of 'AuthSignIn' flutter: FINEST: Got message: SecureStorageRequest { flutter: id=54b93ba6-1acc-4896-a6a0-33ec0ec25e35, flutter: action=read, flutter: key=.email@email.email.deviceKey, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=5860a990-2a86-4132-ba10-fed8987d25eb, flutter: action=read, flutter: key=.email@email.email.deviceGroupKey, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=0487c7c5-1f6e-4454-8a7d-43978199d05c, flutter: action=read, flutter: key=.email@email.email.devicePassword, flutter: } flutter: FINEST: Got message: SecureStorageRequest { flutter: id=fd44540c-c527-49f7-9a58-458d71a15438, flutter: action=read, flutter: key=.email@email.email.deviceStatus, flutter: } flutter: DEBUG | SignInStateMachine | Device secrets not present for user: email@email.email flutter: FINE: Device secrets not present for user: email@email.email flutter: DEBUG | SrpInitWorker | Starting worker flutter: FINE: Starting worker flutter: DEBUG | SrpInitWorker | Connected from worker flutter: FINE: Connected from worker flutter: VERBOSE | SrpInitWorker | Got message: SrpInitResult { privateA=, publicA=, } flutter: FINEST: Got message: SrpInitResult { flutter: privateA=, flutter: publicA=, flutter: } ```
dnys1 commented 1 year ago

Thanks for trying. The log messages should be visible by setting AWSLogger().logLevel = LogLevel.verbose in your main function.

dnys1 commented 1 year ago

Hi @saltedpotatos, I was able to reproduce this by running under Rosetta (should've thought of this sooner!) I believe it's due to a bug in package:ffigen, which I've opened an issue for here.

In the meantime, I've commented out the offending code. Would you be willing to run flutter pub upgrade and see if the issue is resolved for you? Thanks!

saltedpotatos commented 1 year ago

Thanks @dnys1!

I can confirm the changes solved the issue for me.

dnys1 commented 1 year ago

Thanks for confirming and thanks for your help. I'll work to get this released by early next week.

dnys1 commented 1 year ago

The fix for this has been released. Please run flutter pub upgrade to get the fix.

Apologies for the delay! Let us know if you face any similar issues.