Closed
Bug 922118
Opened 11 years ago
Closed 11 years ago
Assertion failure: !vp.isMagic(), at jsobj.cpp:4030
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: decoder, Assigned: jandem)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])
Attachments
(2 files)
723 bytes,
text/plain
|
Details | |
14.38 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
The following testcase asserts on mozilla-central revision 8f805d3ef377 (run with --fuzzing-safe --ion-eager):
var lfcode = new Array();
lfcode.push("1");
lfcode.push("");
lfcode.push("0");
lfcode.push("function arguments() { };");
lfcode.push("1");
lfcode.push("\
var GLOBAL_PROPERTIES = new Array();\
var i = 0;\
for ( p in this ) {\
GLOBAL_PROPERTIES[i++] = p;\
for ( i = 0; i < GLOBAL_PROPERTIES.length; i++ ) {\
eval(GLOBAL_PROPERTIES[i]) \
}\
}\
");
while (true) {
var file = lfcode.shift(); if (file == undefined) { break; }
loadFile(file)
}
function loadFile(lfVarx) {
if (lfVarx.substr(-3) != ".js" && lfVarx.length != 1) {
switch (lfRunTypeId) {
case 0: evaluate(lfVarx); break;
case 1: eval(lfVarx); break;
}
} else if (!isNaN(lfVarx)) {
lfRunTypeId = parseInt(lfVarx);
}
}
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
Reporter | ||
Comment 3•11 years ago
|
||
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/aca02ab3f2d3
user: Jan de Mooij
date: Thu Sep 12 11:14:20 2013 +0200
summary: Bug 914341 - Fix BC to wrap primitive |this| in eval scripts. r=djvj
This iteration took 383.822 seconds to run.
Comment 4•11 years ago
|
||
Jan, is bug 914341 a likely regressor?
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Gary Kwong [:gkw] [:nth10sd] (still catching up on bugmail) from comment #4)
> Jan, is bug 914341 a likely regressor?
No it's not. I can see how that bug may confuse JSBugMon but this is an arguments-object issue. Investigating...
No longer blocks: 914341
Assignee | ||
Updated•11 years ago
|
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Component: JavaScript Engine → JavaScript Engine: JIT
Flags: needinfo?(jdemooij)
Assignee | ||
Comment 7•11 years ago
|
||
Ion checks whether the eval string has "arguments" in it but it should also check for "eval" because an inner eval can contain "arguments".
Attachment #815005 -
Flags: review?(bhackett1024)
Updated•11 years ago
|
Attachment #815005 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Status: ASSIGNED → 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.
Description
•