Closed
Bug 798946
Opened 12 years ago
Closed 12 years ago
IonMonkey: Assertion failure: [infer failure] Missing type pushed 0: float, at jsinfer.cpp:311
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
mozilla19
Tracking | Status | |
---|---|---|
firefox15 | --- | unaffected |
firefox16 | --- | unaffected |
firefox17 | --- | unaffected |
firefox18 | - | fixed |
firefox19 | - | fixed |
firefox-esr10 | --- | unaffected |
firefox-esr17 | --- | unaffected |
People
(Reporter: decoder, Assigned: sstangl)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update,reconfirm,ignore][ion:p1][adv-main18-])
Attachments
(1 file)
839 bytes,
patch
|
dvander
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
The following testcase asserts on mozilla-central revision ecd4c4304219 (run with --ion-eager): function RandBool() { var x = Math.random() >= 0.5; return x; } var CHARS = "aaa"; function RandStr() { var c = Math.floor(Math.random() * CHARS.length); } function RandVal() { return RandBool() ? RandStr() : RandStr(); } function GenerateSpecPermutes(matchVals, resultArray) { var maxPermuteBody = (1 << matchVals.length) - 1; for(var bod_pm = 0; bod_pm <= maxPermuteBody; bod_pm++) for(var k = 0; k < matchVals.length; k++) var body = ((bod_pm & (1 << k)) > 0) ? null : RandVal(); } GenerateSpecPermutes(["foo", "bar", "zing"]);
Reporter | ||
Comment 1•12 years ago
|
||
S-s due to infer failure, CCing IonMonkey team.
Whiteboard: [jsbugmon:update,bisect]
Reporter | ||
Updated•12 years ago
|
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update,reconfirm,bisect]
Reporter | ||
Updated•12 years ago
|
Whiteboard: [jsbugmon:update,reconfirm,bisect] → [jsbugmon:update,reconfirm,ignore]
Reporter | ||
Comment 2•12 years ago
|
||
JSBugMon: This bug has been automatically confirmed to be still valid (reproduced on revision aa5e3b445810). JSBugMon: Bisection requested, result: autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 109435:64bf5f240ccb user: Sean Stangl date: Fri Oct 05 12:05:21 2012 -0700 summary: Bug 797551 - Use callWithABI() for Math.random(). r=dvander This iteration took 100.125 seconds to run.
Assignee | ||
Updated•12 years ago
|
Assignee: general → sstangl
Updated•12 years ago
|
Whiteboard: [jsbugmon:update,reconfirm,ignore] → [jsbugmon:update,reconfirm,ignore][ion:p1]
Assignee | ||
Comment 3•12 years ago
|
||
[Approval Request Comment] Bug caused by (feature/regressing bug #): 797551 User impact if declined: Unlikely crashes Testing completed (on m-c, etc.): on m-i Risk to taking this patch (and alternatives if risky): none String or UUID changes made by this patch: none
Attachment #669732 -
Flags: review?(dvander)
Attachment #669732 -
Flags: approval-mozilla-aurora?
Comment 4•12 years ago
|
||
Setting flags based on regression range.
status-firefox-esr10:
--- → unaffected
status-firefox15:
--- → unaffected
status-firefox16:
--- → unaffected
status-firefox17:
--- → unaffected
status-firefox18:
--- → affected
status-firefox19:
--- → affected
status-firefox-esr17:
--- → unaffected
tracking-firefox18:
--- → ?
tracking-firefox19:
--- → ?
Keywords: regression
Comment on attachment 669732 [details] [diff] [review] Confer with TI about the return type of Math.random(). Review of attachment 669732 [details] [diff] [review]: ----------------------------------------------------------------- r=me with the test case included, if possible
Attachment #669732 -
Flags: review?(dvander) → review+
Updated•12 years ago
|
Comment 6•12 years ago
|
||
Comment on attachment 669732 [details] [diff] [review] Confer with TI about the return type of Math.random(). Please refrain from nominating for uplift before landing on m-c.
Attachment #669732 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 7•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/315e66e6b2ae
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/315e66e6b2ae
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 9•12 years ago
|
||
JSBugMon: This bug has been automatically verified fixed.
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 669732 [details] [diff] [review] Confer with TI about the return type of Math.random(). [Approval Request Comment] Bug caused by (feature/regressing bug #): 797551 User impact if declined: Unlikely crashes Testing completed (on m-c, etc.): on m-i Risk to taking this patch (and alternatives if risky): none String or UUID changes made by this patch: none
Attachment #669732 -
Flags: approval-mozilla-aurora?
Comment 11•12 years ago
|
||
Comment on attachment 669732 [details] [diff] [review] Confer with TI about the return type of Math.random(). Approving the patch on aurora as the fix will avoid unlikely crashes and is low risk .
Attachment #669732 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 12•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/dbcf23129506
Flags: in-testsuite+
Updated•12 years ago
|
Whiteboard: [jsbugmon:update,reconfirm,ignore][ion:p1] → [jsbugmon:update,reconfirm,ignore][ion:p1][adv-main18-]
Updated•11 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•