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

Crash when app goes to Background #231

Closed
TomCobo opened this issue Nov 25, 2020 · 5 comments
Closed

Crash when app goes to Background #231

TomCobo opened this issue Nov 25, 2020 · 5 comments

Comments

@TomCobo
Copy link

TomCobo commented Nov 25, 2020

Describe the bug
We are experiencing some of the sessions crash when the app goes to the background state.

To reproduce

Unable to reproduce. We got just the stack trace and some logs.

Stack trace

0  LaunchDarkly                   0x103d73e60 $s12LaunchDarkly13EventReporterC12reportEventsyyF + 108
1  LaunchDarkly                   0x103d834f0 $s12LaunchDarkly8LDClientC7runModeAA0c3RunE0OvW + 180
2  LaunchDarkly                   0x103d79b1c $sSo8NSThreadC12LaunchDarklyE13performOnMainyyyyXEFZ04$s12B83Darkly8LDClientC18didEnterBackground33_14C52C04C80D938C2FE76924F7908AD1LLyyFyyXEfU_AC0I0CTf1cn_nTf4dg_n + 88
3  LaunchDarkly                   0x103d83428 $s12LaunchDarkly8LDClientC18didEnterBackground33_14C52C04C80D938C2FE76924F7908AD1LLyyFToTm + 44

SDK version
4.7.0

Language version, developer tools
Swift 5.x

OS/platform
iOS 12, 13, 14

@torchhound
Copy link
Contributor

Hi @TomCobo, thanks for reporting this. Is this happening in a development or production environment? Are there a large number of events that the SDK is trying to flush? Do the devices seeing crashes have poor internet connections?

@TomCobo
Copy link
Author

TomCobo commented Nov 25, 2020

hi @torchhound, thanks for the quick response.
Yes, we are seeing this only in production and we don't have much more information right now regarding the number of events when flushing or the user's network conditions.
We can include some logs on the next release to gather more information.

Note: I've been debugging a bit our app using Network Link Conditioner and it seems stable.

@jbrozen
Copy link

jbrozen commented Nov 25, 2020

@torchhound - Should we also open a Support ticket with our TAM to help with this issue?

Internal reference: NIR-15644

Thanks

-Josh

@torchhound
Copy link
Contributor

Hi all, this sounds similar to another customer reported bug that was fixed in version 5 of the iOS SDK. @jbrozen opening a ticket is fine, please try upgrading the SDK if possible.

@torchhound
Copy link
Contributor

Hi all, we haven't heard back from you in a few months so I'm going to close this issue. Please feel free to comment if this is not resolved or reach out to [email protected].

keelerm84 pushed a commit that referenced this issue Jun 5, 2023
**Requirements**

- [ ] I have added test coverage for new or changed functionality
(Skipping this, that seems like a silly test to add)
- [x] I have followed the repository's [pull request submission
guidelines](../blob/v6/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions

**Related issues**


https://app.shortcut.com/launchdarkly/story/198156/fix-ios-builder-tryset-for-kind
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

3 participants