Closed Bug 920446 Opened 11 years ago Closed 11 years ago

Assertion failure: analyzedArgsUsage(), at ../jsscript.h:691

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla27
Tracking Status
firefox24 --- affected
firefox25 --- affected
firefox26 --- affected
firefox27 --- affected
firefox-esr17 --- unaffected
firefox-esr24 --- affected

People

(Reporter: decoder, Assigned: bhackett1024)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])

Attachments

(2 files)

The following testcase asserts on mozilla-central revision 68d279364a8b (run with --fuzzing-safe):


var g = newGlobal();
var dbg = new Debugger(g);
dbg.onNewScript = function(script) {
    fscript = script.getChildScripts()[0];
}
g.eval("function f(x) { arguments[0] = 3; return x }");
fscript.setBreakpoint(0, {hit:function(frame) {
    assertEq(frame.eval(("1null")).return, 1);
}});
assertEq(g.f(1), 42);
Whiteboard: [jsbugmon:update,bisect]
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
JSBugMon: Bisection requested, result:
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   http://hg.mozilla.org/mozilla-central/rev/4370f503d69f
user:        Brian Hackett
date:        Thu May 23 13:25:19 2013 -0600
summary:     Bug 875276 - Don't profile types in scripts until they are compiled by baseline, r=jandem.

This iteration took 1.104 seconds to run.
Brian, is bug 875276 a likely regressor?
Blocks: 875276
Flags: needinfo?(bhackett1024)
Keywords: regression
Attached patch patchSplinter Review
No, this is a preexisting issue.
Assignee: general → bhackett1024
Attachment #813529 - Flags: review?(luke)
Flags: needinfo?(bhackett1024)
Comment on attachment 813529 [details] [diff] [review]
patch

Not a preexisting issue, though: before bug 875276, the script would have been analyzed before execution and thus before onPopCall.
Attachment #813529 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/c4f37d077bc7
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: