Closed
Bug 924660
Opened 12 years ago
Closed 12 years ago
Assertion failure: lhs->type() == MIRType_Int32, at jit/Lowering.cpp
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: gkw, Assigned: sunfish)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:])
Attachments
(2 files)
13.01 KB,
text/plain
|
Details | |
1.36 KB,
patch
|
nbp
:
review+
|
Details | Diff | Splinter Review |
(function(stdlib, n, heap) {
"use asm"
var Float64ArrayView = new stdlib.Float64Array(heap);
function f() {
var d2 = 5.;
Float64ArrayView[2] = +(~~((d2 - d2) / d2))
}
})()
asserts js debug shell on m-c changeset e8a363fcd35b with --ion-gvn=off --ion-eager at Assertion failure: lhs->type() == MIRType_Int32, at jit/Lowering.cpp
My configure flags are:
CC="clang -Qunused-arguments" AR=ar CXX="clang++ -Qunused-arguments" sh ./configure --target=x86_64-apple-darwin12.5.0 --enable-optimize --enable-debug --enable-profiling --enable-gczeal --enable-debug-symbols --enable-methodjit --enable-type-inference --disable-tests --with-ccache --enable-threadsafe <other NSPR options>
Setting needinfo on myself to run autoBisect..
Flags: needinfo?(gary)
![]() |
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/a70ad9d7e0f4
user: Dan Gohman
date: Thu Oct 03 17:25:03 2013 -0700
summary: Bug 915846 - IonMonkey: Simple range analysis for div and sqrt. r=nbp
Dan, is bug 915846 a possible regressor?
Blocks: 915846
Flags: needinfo?(gary) → needinfo?(sunfish)
Updated•12 years ago
|
Whiteboard: [jsbugmon:update] → [jsbugmon:]
Comment 2•12 years ago
|
||
JSBugMon: Cannot process bug: Unable to automatically reproduce, please track manually.
Assignee | ||
Comment 3•12 years ago
|
||
Yes, bug 915846 is the regressor here. Specifically, patch 6afebbb8e595 -- it looks like I accidentally mixed part of an unrelated patch into that patch. The change to MDiv::truncate does not belong there, and it's what's causing this bug.
Assignee: general → sunfish
Flags: needinfo?(sunfish)
Assignee | ||
Comment 4•12 years ago
|
||
This patch reverts MDiv::truncate back to its state before that patch, which fixes the bug.
Attachment #814697 -
Flags: review?(nicolas.b.pierron)
Updated•12 years ago
|
Attachment #814697 -
Flags: review?(nicolas.b.pierron) → review+
Updated•12 years ago
|
Component: JavaScript Engine → JavaScript Engine: JIT
Assignee | ||
Comment 5•12 years ago
|
||
Component: JavaScript Engine: JIT → JavaScript Engine
Comment 6•12 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/f03466d0e283 for making ion/bug898857.js | --ion-eager and jaeger/recompile/staticoverflow.js | --ion-eager fail on debug and shell tests a la https://tbpl.mozilla.org/php/getParsedLog.php?id=28931249&tree=Mozilla-Inbound
Assignee | ||
Comment 7•12 years ago
|
||
Arg. The fix depends on part of the fix for bug 923659.
Depends on: 923659
![]() |
Reporter | |
Updated•12 years ago
|
Component: JavaScript Engine → JavaScript Engine: JIT
Assignee | ||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•