Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on iOS device #37

Open
rivella50 opened this issue Apr 13, 2023 · 3 comments
Open

Crash on iOS device #37

rivella50 opened this issue Apr 13, 2023 · 3 comments

Comments

@rivella50
Copy link

Hi there,
in rare cases i see these kind of Crashlytics crash report on iOS devices:

Crashed: com.apple.main-thread
0  Runner                         0x494b4c closure #4 in SwiftSumupPlugin.handle(_:result:) + 406652
1  Runner                         0x49824c partial apply for closure #1 in SwiftSumupPlugin.checkout(request:completion:) + 420732 (<compiler-generated>:420732)
2  Runner                         0x494e4c thunk for @escaping @callee_guaranteed (@guaranteed SMPCheckoutResult?, @guaranteed Error?) -> () + 407420 (<compiler-generated>:407420)
3  SumUpSDK                       0x830f0 __69+[SMPSumUpSDK didCreateCheckout:error:fromViewController:completion:]_block_invoke.162 + 252
4  SumUpSDK                       0x31b54 -[SMPHandlerChain invokeIndex:object:sortedHandlers:] + 304
5  SumUpSDK                       0x31c04 __53-[SMPHandlerChain invokeIndex:object:sortedHandlers:]_block_invoke + 52
6  SumUpSDK                       0x6af84 -[SMPFirmwareUpdateManager didGetFirmwareUpdate:error:completion:] + 332
7  SumUpSDK                       0x6ae14 __77-[SMPFirmwareUpdateManager paymentNavigationControllerDidDismiss:completion:]_block_invoke + 88
8  libdispatch.dylib              0x2460 _dispatch_call_block_and_release + 32
9  libdispatch.dylib              0x3f88 _dispatch_client_callout + 20
10 libdispatch.dylib              0x127f4 _dispatch_main_queue_drain + 928
11 libdispatch.dylib              0x12444 _dispatch_main_queue_callback_4CF + 44
12 CoreFoundation                 0x9a6c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
13 CoreFoundation                 0x7c02c __CFRunLoopRun + 2036
14 CoreFoundation                 0x80eb0 CFRunLoopRunSpecific + 612
15 GraphicsServices               0x1368 GSEventRunModal + 164
16 UIKitCore                      0x3a1668 -[UIApplication _run] + 888
17 UIKitCore                      0x3a12cc UIApplicationMain + 340
18 Runner                         0x5444 main + 5 (AppDelegate.swift:5)
19 ???                            0x1bc46c960 (Fehlt)

The device had iOS version 16.3.1 installed.
I cannot tell what happens on a device where this crash happens (i.e. if the user encounters that crash or if the Flutter app is also targeted by this crash).
Sumup plugin version 0.6.1 is used.
Have you seen such a crash report on your side and/or do you know if anything can be done (Flutter or the Sumup plugin) to prevent these kind of crashes?

@sstasi95
Copy link
Collaborator

Hi, I've never seen this crash and I've no idea how to reproduce it. If you manage to find a way to reproduce it, I'll be happy to debug it.

@rivella50
Copy link
Author

Hi Simone,
ok, thanks for your answer.
I've just reported this crash at the iOS SDK repository. Let's see what they can tell. The current version of the SDK is 4.3.4. Perhaps it already has been fixed.

@rivella50
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants