Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[runtime] Detect recursion when handling unhandled Objective-C except…
…ions. Fixes #14796. (#20276) Detect recursion when handling unhandled Objective-C exceptions, which can happen if: * We install a handler for unhandled Objective-C exceptions. * An unhandled Objective-C exception is caught. * We convert the unhandled Objective-C exception to a managed exception, and throw that. * Nobody handles the managed exception either, so we convert it to an Objective-C exception and throw that. * We re-enter the unhandled Objective-C exception handler, and the cycle continues. * Eventually the process crashes due to a stack overflow. Fixes #14796.
- Loading branch information
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.