Closed Bug 1511429 Opened 9 months ago Closed 8 months ago

ARM simulator disable-debug enable-optimize test failure

Categories

(Core :: Javascript: WebAssembly, defect, P3)

ARM
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: lth, Assigned: lth)

Details

Attachments

(1 file)

inbound 448961:91e1fe27cef9 but failed also on a pre-reformat rev.

This looks like some stack walking thing.  Only fails (so far) in release builds for ARM simulator.

js/src/jit-test/lib/wasm.js:292:11 Error: no plausible stacks found, observed: /!>/0,!>/!>/
js/src/jit-test/lib/wasm.js:292:11 Expected one of:
js/src/jit-test/lib/wasm.js:292:11 /!>/0,!>//0,!>/!>/
Stack:
  WasmHelpers.assertEqPreciseStacks@js/src/jit-test/lib/wasm.js:292:11
  @js/src/jit-test/tests/wasm/gc/anyref-global-prebarrier.js:38:1

Config:

export CC='gcc -m32 -mfpmath=sse -msse -msse2'
export CXX='g++ -m32 -mfpmath=sse -msse -msse2'
../configure --target=i686-linux --disable-debug --enable-optimize --without-intl-api --enable-simulator=arm

Run:

../jit-test/jit_test.py -f dist/bin/js wasm/gc

Compiler:

gcc (GCC) 8.2.1 20181105 (Red Hat 8.2.1-5)

This is because the JIT has time to kick in in some configurations and confuses the stacks. There's a fix being worked up in bug 1515917. Taking this meanwhile.

Assignee: nobody → lhansen
Status: NEW → ASSIGNED
Priority: -- → P3

Patch. R+ from benjamin on bug 1515917.

Attachment #9035585 - Flags: review+
Pushed by lhansen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/676b002d0640
Run a test only if no JS jit compilation. r=bbouvier
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.