-
Notifications
You must be signed in to change notification settings - Fork 52
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 in PingbackCollector #81
Comments
we dogfood the sdk in our GIPHY apps, and haven't identified any similar crashes. it could be a red herring? |
I looked at our metrics and it appears that there's a 10:1 ratio between the number of users who successfully sent a gif from Giphy to the number of crashes we're seeing with this signature. Those numbers are only mostly correlated, of course. |
hopeful fix for the latest release: https://github.com/Giphy/giphy-ios-sdk-ui-example/releases/tag/v2.0 has anyone been able to reproduce or gotten any outreach from users that verify this issue? 10:1 seems like a fairly significant ratio, considering we can't seem to reproduce it ourselves. |
We're working on reproducing it in-house and will let you know -- thanks as always for the quick response! I'm wondering if it happens on initialize -- if so it would look the same as any other crash to our users, and the ratio of all of our users to the number of crashes with this signature is significantly lower than 10:1. |
We started encountering this crash when we move things around in our project resulting on us calling |
an update here: as @johnlo-bandlab has suggested, this crash seems to result from multiple calls to I did a deep dive in the code today and found that we have a seemingly innocuous line in that we weren't able to find any crashes similar to this in the GIPHY iOS App, which "dogfoods" this SDK and only ever calls we'll be sure to prevent multiple thanks all for the patience on this! cc @beamPacer |
Mm, ok -- thinking about this more, our static once call to configure would still be called every time a new instance of the class is initialized, which explains why instances of this crash went down but stayed around after we made that change. Ok! We'll go in and verify that it only ever happens exactly once no matter what. |
@cgmaier , Our app just got release 3 days ago so I can't fully verify yet that it fixed the issue. So far there's no instance of crash when we call configure only once. thanks for all the help. 👍 |
We haven't seen this crash occur in our release which only calls configure once. Thanks again Chris! |
that's awesome! thanks for the follow up. will close this issue : ) |
hey @mmdock with the latest release |
We have very few crash of this nature. I'm not sure if we cause this because it only started appearing a couple of weeks ago after months of using giphy.
The text was updated successfully, but these errors were encountered: