Open Bug 1620989 Opened 5 years ago Updated 3 years ago

Rewrite the Linux exception-handler in Rust

Categories

(Toolkit :: Crash Reporting, task)

All
Linux
task

Tracking

()

People

(Reporter: gsvelto, Unassigned)

References

(Blocks 1 open bug)

Details

As per the title we should rewrite Breakpad's exception handler in Rust and put the code in the new Rust crate that will replace Breakpad. We should at least match the functionality we have in Breakpad in terms of handled signals and possibly integrate the broader set of signals supported by Crashpad.

The code here will not be able to function in a stand-alone way but can be written separately from the rest.

Blocks: 1620993

Would this be open to outside contribution, or do you want this to be implemented in-house by somebody who knows the ins and outs of the code to be rewritten? I might get some time to work on this, but have no experience with the original codebase.

Flags: needinfo?(gsvelto)

This is open to outside contribution, but there's a few ifs and buts involved. The biggest issue is that there's a lot of moving parts involved. Some stuff needs to happen before we can start the work here, starting with bug 1620998. It's something that I should have already done but due to what happened this year it just couldn't happen. The other issue is that this code is currently intimately intertwined with Gecko code and it's not very well structured. You would need to familiarize yourself with it first and spending days reading code is not super-fun usually.

If you're interested in this area of code bug 1620993 would be easier to start with and integrate in the existing code base. It's not a small task though.

Flags: needinfo?(gsvelto)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.