Crash diagnostics for CoreCLR on mobile #127270
Unanswered
vitek-karas
asked this question in
General
Replies: 2 comments 1 reply
-
|
I think the order in which signal handlers fire is related to this. @jpnurmi opened this PR to try to fix duplicate exception issues we've been having on Mono: I assume similar choices exist re signal handling order when using the Core CLR rather than Mono as the runtime... so would be great to get that right from the start with Core CLR. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
In .NET 11 we're bringing CoreCLR to .NET mobile applications. Initial support is already available in Preview 3, it will expand in later previews, and the plan is for CoreCLR to become the default runtime.
One area that needs attention is crash diagnostics, especially on end-user devices.
Background
On mobile, OS-provided crash reports are limited because platform unwinders do not understand .NET managed frames. Mono had the same limitation in some cases, which can lead to shortened call stacks, poor symbolication, and less useful post-mortem information overall.
As we bring CoreCLR to mobile, we want to improve this experience there and make crash information more useful than what platform tooling can provide on its own.
Goal
We're in the process of adding runtime support that can capture useful crash diagnostics at the point of failure and write them onto the device before the application process is terminated.
The initial focus is crash reports and managed call stacks rather than dumps. We expect to write additional crash information into device logs, and likely also into a JSON crash report file using the same JSON format as existing crash report functionality enabled by
DOTNET_EnableCrashReport.Over time, we are also interested in whether dumps make sense for mobile scenarios, but that is a later step.
If you have feedback, ideas, or experience in this area, feel free to comment.
Beta Was this translation helpful? Give feedback.
All reactions