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

Calling NSProcessInfo.thermalState from an app with bugsnag installed crashes with _os_unfair_lock_recursive_abort #1511

Closed
ericcj opened this issue Dec 15, 2022 · 3 comments
Labels
bug Confirmed bug released This feature/bug fix has been released

Comments

@ericcj
Copy link

ericcj commented Dec 15, 2022

Apparently calling NSProcessInfo.thermalState can trigger NSProcessInfoThermalStateDidChangeNotification so the NoteThermalState receiver needs to dispatch its call to access NSProcessInfo.thermalState on the object sent to it or it can trigger recursion that crashes the app. This appears to only happen ~10% of the time but we're not certain:

Screen Shot 2022-12-15 at 9 19 59 AM

@bcherry
Copy link

bcherry commented Dec 15, 2022

Note that all cases of this that we have seen so far are on iOS 15.1.0

@johnkiely1
Copy link
Member

Hi, thanks for raising, we're going to take a look into addressing this as soon as we can.

@johnkiely1 johnkiely1 added bug Confirmed bug backlog We hope to fix this feature/bug in the future labels Dec 16, 2022
@johnkiely1
Copy link
Member

This should now be resolved in v6.25.2.

@johnkiely1 johnkiely1 added released This feature/bug fix has been released and removed backlog We hope to fix this feature/bug in the future labels Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bug released This feature/bug fix has been released
Projects
None yet
Development

No branches or pull requests

3 participants