Closed Bug 1448089 Opened 7 years ago Closed 7 years ago

Crash in OOM | unknown | js::AutoEnterOOMUnsafeRegion::crash | js::jit::MBasicBlock::addPredecessorSameInputsAs

Categories

(Core :: JavaScript Engine: JIT, defect, P2)

59 Branch
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox-esr52 --- wontfix
firefox-esr60 --- fixed
firefox59 --- wontfix
firefox60 --- fixed
firefox61 --- fixed

People

(Reporter: lovecs0079, Assigned: nbp)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is report bp-41a47bd8-d567-4535-a6bc-65f841180322. ============================================================= Top 10 frames of crashing thread: 0 xul.dll js::AutoEnterOOMUnsafeRegion::crash js/src/jscntxt.cpp:1651 1 xul.dll js::jit::MBasicBlock::addPredecessorSameInputsAs js/src/jit/MIRGraph.cpp:1169 2 xul.dll UpdateTestSuccessors js/src/jit/IonAnalysis.cpp:773 3 xul.dll MaybeFoldConditionBlock js/src/jit/IonAnalysis.cpp:893 4 xul.dll js::jit::OptimizeMIR js/src/jit/Ion.cpp:1480 5 xul.dll js::jit::CompileBackEnd js/src/jit/Ion.cpp:1980 6 xul.dll js::HelperThread::handleIonWorkload js/src/vm/HelperThreads.cpp:1908 7 xul.dll js::HelperThread::threadLoop js/src/vm/HelperThreads.cpp:2297 8 xul.dll js::detail::ThreadTrampoline<void js/src/threading/Thread.h:235 9 ucrtbase.dll thread_start<unsigned int > =============================================================
Status: UNCONFIRMED → NEW
Component: General → JavaScript Engine: JIT
Ever confirmed: true
Product: Firefox → Core
This bug sounds easily fixable by making addPredecessorSameInputAs fallible by using the Result type.
Flags: needinfo?(nicolas.b.pierron)
Priority: -- → P2
Attachment #8969301 - Flags: review?(tcampbell) → review+
Flags: needinfo?(nicolas.b.pierron)
Keywords: checkin-needed
Assignee: nobody → nicolas.b.pierron
Keywords: crash
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/131166cff47d Make MBasicBlock::addPredecessorSameInputsAs fallible. r=tcampbell
Keywords: checkin-needed
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d9f508d0e46e followup, remove now-unused variable to fix a CLOSED TREE.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Whether we ship this in Fx60 or not, I'd like to keep this on the radar for possible ESR60 uplift eventually since the crash volume looks non-trivial.
Flags: needinfo?(nicolas.b.pierron)
(In reply to Ryan VanderMeulen [:RyanVM] from comment #6) > Whether we ship this in Fx60 or not, I'd like to keep this on the radar for > possible ESR60 uplift eventually since the crash volume looks non-trivial. Yes, these patches should be safe to uplift, and remove ~175 crashes/week when it moves to release. (In reply to Pulsebot from comment #4) > Pushed by sfink@mozilla.com: > https://hg.mozilla.org/integration/mozilla-inbound/rev/d9f508d0e46e > followup, remove now-unused variable to fix a CLOSED TREE. Thanks.
Flags: needinfo?(nicolas.b.pierron)
Comment on attachment 8969301 [details] [diff] [review] Make MBasicBlock::addPredecessorSameInputsAs fallible. Approval Request Comment [Feature/Bug causing the regression]: Bug 1028580 [User impact if declined]: Unlikely crashes on OOM. [Is this code covered by automated tests?]: No, not easy to cover error handling code. [Has the fix been verified in Nightly?]: Yes [Needs manual test from QE? If yes, steps to reproduce]: No [List of other uplifts needed for the feature/fix]: (both patches from this bug) [Is the change risky?]: No. [Why is the change risky/not risky?]: Usage of MOZ_MUST_USE and simple patch. [String changes made/needed]: None.
Attachment #8969301 - Flags: approval-mozilla-beta?
Comment on attachment 8969301 [details] [diff] [review] Make MBasicBlock::addPredecessorSameInputsAs fallible. Fix for OOM crash, let's uplift for beta 15.
Attachment #8969301 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: