Assertion failure: !r.empty(), at js/src/vm/Debugger.cpp:5713 with Debugger.Script.getOffsetLocation
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: decoder, Assigned: loganfsmyth)
References
Details
(Keywords: assertion, testcase, Whiteboard: [jsbugmon:testComment=3,origRev=8ec327de0ba7])
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Comment hidden (obsolete) |
g = newGlobal()
evaluate(`
function lit() {
debugger;
switch(0) {
case "nope": break;
case 1: return;
}
}
`, { 0: 0, global: g });
dbg = Debugger(g);
function test(s) {
dbg.onDebuggerStatement = function(frame) {
frame.onStep = function() {
this.script.getOffsetLocation(this.offset).lineNumber;
}
}
g.eval(s);
}
test("lit()")
asserts js shell compiled with --enable-debug on m-c rev 8ec327de0ba7 using --fuzzing-safe --no-threads --no-baseline --no-ion --more-compartments at Assertion failure: !r.empty(), at js/src/vm/Debugger.cpp:6387
Also setting firefox66 as affected, and needinfo? from :jimb since this is Debugger-related.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
autobisectjs shows this is probably related to the following changeset:
The first good revision is:
changeset: https://hg.mozilla.org/mozilla-central/rev/5c934ede1cfc
user: Logan Smyth
date: Wed Feb 13 02:31:00 2019 +0000
summary: Bug 1518661 - Part 5: Give SpiderMonkey well-defined sense of step and breakpoint locations. r=jimb,bhackett
Jim/Jason, is bug 1518661 a likely fix? (I can't seem to reproduce the testcase in comment 3 on m-c tip)
Fixed by bug 1518661.
Updated•5 years ago
|
Updated•5 years ago
|
Description
•