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

Native events not always/immediately being delivered on iOS #3927

Closed
jamescrosswell opened this issue Jan 31, 2025 · 2 comments
Closed

Native events not always/immediately being delivered on iOS #3927

jamescrosswell opened this issue Jan 31, 2025 · 2 comments
Assignees

Comments

@jamescrosswell
Copy link
Collaborator

Sending exceptions from Sentry.Samples.Ios.csproj I noticed:

When I:

  1. Start the app
  2. Cause a native crash
  3. Restart the app

...the native crash gets delivered immediately.

However, if I:

  1. Start the app
  2. Cause a managed
  3. Crash a native crash
  4. Restart the app

... then the managed crash gets delivered but the native crash doesn't (at least not initially... it may be delivered [much] later - I haven't worked that out yet).

There may be some pattern to this but basically the delivery of native crash reports appears to be impacted/blocked/interrupted by the delivery of managed crash reports.

Needs more experimenting to work out what's going on and to create a reliable minimal reproducible example. There might be something funky going on between the cached http transport and the native sdk though.

@aritchie aritchie self-assigned this Feb 3, 2025
@aritchie
Copy link
Collaborator

aritchie commented Feb 6, 2025

@jamescrosswell It didn't take long for the native crash to show up (maybe a 30 second gap). It looks like the native portion has its own process queue. The dotnet background worker did seem to deliver the envelope first though.

@jamescrosswell
Copy link
Collaborator Author

Thanks @aritchie - let's close the issue then. If it's a genuine problem, presumably I (or someone else) will bump into it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants