Closed Bug 1245171 Opened 4 years ago Closed 4 years ago

Assertion failure: result ([OOM] Is it really infallible?), at js/src/ds/LifoAlloc.h:281 involving js::jit::MKeepAliveObject::New

Categories

(Core :: JavaScript Engine, defect, critical)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: gkw, Assigned: nbp)

References

(Blocks 2 open bugs)

Details

(Keywords: assertion, regression, Whiteboard: [jsbugmon:ignore])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1244828 +++

Nicolas requests that each stack should have it's own bug, blocking meta bug 1244824. Assigning to him by default.

Line numbers from m-c rev 54eea211e234:

#0  js::LifoAlloc::allocInfallibleOrAssert (this=<optimized out>, n=<optimized out>) at /home/ubuntu/trees/mozilla-central/js/src/ds/LifoAlloc.h:281
#1  js::jit::TempAllocator::allocateInfallible (this=<optimized out>, bytes=<optimized out>) at /home/ubuntu/trees/mozilla-central/js/src/jit/JitAllocPolicy.h:40
#2  0x0000000000581103 in js::jit::TempObject::operator new (nbytes=136, alloc=...) at /home/ubuntu/trees/mozilla-central/js/src/jit/JitAllocPolicy.h:174
#3  js::jit::MKeepAliveObject::New (alloc=..., object=<optimized out>) at /home/ubuntu/trees/mozilla-central/js/src/jit/MIR.h:8593
#4  js::jit::AddKeepAliveInstructions (graph=...) at /home/ubuntu/trees/mozilla-central/js/src/jit/IonAnalysis.cpp:3229
#5  0x0000000000576480 in js::jit::OptimizeMIR (mir=<optimized out>) at /home/ubuntu/trees/mozilla-central/js/src/jit/Ion.cpp:1889
#6  0x0000000000576b69 in js::jit::CompileBackEnd (mir=0x2ad0d90) at /home/ubuntu/trees/mozilla-central/js/src/jit/Ion.cpp:2008
#7  0x000000000082bfb5 in js::HelperThread::handleIonWorkload (this=0x2a70d68) at /home/ubuntu/trees/mozilla-central/js/src/vm/HelperThreads.cpp:1276
#8  0x000000000082b9fe in js::HelperThread::threadLoop (this=0x2a70d68) at /home/ubuntu/trees/mozilla-central/js/src/vm/HelperThreads.cpp:1603
#9  0x00000000008d09b9 in nspr::Thread::ThreadRoutine (arg=0x2a7c000) at /home/ubuntu/trees/mozilla-central/js/src/vm/PosixNSPR.cpp:45
#10 0x00007f71afc436aa in start_thread (arg=0x7f71ad5a7700) at pthread_create.c:333
#11 0x00007f71aecb9eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Attachment #8718467 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/4ec66e6db2d2
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.