Closed Bug 1982158 Opened 7 months ago Closed 6 months ago

Assertion failure: !cx->isExceptionPending(), at vm/Interpreter.cpp:504

Categories

(Core :: JavaScript Engine, defect, P2)

All
Linux
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox141 --- unaffected
firefox142 --- wontfix
firefox143 --- wontfix
firefox144 --- fixed

People

(Reporter: gkw, Assigned: rhunt)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, reporter-external, testcase)

Attachments

(2 files)

Attached file debug stack
oomTest(function() { setTimeout(function(){}, 1); });
(gdb) bt
#0  0x00005555572ee1a2 in MOZ_CrashSequence (aAddress=0x0, aLine=504) at /home/msf3/shell-cache/js-dbg-64-linux-x86_64-50c83688a650-581710/objdir-js/dist/include/mozilla/Assertions.h:248
#1  CallJSNative (cx=cx@entry=0x7ffff5e3c200, native=<optimized out>, reason=<optimized out>, args=...) at /home/msf3/trees/firefox/js/src/vm/Interpreter.cpp:504
#2  0x00005555572ca336 in js::InternalCallOrConstruct (cx=0x7ffff5e3c200, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=js::CallReason::Call)
    at /home/msf3/trees/firefox/js/src/vm/Interpreter.cpp:597
#3  0x00005555572cb098 in InternalCall (cx=<optimized out>, args=..., reason=504) at /home/msf3/trees/firefox/js/src/vm/Interpreter.cpp:664
#4  0x00005555572ddf79 in js::CallFromStack (cx=0x7ffff7805700 <_IO_stdfile_2_lock>, args=..., reason=<optimized out>) at /home/msf3/trees/firefox/js/src/vm/Interpreter.cpp:669
#5  js::Interpret (cx=0x7ffff5e3c200, state=...) at /home/msf3/trees/firefox/js/src/vm/Interpreter.cpp:3287
/snip
The first bad revision is:
changeset:   https://hg.mozilla.org/mozilla-central/rev/0f865cd9c1d9
user:        Ryan Hunt
date:        Mon Jul 14 15:10:33 2025 +0000
summary:     Bug 1976559 - Add rudimentary setTimeout support to the JS shell. r=yury

Run with --fuzzing-safe --no-threads --no-baseline --no-ion, compile with AR=ar sh ../configure --enable-debug --enable-debug-symbols --with-ccache --enable-nspr-build --enable-ctypes --enable-gczeal --enable-rust-simd --disable-tests, tested on gh rev 50c83688a650a701ff558b0218a0a864df9dafa0.

This is unlikely to be s-s. Ryan, is bug 1976559 a likely regressor?

Flags: needinfo?(rhunt)

Set release status flags based on info from the regressing bug 1976559

do we know a severity here in regards to 142?

Set release status flags based on info from the regressing bug 1976559

Given that this is only in the shell directory, the severity should probably be low.

Severity: -- → S4
Priority: -- → P2
Assignee: nobody → rhunt
Status: NEW → ASSIGNED

This is the final week of Fx144 Nightly. Fx144 goes to Beta on 2025-09-15.

:rhunt, do you plan on landing this in time to ride the train with Fx144?

Landing this now.

Flags: needinfo?(rhunt)
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
QA Whiteboard: [qa-triage-done-c145/b144]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: