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

Long running and high volume crash, looks like type mismatch in SDK #363

Open
sammcewan opened this issue May 16, 2021 · 3 comments
Open

Comments

@sammcewan
Copy link

We see Frequent issues with the PayPalRetailSDK within our Point of Sale. This is high volume for us and it’s consistently our largest source of instability and seems to be related to types and JS bridging.

Crash report is as follows. Any help resolving greatly appreciated.

0  JavaScriptCore                 0x1b82cb888 JSC::functionProtoFuncToString(JSC::JSGlobalObject*, JSC::CallFrame*) + 1160
1  JavaScriptCore                 0x1b82cb7b8 JSC::functionProtoFuncToString(JSC::JSGlobalObject*, JSC::CallFrame*) + 952
2  JavaScriptCore                 0x1b7ab2a0c llint_entry + 149964
3  JavaScriptCore                 0x1b7ab0064 llint_entry + 139300
4  JavaScriptCore                 0x1b7ab0064 llint_entry + 139300
5  JavaScriptCore                 0x1b7a8dd98 vmEntryToJavaScript + 264
6  JavaScriptCore                 0x1b807b62c JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 480
7  JavaScriptCore                 0x1b837f420 JSC::JSObject::ordinaryToPrimitive(JSC::JSGlobalObject*, JSC::PreferredPrimitiveType) const + 2184
8  JavaScriptCore                 0x1b8382b60 JSC::JSObject::toPrimitive(JSC::JSGlobalObject*, JSC::PreferredPrimitiveType) const + 1596
9  JavaScriptCore                 0x1b8310640 JSC::JSValue::toStringSlowCase(JSC::JSGlobalObject*, bool) const + 1048
10 JavaScriptCore                 0x1b8310a08 JSC::JSValue::toWTFStringSlowCase(JSC::JSGlobalObject*) const + 632
11 JavaScriptCore                 0x1b7b17194 JSValueToStringCopy + 212
12 JavaScriptCore                 0x1b7ad11e4 valueToString(OpaqueJSContext*, OpaqueJSValue const*, OpaqueJSValue const**) + 84
13 JavaScriptCore                 0x1b78bcab0 -[JSValue toString] + 52
14 PayPalRetailSDK                0x102665a90 __53-[PPRetailNativeInterface offerReceipt:withCallback:]_block_invoke + 144
15 PayPalRetailSDK                0x102676a90 -[PPReceiptOptionsController doneButtonPressed] + 240
@EarthyOrange
Copy link
Collaborator

@sammcewan Thank you for submitting the bug report! We have been aware of this issue for a while now. A fix has evaded us so far because of our inability to reproduce this issue on our end. Please be sure to look out for our next release where we have applied further improvements on the receipt screen.

Does your app have any custom options on the receipt screen?

@sammcewan
Copy link
Author

@EarthyOrange Thanks for the reply. No custom options. We're running the latest version, still a high volume of issues from PayPal. This still accounts for most stability issues in our app due to the injected javascript that's going on, this seems very volatile and unreliable.

Have you got an ETA for the update?

@EarthyOrange
Copy link
Collaborator

@sammcewan If all goes well the release should be out by end of this week or beginning of next week.

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