---
title: "Improving Firefox stability on Linux"
description: "Mozilla went from being able to symbolicate under 20% of Linux Firefox crash reports to over 99% by scraping debug information for distro-packaged Firefox builds and their dependencies (GTK, Mesa, fontconfig, SQLite, etc.) from Arch, Debian, Fedora, OpenSUSE and Ubuntu repositories."
url: "https://swe.quest/articles/improving-firefox-stability-on-linux-d17615a93e9d8285"
canonical: "https://hacks.mozilla.org/2021/05/improving-firefox-stability-on-linux/"
source: "Mozilla Hacks"
published: "2021-05-19"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["debugging","linux","observability","open-source","rust"]
---

# Improving Firefox stability on Linux

A post on [Mozilla Hacks](https://swe.quest/sources/mozilla-hacks.md), published 2021-05-19, 6 min read, Case study. Original: [https://hacks.mozilla.org/2021/05/improving-firefox-stability-on-linux/](https://hacks.mozilla.org/2021/05/improving-firefox-stability-on-linux/)

## Summary

Mozilla went from being able to symbolicate under 20% of Linux Firefox crash reports to over 99% by scraping debug information for distro-packaged Firefox builds and their dependencies (GTK, Mesa, fontconfig, SQLite, etc.) from Arch, Debian, Fedora, OpenSUSE and Ubuntu repositories. The scripts convert that debug info into Breakpad symbol files, which the Socorro crash processor uses to turn minidumps into readable stack traces. With those traces the team caught distro-specific regressions such as a Debian fontconfig backport bug within days and sent fixes upstream to Mesa, GTK and glib. The crash analysis tooling was also rewritten in Rust on top of Sentry's crates, making it much faster and lighter on memory.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Debugging](https://swe.quest/tags/debugging.md) (Engineering practices)
- [Linux](https://swe.quest/tags/linux.md) (Infrastructure)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Rust](https://swe.quest/tags/rust.md) (Languages)

## Prerequisites

- stack traces and debug symbols
- Linux packaging ([easy posts on Linux](https://swe.quest/tags/linux.md?difficulty=easy))

## Keywords

Breakpad, Socorro, minidump, Firefox, Sentry, probabilistic heap checker

## Related posts

- [Everything Is Broken: Shipping rust-minidump at Mozilla – Part 1](https://swe.quest/articles/everything-is-broken-shipping-rust-minidump-at-mozilla-part-1-75139938732d2040.md): Mozilla Hacks · 2022-06-14 · Medium · 19 min read · Rust, Testing, Debugging, Refactoring & migrations
  rust-minidump, a pure-Rust replacement for the minidump-processing half of Google Breakpad, has been Firefox's crash-processing backend for six months, running in about half the time of Breakpad and appearing more reliable.
- [Core dump epidemiology: fixing an 18-year-old bug](https://swe.quest/articles/core-dump-epidemiology-fixing-an-18-year-old-bug-49f918c45e5e4eb3.md): OpenAI · 2026-06-30 · Hard · 16 min read · Debugging, C & C++, Linux, Hardware, Incidents & postmortems
  Mysterious return-to-bogus-address crashes in Rockset's C++ execution layer turned out to be two unrelated bugs: silent register corruption on a single bad Azure host, and an 18-year-old race in GNU libunwind's \_Ux86\_64\_setcontext, which read the synthesized ucontext\_t after moving %rsp past it, letting a frequent SIGUSR2 CPU-time signal clobber it during exception unwinding.
- [Fuzzing rust-minidump for Embarrassment and Crashes – Part 2](https://swe.quest/articles/fuzzing-rust-minidump-for-embarrassment-and-crashes-part-2-036e58ccd9566822.md): Mozilla Hacks · 2022-06-23 · Medium · 16 min read · Testing, Rust, Debugging, Vulnerability research
  Fuzzing rust-minidump with cargo-fuzz and libfuzzer turned up a series of real bugs in a Rust rewrite of Breakpad's minidump processor that had otherwise shipped cleanly.
- [Behind the Scenes Hardening Firefox with Claude Mythos Preview](https://swe.quest/articles/behind-the-scenes-hardening-firefox-with-claude-mythos-preview-5cd30e8aafae42d9.md): Mozilla Hacks · 2026-05-07 · Medium · 11 min read · Vulnerability research, AI agents, Browsers, LLMs
  Mozilla fixed 271 latent security bugs in Firefox 150 found by Claude Mythos Preview, and 423 security bugs overall in April, using an agentic harness built on its existing fuzzing infrastructure.
- [bun.report is Bun's new crash reporter](https://swe.quest/articles/bun-report-is-bun-s-new-crash-reporter-19b1535d615212f4.md): Bun · 2024-04-26 · Medium · 8 min read · Debugging, Zig, Developer tools, Privacy
  Bun v1.1.5 replaces unsymbolicated crash output with a compact ~150-byte bun.report URL that encodes platform, subcommand, commit SHA, a 64-bit feature-usage bitfield, crash type and message, and ASLR-adjusted stack addresses as base64 VLQs, with no personal information.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
