Closed
Bug 951988
Opened 12 years ago
Closed 11 years ago
Assertion failure: mir->fallible(), at jit/arm/CodeGenerator-arm.cpp
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: gkw, Assigned: dougc)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(3 files, 1 obsolete file)
|
6.15 KB,
text/plain
|
Details | |
|
6.65 KB,
text/plain
|
Details | |
|
6.34 KB,
patch
|
mjrosenb
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
d((!([]) | 0) % ~1)
asserts js debug shell on m-c changeset 7d120481a6ae with --ion-eager --ion-parallel-compile=off at Assertion failure: mir->fallible(), at jit/arm/CodeGenerator-arm.cpp
My configure flags are:
CC="gcc -mfloat-abi=softfp -B/usr/lib/gcc/arm-linux-gnueabi/4.7" AR=ar CXX="g++ -mfloat-abi=softfp -B/usr/lib/gcc/arm-linux-gnueabi/4.7" sh ./configure --target=arm-linux-gnueabi --enable-optimize --enable-debug --enable-profiling --enable-gczeal --enable-debug-symbols --enable-methodjit --enable-type-inference --disable-tests --enable-more-deterministic --with-ccache --enable-threadsafe <other NSPR options>
| Reporter | ||
Comment 1•12 years ago
|
||
autoBisect shows this is probably related to the following changeset:
The first bad revision is:
changeset: http://hg.mozilla.org/mozilla-central/rev/6787bcb8ea7e
user: Dan Gohman
date: Mon Dec 02 13:41:54 2013 -0800
summary: Bug 944963 - IonMonkey: Add a ModSelf operator to fix an x86 constraint problem with x%x. r=bhackett
Dan, is bug 944963 a likely regressor?
Blocks: 944963
Flags: needinfo?(sunfish)
Comment 2•12 years ago
|
||
Confirmed; it's bug 944963. I unfortunately don't have time to look at this properly right now, but attached is a completely untested and slightly rough patch which has a good chance of fixing it, or is close at least. Anyone can pick this up if they want before I can get to it.
Flags: needinfo?(sunfish)
| Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 8350359 [details] [diff] [review]
mmod-negative-dividend-checks.patch
This fails to compile. Build failure log coming up.
Attachment #8350359 -
Flags: feedback-
| Reporter | ||
Comment 4•12 years ago
|
||
| Assignee | ||
Comment 5•12 years ago
|
||
The logic looks sounds, thank you for the fix. This just corrects some minor typos.
Attachment #8350359 -
Attachment is obsolete: true
Comment 6•12 years ago
|
||
sunfish, dougc: can one of you make sure this gets fixed? Regressing changeset is on Aurora; let's fix this before it hits beta.
Flags: needinfo?(sunfish)
Flags: needinfo?(dtc-moz)
Comment 7•11 years ago
|
||
Comment on attachment 8350927 [details] [diff] [review]
Use canBeNegativeDividend() in the ARM backend.
Doug's fixes look good to me. Requesting an independent review.
The tl;dr here is that range analysis is now determining that MMod operators are infallible in more cases. This patch updates the ARM codegen to avoid emitting bailout code for such operators.
Updated•11 years ago
|
Attachment #8350927 -
Flags: review?(mrosenberg) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
| Reporter | ||
Comment 8•11 years ago
|
||
Assignee: nobody → dtc-moz
Status: NEW → ASSIGNED
Keywords: checkin-needed
Target Milestone: --- → mozilla29
| Reporter | ||
Updated•11 years ago
|
Flags: in-testsuite?
Comment 9•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8350927 [details] [diff] [review]
Use canBeNegativeDividend() in the ARM backend.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 944963
User impact if declined: assertion failures compiling JS on ARM devices
Testing completed (on m-c, etc.): tested on m-c
Risk to taking this patch (and alternatives if risky): expected low risk of introducing more bugs. The alternative would be to backout bug 944963 changes.
String or IDL/UUID changes made by this patch: n/a
Attachment #8350927 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8350927 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•11 years ago
|
||
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•