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

Report Fatal App Hangs #4260

Open
1 of 2 tasks
Tracked by #4261
philipphofmann opened this issue Aug 8, 2024 · 0 comments
Open
1 of 2 tasks
Tracked by #4261

Report Fatal App Hangs #4260

philipphofmann opened this issue Aug 8, 2024 · 0 comments
Assignees

Comments

@philipphofmann
Copy link
Member

philipphofmann commented Aug 8, 2024

Description

When an app hang leads to a watchdog termination, we can report this as a fatal app hang. When the SDK detects a fully blocking app hang, it needs to store the app hang to disk and wait for the app to recover from the app hang. When the app doesn't recover, the SDK must send the app hang as a fatal on the next app launch. When the app recovers from the app hang, then it must send it as a fully blocking app hang. The downside of this approach is that app hangs will be reported a bit delayed, which is acceptable.

We must align with Android and report sessions as abnormal when a fatal app hang occurs. For reference: getsentry/sentry-java#2475

This issue is a prerequisite to #3319, because the app hang rate only considers fatal app hangs.

Tasks

Preview Give feedback
  1. philipphofmann
  2. philipphofmann
@github-project-automation github-project-automation bot moved this to Needs Discussion in Mobile & Cross Platform SDK Aug 8, 2024
@kahest kahest moved this from Needs Discussion to Backlog in Mobile & Cross Platform SDK Aug 14, 2024
@kahest kahest moved this from Backlog to Todo in Mobile & Cross Platform SDK Aug 14, 2024
@philipphofmann philipphofmann self-assigned this Feb 13, 2025
@philipphofmann philipphofmann moved this from Todo to In Progress in Mobile & Cross Platform SDK Feb 13, 2025
philipphofmann added a commit that referenced this issue Feb 24, 2025
This PR reports fatal app hangs without session updates, only when the
experimental option enableAppHangTrackingV2 is enabled. Updating the
session will be done in a follow-up PR.

This fixes the first part of GH-4260.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant