Assertion failure: (ptrBits & 0x7) == 0, at dist/include/js/Value.h:778
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
People
(Reporter: gkw, Assigned: nbp)
References
(Blocks 1 open bug)
Details
(4 keywords, Whiteboard: [jsbugmon:update])
Attachments
(3 files)
The following testcase crashes on mozilla-central revision c89f024c023f (build with --enable-debug --enable-simulator=arm64 and with asan, run with --fuzzing-safe --wasm-compiler=ion --wasm-gc --test-wasm-await-tier2 --no-asmjs --ion-sincos=on --execute="setJitCompilerOption("ion.forceinlineCaches",1)" --ion-warmup-threshold=100 --ion-edgecase-analysis=off --ion-limit-script-size=off --ion-inlining=off --ion-gvn=off --more-compartments --nursery-strings=off --spectre-mitigations=off --ion-offthread-compile=off --gc-zeal=17,296 --no-threads --baseline-eager):
See attachment.
See backtrace for Asan stack.
For detailed crash information, see attachment.
I wasn't able to reproduce this, but hopefully the Asan stack is useful.
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 3•6 years ago
|
||
This seems likely related to IonMonkey on ARM64 again.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 4•6 years ago
|
||
function h(f, inputs) {
var x = [];
for (var j = 0; j < 36; ++j) {
for (var k = 0; k < 36; ++k) {
try {
x.push(f(inputs[j]));
} catch {}
}
}
uneval(x);
}
function g(x, y) {
return (Math.imul(x, (y, ~y) >= Math.fround(-0x7fffffff) | 0));
}
h(g, [0, 2, 0, 0, 1, -Number, Math.PI, 0xf, -Number.R, 1, 2, 1, 0, 0, -Number.I, 3, 2, 0, 1, 0, -Number.R, 0, 0, 2,
2, Number.MIN_VALUE, 0, 8, 2, Number.MAX_VALUE, 1, 0, Number.MAX_SAFE_INTEGER, 1, Number.MIN_SAFE_INTEGER, 1])
Actually here is the testcase.
$ ./js-dbg-64-dm-armsim64-linux-x86_64-aecb76a0cd77 --fuzzing-safe --no-threads testcase.js
Assertion failure: (ptrBits & 0x7) == 0, at dist/include/js/Value.h:781
Segmentation fault (core dumped)
Assignee | ||
Comment 5•6 years ago
|
||
I can reproduce the issue mentioned in comment 4.
Comment 6•6 years ago
|
||
Nicolas, is this on target for a fix in 67?
Assignee | ||
Comment 7•6 years ago
|
||
(In reply to Neha Kochar [:neha] from comment #6)
Nicolas, is this on target for a fix in 67?
I do not know yet, this would depend whether this is a Baseline / IonMonkey issue.
My understanding is that this is likely an IonMonkey bug, and thus we might not backport it unless IonMonkey ARM64 is also enabled on 67, which isn't the case by default.
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Checking with and without applied patches, this bug is a duplicate of bug 1534810.
Description
•