Closed
Bug 843875
Opened 12 years ago
Closed 12 years ago
IonMonkey: Assertion failure: [infer failure] Missing type pushed 0: float, at jsinfer.cpp:314
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: decoder, Assigned: bhackett1024)
References
Details
(Keywords: assertion, testcase, Whiteboard: [jsbugmon:update])
Attachments
(1 file)
2.40 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
The following testcase asserts on mozilla-central revision d57a813c77a4 (run with --ion-eager):
function writeHeaderToLog( string ) { }
var input = [ 0xfffffff0, 101 ];
var arr = new Uint32Array(input.length);
var expected = [ 0xffffffff, 101 ];
for (var i=0; i<arr.length; i++) {
arr[i] = writeHeaderToLog[i] = expected[i] = i * 8;
}
Reporter | ||
Comment 1•12 years ago
|
||
S-s because infer failures can be security related.
Blocks: IonFuzz
Whiteboard: [jsbugmon:update,bisect]
Reporter | ||
Updated•12 years ago
|
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
Reporter | ||
Comment 2•12 years ago
|
||
JSBugMon: Bisection requested, result:
autoBisect shows this is probably related to the following changeset:
The first bad revision is:
changeset: 120310:d7dd65663469
user: Brian Hackett
date: Tue Jan 29 16:20:03 2013 -0700
summary: Bug 833898 - Allow converting mixed arrays of ints and doubles to uniform doubles, r=jandem.
This iteration took 0.603 seconds to run.
Reporter | ||
Comment 3•12 years ago
|
||
bhackett says this (and other bugs caused by bug 833898) are not s-s because they only lead to a confusion between double and int. Opening up and needinfo on Brian :)
Group: core-security
Flags: needinfo?(bhackett1024)
Assignee | ||
Comment 4•12 years ago
|
||
During Ion compilation the wrong value was pushed back on the stack if a double conversion was needed for the value being written to the array.
Assignee: general → bhackett1024
Attachment #717143 -
Flags: review?(jdemooij)
Flags: needinfo?(bhackett1024)
Updated•12 years ago
|
Attachment #717143 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•