Closed
Bug 905986
Opened 12 years ago
Closed 12 years ago
Assertion failure: in->type() == MIRType_Double, at jit/IonAnalysis.cpp:542
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
mozilla26
Tracking | Status | |
---|---|---|
firefox23 | --- | unaffected |
firefox24 | --- | unaffected |
firefox25 | + | fixed |
firefox26 | + | fixed |
firefox-esr17 | --- | unaffected |
b2g18 | --- | unaffected |
People
(Reporter: decoder, Assigned: shu)
References
Details
(4 keywords)
Attachments
(3 files)
637 bytes,
text/plain
|
Details | |
4.20 KB,
patch
|
jandem
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
3.76 KB,
patch
|
Details | Diff | Splinter Review |
The following testcase asserts on mozilla-central revision 1ed5a88cd4d0 (run with --fuzzing-safe --ion-eager):
function testPartition() {
if(0.1 || new testPartition()) {}
}
testPartition();
Reporter | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Is there a regressing changeset for this?
Could some IM person look at this? It has sat here for about a week.
Updated•12 years ago
|
Flags: needinfo?(jdemooij)
Comment 3•12 years ago
|
||
The first bad revision is:
changeset: http://hg.mozilla.org/mozilla-central/rev/471dcc138dfe
user: Shu-yu Guo
date: Fri Aug 02 08:24:56 2013 -0700
summary: Bug 898576 - Ignore cold phi inputs when specializing phi types.
Flags: needinfo?(shu)
Assignee | ||
Comment 4•12 years ago
|
||
Probably my fault, I'll take this.
Assignee: general → shu
Flags: needinfo?(shu)
Flags: needinfo?(jdemooij)
Assignee | ||
Comment 5•12 years ago
|
||
This is because the special double case for specializing phis wasn't updated correctly to understand the new phi type specialization.
Fold the special double case into the general case in adjustPhiInputs, converting int32 operands to doubles all the time.
Attachment #796390 -
Flags: review?(jdemooij)
Comment 6•12 years ago
|
||
Comment on attachment 796390 [details] [diff] [review]
fix + testcase
Review of attachment 796390 [details] [diff] [review]:
-----------------------------------------------------------------
Nice catch.
Attachment #796390 -
Flags: review?(jdemooij) → review+
Comment 7•12 years ago
|
||
We should land this on aurora as well.
status-firefox23:
--- → unaffected
status-firefox24:
--- → unaffected
status-firefox25:
--- → affected
status-firefox26:
--- → affected
tracking-firefox25:
--- → ?
tracking-firefox26:
--- → ?
Comment 8•12 years ago
|
||
Sounds kind of bad. Feel free to upgrade if it is really bad or whatever.
Keywords: sec-moderate
Updated•12 years ago
|
Assignee | ||
Comment 9•12 years ago
|
||
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 796390 [details] [diff] [review]
fix + testcase
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 898576
User impact if declined: Possible exploit in JIT code
Testing completed (on m-c, etc.): Waiting on m-c
Risk to taking this patch (and alternatives if risky): None
String or IDL/UUID changes made by this patch:
Attachment #796390 -
Flags: approval-mozilla-aurora?
Comment 11•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 12•12 years ago
|
||
JSBugMon: This bug has been automatically verified fixed.
Updated•12 years ago
|
Attachment #796390 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 13•12 years ago
|
||
Needs a branch-specific patch for uplift.
Flags: needinfo?(shu)
Keywords: branch-patch-needed
Assignee | ||
Comment 14•12 years ago
|
||
This incorporates bug 901391, which wasn't uplifted and is thus causing the conflict.
Flags: needinfo?(shu)
Comment 15•12 years ago
|
||
Updated•12 years ago
|
Keywords: branch-patch-needed
Updated•12 years ago
|
Blocks: 898576
status-b2g18:
--- → unaffected
status-firefox-esr17:
--- → unaffected
Keywords: regression
Updated•11 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•