Closed Bug 1723187 Opened 4 years ago Closed 4 years ago

Startup Crash in [@ l10nregistry::source::FileSource::fetch_file_sync]

Categories

(Core :: Internationalization: Localization, defect)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox90 --- unaffected
firefox91 --- unaffected
firefox92 + fixed

People

(Reporter: aryx, Assigned: zbraniecki)

References

(Regression)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(3 files)

9 crashes from 9 different machines so far.

Maybe Fission related. (DOMFissionEnabled=1)

Crash report: https://crash-stats.mozilla.org/report/index/1479b6ec-f1cc-44f2-ab7b-3bbcd0210730

MOZ_CRASH Reason: [l10nregistry] Attempting to synchronously load file resource://app/localization/en-US/branding/brand.ftl while it's being loaded asynchronously.

Top 10 frames of crashing thread:

0 xul.dll RustMozCrash mozglue/static/rust/wrappers.cpp:17
1 xul.dll mozglue_static::panic_hook mozglue/static/rust/lib.rs:91
2 xul.dll core::ops::function::Fn::call<fn ../53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/ops/function.rs:227
3 xul.dll std::panicking::rust_panic_with_hook ../53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b//library/std/src/panicking.rs:595
4 xul.dll std::panicking::begin_panic_handler::{{closure}} ../53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b//library/std/src/panicking.rs:497
5 xul.dll std::sys_common::backtrace::__rust_end_short_backtrace<closure-0, !> ../53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b//library/std/src/sys_common/backtrace.rs:141
6 xul.dll std::panicking::begin_panic_handler ../53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b//library/std/src/panicking.rs:493
7 xul.dll std::panicking::begin_panic_fmt ../53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b//library/std/src/panicking.rs:435
8 xul.dll l10nregistry::source::FileSource::fetch_file_sync third_party/rust/l10nregistry/src/source/mod.rs:257
9 xul.dll l10nregistry_ffi::source::l10nfilesource_fetch_file_sync intl/l10n/rust/l10nregistry-ffi/src/source.rs:266
Severity: -- → S2
Summary: Crash in [@ l10nregistry::source::FileSource::fetch_file_sync] → Startup Crash in [@ l10nregistry::source::FileSource::fetch_file_sync]
Assignee: nobody → zbraniecki
Status: NEW → ASSIGNED
See Also: → 1723191
Pushed by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/1f2953ad605e Force sync load of a file if async load is in progress. r=emilio a=nightly-fix
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/349a7529d6cc Force sync load of a file if async load is in progress. r=emilio

We're still crashing with these patches.

Status: RESOLVED → REOPENED
Flags: needinfo?(zbraniecki)
Resolution: FIXED → ---

We're still crashing with these patches.

I don't see a way for that to be possible. The crash description is associated with a single line that is not exercised with this patch.

Is there a chance that those crashes are from builds without the patch?

Flags: needinfo?(zbraniecki)

The stacks point at https://hg.mozilla.org/mozilla-central/annotate/ea89827501c6f1abd7451f894221eebc367b2be0/third_party/rust/l10nregistry/src/source/mod.rs#l257

Correct.

This line is only executed if the previous branch is not matched: https://hg.mozilla.org/mozilla-central/annotate/ea89827501c6f1abd7451f894221eebc367b2be0/third_party/rust/l10nregistry/src/source/mod.rs#l239

but with this patch the only callsite of this function calls overload true, so the line you listed should never be called.

ah, no, there's one more!

Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/940b5749ae17 Update l10nregistry-rs to handle sync-during-async overload. r=emilio
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED

This is still being reported for today's Nightly (20210803094710) - should this bug be reopened?

Flags: needinfo?(zbraniecki)

agh, yes! One more place! Grr.

Status: RESOLVED → REOPENED
Flags: needinfo?(zbraniecki)
Resolution: FIXED → ---
Target Milestone: 92 Branch → ---

I promise this is the last one... :)

Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4a60305db337 Update l10nregistry-rs to handle sync-during-async overload, part2. r=emilio
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: