Crash reports in Firefox for Desktop

Firefox Firefox 最近更新: 100% 使用者覺得這篇文章有幫助
還沒有幫人幫忙翻譯這篇文章。若您已經知道如何翻譯 SUMO 內容,您可以直接開始翻譯。若您想了解如何翻譯 SUMO 文章,請從此處開始

progressive rollout banner Firefox handles data with transparency—learn more about what that means for you. Read the Firefox Privacy Notice.

When Firefox for Desktop crashes, it can send a crash report to Mozilla to help us fix bugs and improve the browser. You can choose to send them on a case-by-case basis after a crash or enable automatic submission.

This article explains what’s included in a crash report, how Mozilla uses it, and how you can manage the setting to automatically send crash reports.

What’s included in a crash report?

Crash reports contain technical details about the crash to help Mozilla identify and fix problems in Firefox. Here’s what’s included:

  • Crash metadata: Information such as the operating system, Firefox version, and the time of the crash. This allows us to narrow down what platforms/user groups are affected by the crash.
  • Device memory usage: Information about available memory at the time of the crash. Memory information can be a useful tool to determine whether a crash is caused by low system memory.
  • Crash stack traces: Technical details about the code running at the time of the crash. These details guide developers to identify the cause of the crash (whether due to Firefox or third-party code).
  • Snapshots from the program memory: Small fragments of memory will be stored in the report to help developers analyze the crash. These might contain private information and will only be accessible by a small number of developers within Mozilla.
  • Browsing metadata: The URL that was loaded at the time of the crash may be included if you opt-in to sending it. Sometimes, crashes can only be reproduced by certain webpages, so the URL involved may be valuable to debug the cause of the crash.
  • Hardware testing results: We receive a remarkable number of crashes that are simply due to bad hardware. To help identify these cases, we perform simple hardware tests and include results in reports. The tests do not take long and the results do not contain personal identifiable information, however users can opt-out of sending this information.

Some crash reports may include additional debugging information, such as minidumps – small memory snapshots that may contain data such as the list of files that were opened by Firefox at the time of crash or the last URL the user was visiting, to help diagnose crashes. Only a limited number of Mozilla engineers have access to this data.

For a detailed breakdown of the data included in crash reports, visit the Glean Dictionary.

What’s included in a crash ping?

Firefox also sends crash pings, smaller reports containing only the non-identifying metadata about crashes. These are sent automatically unless you opt out of technical and interaction data collection in your settings. While crash pings contain less information than crash reports, they serve an important role in prioritizing debugging efforts (since they give a better estimate of the impact of bugs, not to mention they give insights into background process crashes for which we normally do not receive reports). Crash pings also give a much more accurate representation of the overall stability of Firefox.

For a detailed breakdown of the data included in crash pings, visit the Glean Dictionary.

How does Mozilla use crash reports and crash pings?

Mozilla uses crash pings and reports to fix bugs by understanding what caused the crash and prioritizing fixes, improve reliability by identifying trends to make Firefox more stable, and enhance user experience by ensuring future updates are less likely to crash.

Allow Firefox to automatically send crash reports

You can control whether Firefox automatically sends crash reports:

  1. In the Menu bar at the top of the screen, click Firefox and select Settings (select Preferences on older macOS versions).Click the menu button Fx89menuButton and select Settings.
  2. Go to the Privacy & Security panel.
  3. Scroll down to the Firefox Data Collection and Use section.
  4. Check or uncheck the box next to Automatically send crash reports.

Automatically send crash reports

What happens if I enable this option?

If you enable this option, Firefox will automatically send crash reports. This ensures that Mozilla receives important crash data to improve Firefox’s stability. If you leave this option disabled (the default setting), crash reports will remain saved locally on your device until you manually choose to send them — for example, by submitting a crash report after Firefox prompts you following a new crash.

Manually submitting crash reports

Aside from choosing to submit crash reports immediately following a crash, you can also view all of your crash reports and potentially submit them later by navigating to about:crashes in the URL bar.

Related content

To learn more about how Mozilla handles your data, check out these resources:

這些好人幫助我們撰寫了這篇文章:

Illustration of hands

成為志工

在此回答問題並幫助我們改善知識庫內容,與其他人一起切磋琢磨專業能力。

了解更多