-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
P1kind:bugtriagedIssue has been reviewed by Stripe and is being tracked internallyIssue has been reviewed by Stripe and is being tracked internally
Description
Summary
Payment sheet will crash on open when fails to load images for saved payment methods
Application Specific Information:
UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}, scale=3.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert.
Thread 0 Crashed:
0 CoreFoundation 0x30860a0c0 __exceptionPreprocess
1 libobjc.A.dylib 0x303025ab8 objc_exception_throw
2 Foundation 0x30658080c -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]
3 UIKitCore 0x30d9b1bb8 _UIGraphicsBeginImageContextWithOptions
4 HayNet 0x204b91d70 STPPaymentMethod.makeSavedPaymentMethodRowImage
5 HayNet 0x204c51a54 VerticalPaymentMethodListViewController.renderContent
6 HayNet 0x204c75a78 PaymentSheetVerticalViewController.makePaymentMethodListViewController
7 HayNet 0x204c7228c PaymentSheetVerticalViewController.regenerateUI
8 HayNet 0x204c71ce4 PaymentSheetVerticalViewController.init
9 HayNet 0x204bd1e14 closure in PaymentSheet.present
10 HayNet 0x204bd1b8c closure in PaymentSheet.present
11 HayNet 0x204c14df0 closure in PaymentSheetLoader.load
12 HayNet 0x2047b9f98 closure in StripeAttest.attest
13 HayNet 0x2047b872c thunk for closure
14 HayNet 0x2047b9f98 closure in StripeAttest.attest
15 libswift_Concurrency.dylib 0x31f95123c completeTask
What is blocked by this issue?
Can't pay for invoice
Code to reproduce
See trace
iOS version
18.6.2
Installation method
SwiftPackageManager
SDK version
24.24.4
Other information
Sporadic, some people can load it others can't, this client has USAA bank account saved and crashes for them. Others are fine, app should not crash if you can't load an image this is insane.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1kind:bugtriagedIssue has been reviewed by Stripe and is being tracked internallyIssue has been reviewed by Stripe and is being tracked internally