Closed Bug 1681426 Opened 4 years ago Closed 4 years ago

Startup Crash in [@ core::option::expect_none_failed | xulstore::statics::get_database]

Categories

(Core :: SQLite and Embedded Database Bindings, defect)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox83 --- unaffected
firefox84 --- unaffected
firefox85 --- fixed

People

(Reporter: aryx, Assigned: vporof)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/291bace9-0b2b-4a2c-a66f-b88b70201208

MOZ_CRASH Reason: called `Result::unwrap()` on an `Err` value: DatabaseCorrupted

Top 10 frames of crashing thread:

0 xul.dll RustMozCrash mozglue/static/rust/wrappers.cpp:16
1 xul.dll mozglue_static::panic_hook mozglue/static/rust/lib.rs:89
2 xul.dll core::ops::function::Fn::call<fn ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/core/src/ops/function.rs:227
3 xul.dll std::panicking::rust_panic_with_hook ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/std/src/panicking.rs:581
4 xul.dll std::panicking::begin_panic_handler::{{closure}} ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/std/src/panicking.rs:484
5 xul.dll std::sys_common::backtrace::__rust_end_short_backtrace<closure-0, !> ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/std/src/sys_common/backtrace.rs:153
6 xul.dll std::panicking::begin_panic_handler ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/std/src/panicking.rs:483
7 xul.dll core::panicking::panic_fmt ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/core/src/panicking.rs:85
8 xul.dll core::option::expect_none_failed ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/core/src/option.rs:1234
9 xul.dll xulstore::statics::get_database toolkit/components/xulstore/src/statics.rs:49

DatabaseCorrupted is a result only occurring when lmdb::Error::Corrupted is received, and bug 1654192 should have removed all traces of LMDB. Investigating.

Assignee: nobody → vporof
Status: NEW → ASSIGNED

I've also noticed some crashes when migrating kvstore to use Managers earlier this summer, which seem to be the same issue as bug 1531887. I don't know if that's the cause of this particular crash as well, but xulstore wasn't using Manager before either.

Another thing that might fix this is bug 1681492, which vendors in https://github.com/mozilla/rkv/pull/211

Pushed by vporof@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/06e7aa9b7420 Enable 'no-canonicalize-path' for xulstore, r=nanj
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: