Skip to content

Fix recursive ExceptionObjHolderImpl crash in exception reporting#48

Open
dimohamdy wants to merge 1 commit intorickclephas:masterfrom
dimohamdy:fix/crashlytics-recursive-exception-crash
Open

Fix recursive ExceptionObjHolderImpl crash in exception reporting#48
dimohamdy wants to merge 1 commit intorickclephas:masterfrom
dimohamdy:fix/crashlytics-recursive-exception-crash

Conversation

@dimohamdy
Copy link

Add re-entrancy guards and exception handling to prevent crashes when exceptions are thrown during exception conversion or Crashlytics reporting.

  • Add atomic guard in unhandled exception hook wrapper
  • Add re-entrancy protection in Crashlytics reporter
  • Add try-catch fallback in exception conversion to NSException
  • Prevent recursive termination handler invocation

Fixes crash: Fatal Exception: (anonymous namespace)::ExceptionObjHolderImpl

Add re-entrancy guards and exception handling to prevent crashes when
exceptions are thrown during exception conversion or Crashlytics reporting.

- Add atomic guard in unhandled exception hook wrapper
- Add re-entrancy protection in Crashlytics reporter
- Add try-catch fallback in exception conversion to NSException
- Prevent recursive termination handler invocation

Fixes crash: Fatal Exception: (anonymous namespace)::ExceptionObjHolderImpl
@rickclephas
Copy link
Owner

Hey! Could you provide some more details about these crashes?

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

Successfully merging this pull request may close these issues.

2 participants