Closed Bug 1929893 Opened 1 year ago Closed 7 days ago

Crash in [@ OOM | unknown | js::AutoEnterOOMUnsafeRegion::crash_impl | js::CurrentThreadCanAccessRuntime]

Categories

(Core :: JavaScript: GC, defect, P3)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sefeng211, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/0a5aa3ec-ef9b-4d79-bf80-10de10241106

MOZ_CRASH Reason:

[unhandlable oom] Failed to allocate new chunk during GC

Top 10 frames:

0  xul.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:324
0  xul.dll  js::AutoEnterOOMUnsafeRegion::crash_impl(char const*)  js/src/vm/JSContext.cpp:1348
1  xul.dll  js::CurrentThreadCanAccessRuntime(JSRuntime const*)  js/src/vm/Runtime.cpp:784
1  xul.dll  js::gc::PerformIncrementalPreWriteBarrier(js::gc::TenuredCell*)  js/src/gc/Marking.cpp:952
1  xul.dll  js::gc::PreWriteBarrierImpl(js::gc::TenuredCell*)  js/src/gc/Cell.h:519
1  xul.dll  js::gc::PreWriteBarrierImpl(js::gc::Cell*)  js/src/gc/Cell.h:528
1  xul.dll  js::gc::ValuePreWriteBarrier(JS::Value const&)  js/src/gc/Barrier.h:314
1  xul.dll  js::InternalBarrierMethods<js::HashableValue, void>::preBarrier(js::HashableV...  js/src/builtin/MapObject.h:77
1  xul.dll  js::WriteBarriered<js::HashableValue>::pre()  js/src/gc/Barrier.h:519
1  xul.dll  js::PreBarriered<js::HashableValue>::~PreBarriered()  js/src/gc/Barrier.h:556

Looks like an OOM crash with recent spikes?

This stack doesn't make sense. CurrentThreadCanAccessRuntime does not do anything to allocate chunks. It should not be possible to get that crash from the lower part of this stack.

Reported the impossible stacks in Bug 1930705

Blocks: GC.stability
Severity: -- → S4
Priority: -- → P3
See Also: → 1930705

Closing because no crashes reported for 12 weeks.

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