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

Background ANRs are not tracked #1377

Open
vibin opened this issue Sep 16, 2021 · 2 comments
Open

Background ANRs are not tracked #1377

vibin opened this issue Sep 16, 2021 · 2 comments
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature

Comments

@vibin
Copy link

vibin commented Sep 16, 2021

The SIGQUIT-based ANR tracker that's present in the library doesn't track ANRs that happen in background if user has "Show background ANRs" switched off (which is the default value) in Developer options.

Any workaround for this?

Logs when the ANR occurs (without any dialog):

Thread[4,tid=14199,WaitingInMainSignalCatcherLoop,Thread*=0x712fa7be90,peer=0x12c40cd8,"Signal Catcher"]: reacting to signal 3
I  Wrote stack traces to tombstoned

Process com.my.package (PID: 14189) ended
@luke-belton
Copy link
Member

Hi @vibin 👋

At present Bugsnag does not track background ANRs even if the user has the option to 'show background ANRs' disabled. We've passed this onto our product team to consider adding to our roadmap. We'll update you here on any changes in the future.

@luke-belton luke-belton added backlog We hope to fix this feature/bug in the future feature request Request for a new feature labels Sep 20, 2021
@vibin
Copy link
Author

vibin commented Oct 27, 2021

Heads up: Crashlytics alpha build has started tracking (background + foreground) ANRs with the help of getHistoricalProcessExitReasons on Android 11 and above.

This would be a sweet addition to Bugsnag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants