Closed Bug 1690386 Opened 4 years ago Closed 3 years ago

Crash in [@ OOM | large | mozalloc_abort | std::fs::read::inner]

Categories

(Core :: Security: PSM, defect)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mccr8, Unassigned, NeedInfo)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/fa8284ee-a349-41a5-85ee-9cfda0210202

MOZ_CRASH Reason: MOZ_CRASH()

Top 10 frames of crashing thread:

0 mozglue.dll mozalloc_abort memory/mozalloc/mozalloc_abort.cpp:33
1 mozglue.dll mozalloc_handle_oom memory/mozalloc/mozalloc_oom.cpp:51
2 xul.dll gkrust_shared::oom_hook::hook toolkit/library/rust/shared/lib.rs:132
3 xul.dll std::alloc::rust_oom ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/std/src/alloc.rs:330
4 xul.dll alloc::alloc::handle_alloc_error ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/alloc/src/alloc.rs:343
5 xul.dll std::fs::read::inner ../7eac88abb2e57e752f3302f02be5f3ce3d7adfb4//library/std/src/fs.rs:238
6 xul.dll rkv::backend::impl_safe::environment::{{impl}}::open third_party/rust/rkv/src/backend/impl_safe/environment.rs:121
7 xul.dll cert_storage::make_env security/manager/ssl/cert_storage/src/lib.rs:1064
8 xul.dll cert_storage::SecurityState::open_db security/manager/ssl/cert_storage/src/lib.rs:163
9 xul.dll cert_storage::{{impl}}::allocate::GetRevocationState security/manager/ssl/cert_storage/src/lib.rs:1284

This is not the greatest crash signature, and maybe some of these library frames could be added to the skip or irrelevant lists, but it looks like most or all of the crashes with this signature are happening with cert_storage::make_env.

Seems like an rkv issue?

Flags: needinfo?(vporof)

The allocation size is 4MB which is a bit large, but on the other hand this user has only around 6MB of available page file so if it wasn't this that crashed for them it might have been something else.

I'm not sure there's anything we can do here if the user runs out of memory.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.