[meta] Crash reporting Rust rewrite
Categories
(Toolkit :: Crash Reporting, task)
Tracking
()
People
(Reporter: gsvelto, Unassigned)
References
(Depends on 5 open bugs, Blocks 1 open bug)
Details
(Keywords: meta)
We'll use this meta-bug to track all activities related to the crash reporter rewrite. Here's links to the design documents with all the nitty-gritty details:
Reporter | ||
Updated•5 years ago
|
Do the Linux libc limitations of the current crashreporter (which I don't quite understand yet) carry over to the Rust reporter?
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to David Teller [:Yoric] (please use "needinfo") from comment #1)
Do the Linux libc limitations of the current crashreporter (which I don't quite understand yet) carry over to the Rust reporter?
Generally speaking no. Most of the limitations regarding libc on Linux (and functions doing allocations on macOS & Windows) stem from the fact that they run within the exception handler and so they might trigger a recursive exception which we obviously don't want. Right now when the main process crashes we have to generate the minidump from within the crashed process which causes the exception handler to be large and complex. The Rust rewrite will do all minidump generation out-of-process so the exception handler will be a lot smaller and thus will only require to do a minimum amount of external calls to do its job.
You can find more details on this problem (and other ones too) in the documents in comment 0.
Most of the limitations regarding libc on Linux (and functions doing allocations on macOS & Windows) stem from the fact that they run within the exception handler and so they might trigger a recursive exception which we obviously don't want.
Yeah, that's what I figured at first. And then, digging up in the code, it started mentioning sandboxing, at which point I stopped.
You can find more details on this problem (and other ones too) in the documents in comment 0.
You're right, I should have read this first. Thanks, will catch up on this!
Reporter | ||
Updated•4 years ago
|
Updated•2 years ago
|
Updated•6 months ago
|
Description
•