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

specialized static PaymentSheetLoader.loadMiscellaneousSingletons() #1746

Open
nicolasdevienne opened this issue Oct 7, 2024 · 1 comment

Comments

@nicolasdevienne
Copy link

nicolasdevienne commented Oct 7, 2024

Hi! Crashlytics reports us an issue on iOS 18.0 with the following stack trace :

Crashed: com.apple.main-thread
0  bundleid                       0x8bccfc specialized static PaymentSheetLoader.loadMiscellaneousSingletons() + 123 (PaymentSheetLoader.swift:123)
1  libswift_Concurrency.dylib     0x5ecec <redacted> + 420
2  libswift_Concurrency.dylib     0x6003c <redacted> + 76
3  libdispatch.dylib              0x12984 <redacted> + 744
4  libdispatch.dylib              0x1268c _dispatch_main_queue_callback_4CF + 44
5  CoreFoundation                 0x56168 <redacted> + 16
6  CoreFoundation                 0x53388 <redacted> + 2012
7  CoreFoundation                 0x52714 CFRunLoopRunSpecific + 608
8  GraphicsServices               0x11c4 GSEventRunModal + 164
9  UIKitCore                      0x3e1564 <redacted> + 888
10 UIKitCore                      0x48f530 UIApplicationMain + 340
11 bundleid                       0x82f8 main + 8 (main.m:8)
12 ???                            0x1af7efcd0 (Manquant)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x539c4 <redacted> + 160
5  CoreFoundation                 0x53078 <redacted> + 1228
6  CoreFoundation                 0x52714 CFRunLoopRunSpecific + 608
7  Foundation                     0xb70b0 <redacted> + 212
8  Foundation                     0xb6f00 <redacted> + 64
9  UIKitCore                      0x3f48ac <redacted> + 420
10 Foundation                     0xc81ec <redacted> + 724
11 libsystem_pthread.dylib        0x637c _pthread_start + 136
12 libsystem_pthread.dylib        0x1494 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  bundleid                       0x14fbd4 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  bundleid                       0x14ffb8 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  bundleid                       0x1471b4 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  bundleid                       0x149b1c FIRCLSMachExceptionServer + 521 (FIRCLSMachException.c:521)
4  libsystem_pthread.dylib        0x637c _pthread_start + 136
5  libsystem_pthread.dylib        0x1494 thread_start + 8

com.facebook.react.JavaScript
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x539c4 <redacted> + 160
5  CoreFoundation                 0x53078 <redacted> + 1228
6  CoreFoundation                 0x52714 CFRunLoopRunSpecific + 608
7  bundleid                       0x3e15f4 +[RCTCxxBridge runRunLoop] + 328 (RCTCxxBridge.mm:328)
8  Foundation                     0xc81ec <redacted> + 724
9  libsystem_pthread.dylib        0x637c _pthread_start + 136
10 libsystem_pthread.dylib        0x1494 thread_start + 8

hades
0  libsystem_kernel.dylib         0x7010 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3a50 <redacted> + 1204
2  libc++.1.dylib                 0x21584 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3  hermes                         0xccf24 hermes::vm::HadesGC::Executor::worker() + 116
4  hermes                         0xcce8c void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Executor()::'lambda'()>>(void*) + 44
5  libsystem_pthread.dylib        0x637c _pthread_start + 136
6  libsystem_pthread.dylib        0x1494 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x539c4 <redacted> + 160
5  CoreFoundation                 0x53078 <redacted> + 1228
6  CoreFoundation                 0x52714 CFRunLoopRunSpecific + 608
7  CFNetwork                      0xfd9e0 <redacted> + 416
8  Foundation                     0xc81ec <redacted> + 724
9  libsystem_pthread.dylib        0x637c _pthread_start + 136
10 libsystem_pthread.dylib        0x1494 thread_start + 8

com.apple.CoreMotion.MotionThread
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x539c4 <redacted> + 160
5  CoreFoundation                 0x53078 <redacted> + 1228
6  CoreFoundation                 0x52714 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xbe9f8 CFRunLoopRun + 64
8  CoreMotion                     0xfb1c (Manquant UUID e865d701185f340cbe63526acfa422f3)
9  libsystem_pthread.dylib        0x637c _pthread_start + 136
10 libsystem_pthread.dylib        0x1494 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1490 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4cc8 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1488 start_wqthread + 8

com.apple.root.user-initiated-qos.cooperative
0  bundleid                       0x948e84 withCheckedThrowingContinuation<A>(isolation:function:_:) + 6770728 (<compiler-generated>:6770728)
1  libswift_Concurrency.dylib     0x5ecec <redacted> + 420
2  libswift_Concurrency.dylib     0x6003c <redacted> + 76
3  libdispatch.dylib              0x15df4 <redacted> + 392
4  libdispatch.dylib              0x165f8 <redacted> + 156
5  libsystem_pthread.dylib        0x4c40 _pthread_wqthread + 228
6  libsystem_pthread.dylib        0x1488 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1490 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4cc8 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1488 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x1480 (Manquant UUID 46e25446017937db91818cb0d0330bf6)
    "@stripe/stripe-identity-react-native": "0.2.13",
    "react": "18.3.1",
    "react-native": "0.75.3",
@seanzhang-stripe
Copy link
Collaborator

Hi @nicolasdevienne Thanks for flagging this problem. This issue will be fixed in Stripe iOS SDK and we will release a new version soon. You can monitor the changelog here. Once the new version is released, you can delete the Podflie.lock file in your /ios folder and run 'pod install' to import the latest Stripe iOS SDK in your react-native project.

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