Closed Bug 1978519 Opened 1 year ago Closed 1 year ago

Text in the crash reporter dialog is not localized for the non-US FF builds

Categories

(Toolkit :: Crash Reporting, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
143 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox141 --- unaffected
firefox142 --- verified
firefox143 --- verified

People

(Reporter: atrif, Assigned: afranchuk)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

Found in

  • 142.0b1

Affected versions

  • 143.0a1 (2025-07-21)
  • 142.0b1

Tested platforms

  • Affected platforms: macOS 15 aarch, Ubuntu 24, Windows 11/10
  • Unaffected platforms: none

Preconditions

  • Have a localized build downloaded, e.g. "it", "fr" or "de".

Steps to reproduce

  1. Go to "about:crashparent" in a new tab.
  2. Pay attention to the text inside the crash reporter dialog

Expected result

  • The text inside the crash reporter dialog is accordingly translated to the tested build ("it", "fr" or "de").

Actual result

  • The text inside the crash reporter dialog is not translated to the tested build ("it", "fr" or "de").

Regression range

Summary: [macOS] Text in the crash reporter dialog is not localized for the non-US FF builds → Text in the crash reporter dialog is not localized for the non-US FF builds

:gsvelto, since you are the author of the regressor, bug 1964600, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(gsvelto)
QA Whiteboard: [qa-found-in-b142] → [qa-found-in-b142] [S3]

Alex, could you investigate this? I don't think it's because of bug 1964600 given it touches unrelated code. The pushlog contains an update to the fluent crates though (bug 1959777) and the version used by the crash reporter client has been bumped from 0.16.0 to 0.17.0. Maybe that's what's causing the issue?

Severity: -- → S2
Flags: needinfo?(gsvelto) → needinfo?(afranchuk)
Assignee: nobody → afranchuk
Status: NEW → ASSIGNED
Flags: needinfo?(afranchuk)
No longer regressed by: 1964600

I'm seeing

[ERROR crashreporter::lang] failed to read localization data from the omnijar (failed to read zip archive in ./omni.ja: invalid Zip archive: Could not find EOCD)

So this seems related to bug 1975416.

Regressed by: 1975416

The regression was introduced by https://github.com/zip-rs/zip2/pull/247. I wish people were required to give a reason when yanking crate versions. I can't find why 2.1.3 was yanked (which is what prompted the update in the regressing bug).

I've created https://github.com/zip-rs/zip2/issues/384 upstream, and will create a patch of zip in our vendored version in the meantime.

Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0413d489221d https://hg.mozilla.org/integration/autoland/rev/6c2ebe6bac67 Revert "Bug 1978519 - Patch the zip crate to allow reading omnijars r=gsvelto" for causing xpc failures @ test_crashreporter_omnijar_loading.js

Ah whoops, I forgot that I intended for the new test to only run on linux (just as a matter of simplifying the test itself), since the loading of the omnijar shouldn't rely on the platform. :gsvelto do you think that would be okay, or should I run it on all platforms (which would require extra brittle code to get the correct path for the crashreporter)?

Flags: needinfo?(afranchuk) → needinfo?(gsvelto)

Linux only is fine for me. Just open a low-priority follow-up to enable it on other platforms too.

Flags: needinfo?(gsvelto)

I realized this is easy if I just put the test with the other crashreporter tests, where we already have a single function to get the crashreporter client path, so I did that.

As a reminder we are in the last week of betas if we intend to fix this for 142.

Thanks for the reminder; I'm landing it now.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch

The patch landed in nightly and beta is affected.
:afranchuk, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(afranchuk)
Attachment #9505202 - Flags: approval-mozilla-beta?
Attachment #9505203 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: Incorrect localization in the crash reporter client
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Install a non-en-US firefox. Navigate to about:crashparent. Verify the crash reporter client comes up with the installed locale.
  • Risk associated with taking this patch: Low
  • Explanation of risk level: This is a minor patch to the zip crate to support loading the omnijar from the crash reporter client. No other code uses the zip crate in our repository.
  • String changes made/needed: No
  • Is Android affected?: no
Flags: qe-verify+
Flags: needinfo?(afranchuk)
Attachment #9505202 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9505203 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: in-testsuite+
QA Whiteboard: [qa-found-in-b142] [S3] → [qa-found-in-b142] [S3] [uplift] [qa-ver-needed-c143/b142]

Verified fixed with Firefox 143.0a1 (2025-08-05) on Windows 10x64, macOS 14 and Ubuntu 24. The crash reporter is localized when using localized builds.

Verified fixed with Firefox 142.0b8 on Windows 10x64, macOS 12 and Ubuntu 24. The crash reporter is localized when using localized builds.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-found-in-b142] [S3] [uplift] [qa-ver-needed-c143/b142] → [qa-found-in-b142] [S3] [uplift] [qa-ver-done-c143/b142]
Flags: qe-verify+
Regressions: 2043494
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: