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

Fatal error #27

Closed
shial4 opened this issue Sep 23, 2019 · 8 comments
Closed

Fatal error #27

shial4 opened this issue Sep 23, 2019 · 8 comments

Comments

@shial4
Copy link

shial4 commented Sep 23, 2019

Fatal error: Error writing to keychain - unhandledError(status: -25308): file /Users/chrismaier/Documents/GitHub/giphy-ios-sdk-ui/Carthage/Checkouts/giphy-ios-sdk-analytics/Source/GPHKeychain.swift, line 136

The app crashes constantly due to reason above.

@cgmaier
Copy link
Contributor

cgmaier commented Sep 24, 2019

hey @shial4 thanks for bringing this to our attention. we haven't been able to repro on our end unfortunately - could you provide some more details about when this happens and what device / simulator you're seeing this on?

in the meantime, we pushed a hopeful fix for this in v1.1.2, which removes the fatal error so you should no longer see the crash

hope this helps

@shial4
Copy link
Author

shial4 commented Sep 24, 2019

I haven't been able to reproduce it myself, however, we do use Giphy now in our production app. Application was crash free, after introducing Giphy it dropped to 70% now.

The error message above is what we have captured alone with:

GiphyUISDK
$s17GiphyPingbacksSDK11GPHKeychainC5store3key5valueySS_10Foundation4DataVSgtFZyycfU_ + 412

and

system_background_refresh

or second capture


GiphyUISDK
__hidden#7722_ - Line 136
_hidden#7997_ + 136

GiphyUISDK
__hidden#617_ - Line 0
_hidden#831_

The last one have majority in number of crashes now.
Please notice that crash is in regard to developer Giphy SDK.

Will let you know later next week. If this patch fixes it.

@cgmaier
Copy link
Contributor

cgmaier commented Sep 25, 2019

hey @shial4 hopefully the patch solves your issue 🙏

just to be sure - are you following this best practice ?
Create a new GiphyViewController every time you want to show GIPHY (maintaining a reference to the same GiphyViewController object isn't necessary and can impact performance, and lead to unexpected results)

btw for future reference, the latest & greatest docs will always be here:
https://github.com/Giphy/giphy-ios-sdk-ui-example/blob/master/Docs.md

@shial4
Copy link
Author

shial4 commented Sep 25, 2019

@cgmaier Thanks for your concern. We are following best practice.
Anyway, will keep you posted.

@cgmaier
Copy link
Contributor

cgmaier commented Oct 7, 2019

hey @shial4 do you have any update on this?

@shial4
Copy link
Author

shial4 commented Oct 7, 2019

Look like the crash numbers went down, however, I just did upload symbols. We should know shortly :)

@shial4
Copy link
Author

shial4 commented Oct 7, 2019

Looks good. Crashes are gone. Thank you @cgmaier

@shial4 shial4 closed this as completed Oct 7, 2019
@cgmaier
Copy link
Contributor

cgmaier commented Oct 7, 2019

Amazing, thanks @shial4 !

djrluna pushed a commit that referenced this issue Apr 21, 2021
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