Include Java stack with native crashes for assertion failures and MOZ_CRASH
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: rbarker, Unassigned)
References
(Blocks 1 open bug)
Details
Currently in GeckoView, a native crash report only includes the native stack. However sometimes it would be beneficial to know the Java stack that was responsible for calling the native code. If the Java stack for the crashing thread were included in the crash report, it would probably help in diagnosing and fixing some issues.
For an actual native crash, we can't do this, because it's not safe to touch the VM. For assertions or other abort-like cases, though, we should be able to do this.
Comment 2•5 years ago
|
||
We need to change the assertion macro to capture the Java stack. The Java stack may include PII, so we need to ensure that the Java stack is private on crash-stats.
Comment 3•5 years ago
|
||
The Java stack may include PII, so we need to ensure that the Java stack is private on crash-stats.
Is it actually necessary to hide the complete stack trace? For Fennec crashes, AFAIK only the full exception message is hidden because that can indeed possibly contain some PII like file paths, other (user-entered) strings, etc.
Updated•5 years ago
|
Updated•4 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Description
•