Open Bug 1780644 Opened 3 years ago Updated 3 years ago

Crash in l10nregistry-ffi/src/registry.rs

Categories

(Core :: Internationalization, defect, P3)

defect

Tracking

()

People

(Reporter: fabrice, Unassigned)

Details

Similar context as https://bugzilla.mozilla.org/show_bug.cgi?id=1761584 we see intermittent crashes at https://searchfox.org/mozilla-central/rev/a352cc827575823676717d53766c39710b54201a/intl/l10n/rust/l10nregistry-ffi/src/registry.rs#223 :

Hit MOZ_CRASH(called Result::unwrap() on an Err value: RegistryLocked) at intl/l10n/rust/l10nregistry-ffi/src/registry.rs:223

Even if our context is different than Firefox, unwrapping like that is bound to fail. What would be the correct error management here (also for the double unwrap on the next line)?

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.