Closed Bug 1793784 Opened 2 years ago Closed 2 years ago

Replace the minidump_writer_linux crate with the minidump-writer crate

Categories

(Toolkit :: Crash Reporting, task)

task

Tracking

()

RESOLVED FIXED
110 Branch
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).

Blocks: 1644486
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Blocks: 1710940
Blocks: 1588530
Attached file WIP: Bug 1793784 - Audits (obsolete) —

Depends on D161134

Attachment #9297273 - Attachment description: WIP: Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate → Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=KrisWright
Attachment #9302026 - Attachment is obsolete: true
Attachment #9301749 - Attachment is obsolete: true
Depends on: 1804360, 1804361, 1804359
Depends on: 1804570
Blocks: 1698178
Depends on: 1805427
No longer depends on: 1805427

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.

Attachment #9297273 - Attachment description: Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=KrisWright → Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=glandium
Pushed by gsvelto@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/404e1b833ec6 Replace the minidump_writer_linux crate with the minidump-writer crate r=glandium,supply-chain-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Regressions: 1819969
Regressions: 1823692
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: