-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Store unhandled exception info on stack in Native AOT #84636
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsThe basic problem here is tools scanning crash dumps from Native AOT and needing information about unhandled exceptions that caused the crash. Because Native AOT has its own exception handling mechanism, most tools will not automatically know what to look for. One solution to this is to store additional info directly in the stack, which almost all crash dumps will preserve for analysis.
|
There is a bunch of left-over UWP code under |
Allocates a span on the stack to hold the ToString of the exception, as well as a CrashRecord which contains a unique cookie that can be used to find the exception info. Fixes #84636
The basic problem here is tools scanning crash dumps from Native AOT and needing information about unhandled exceptions that caused the crash. Because Native AOT has its own exception handling mechanism, most tools will not automatically know what to look for.
One solution to this is to store additional info directly in the stack, which almost all crash dumps will preserve for analysis.
The text was updated successfully, but these errors were encountered: