Replace the minidump_writer_linux crate with the minidump-writer crate
Categories
(Toolkit :: Crash Reporting, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: gsvelto, Assigned: gsvelto)
References
(Blocks 4 open bugs)
Details
Attachments
(1 file, 2 obsolete files)
The minidump_writer_linux crate was the first replacement we used for writing minidumps w/o using Breakpad code; it has since been replaced by the minidump-writer code which is based on it but supports Android, macOS and Windows.
Ideally we should switch to that crate but there's an issue that prevents us from doing it with upstream: the crate depends on windows-sys which we can't vendor at the moment. As a stop-gap solution I'll fork upstream and rewrite the crate to rely on the winapi crate instead - the changes are minimal and keeping up with upstream is not a problem at the moment as I'm involved in its development.
This will require vendoring a few more small crates and a large one: minidump-common. We won't be building this crate right away, it will only be built once we enable Windows support which is off for now. While it's unpleasant to vendor large crates we know they'll be needed down the line for other purposes (such as client-side stackwalking).
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D158669
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D161134
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Now that all the dependencies have landed I've rebased my patch and I'm testing it. If all goes well I'll land it later today.
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
Description
•