awslabs/aws-mobile-appsync-sdk-ios

App crashes: AWSAppSync $s10AWSAppSync36AWSCognitoUserPoolsAuthProviderAsyncPAAE09getLatestF5TokenSSyF

zhouhao27 opened this issue · 1 comments

Describe the bug
App crashes: App crashes: AWSAppSync $s10AWSAppSync36AWSCognitoUserPoolsAuthProviderAsyncPAAE09getLatestF5TokenSSyF

Call stacks:

Crashed: com.amazonaws.AppSyncRealTimeConnectionProvider.serialQueue
0  libswiftCore.dylib             0x31fd0 _assertionFailure(_:_:file:line:flags:) + 304
1  AWSAppSync                     0x1bf78 $s10AWSAppSync36AWSCognitoUserPoolsAuthProviderAsyncPAAE09getLatestF5TokenSSyF + 84
2  AWSAppSync                     0x13690 $s10AWSAppSync03AppB30RealTimeClientOIDCAuthProviderC18getLatestAuthTokens6ResultOySSs5Error_pGyF + 816
3  AWSAppSync                     0x1376c $s10AWSAppSync03AppB30RealTimeClientOIDCAuthProviderC0cbdeF00gH0AadEP18getLatestAuthTokens6ResultOySSs5Error_pGyFTW + 20
4  AppSyncRealTimeClient          0x150a0 $s21AppSyncRealTimeClient19OIDCAuthInterceptorC19interceptConnection_3forAA0abI7RequestVAG_10Foundation3URLVtF + 392
5  AppSyncRealTimeClient          0x157c0 $s21AppSyncRealTimeClient19OIDCAuthInterceptorCAA010ConnectionG0A2aDP09interceptH0_3forAA0abH7RequestVAI_10Foundation3URLVtFTW + 20
6  AppSyncRealTimeClient          0x16584 $s21AppSyncRealTimeClient26RealtimeConnectionProviderC7connectyyFyycfU_ + 596
7  AppSyncRealTimeClient          0x15f50 $sIeg_IeyB_TR + 28
8  libdispatch.dylib              0x63094 _dispatch_call_block_and_release + 24
9  libdispatch.dylib              0x64094 _dispatch_client_callout + 16
10 libdispatch.dylib              0xa738 _dispatch_lane_serial_drain$VARIANT$mp + 644
11 libdispatch.dylib              0xb1f0 _dispatch_lane_invoke$VARIANT$mp + 408
12 libdispatch.dylib              0x14ec4 _dispatch_workloop_worker_thread + 632
13 libsystem_pthread.dylib        0x1e10 _pthread_wqthread + 284
14 libsystem_pthread.dylib        0x193c start_wqthread + 8

To Reproduce
Not reproducible. It happens randomly.

Expected behavior
Should not crash

Screenshots
If applicable, add screenshots to help explain your problem.

Environment(please complete the following information):

  • AppSync SDK Version: 3.6.1
  • Dependency Manager: Cocoapods
  • Swift Version : 5.1

Device Information (please complete the following information):

  • Device: iPhone 6s Plus
  • iOS Version: 15.6.1
  • Specific to simulators:

Additional context
Add any other context about the problem here.

Thanks for opening this. Can you please provide the full crash report? It contains important information to help track this down.