Closed Bug 1659997 Opened 4 years ago Closed 4 years ago

Perma arm64cl js/src/jit-test/tests/wasm/ref-types/externref.js | Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615 (code -11, args "") [0.3 s]

Categories

(Core :: JavaScript: WebAssembly, defect, P1)

defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- unaffected
firefox81 --- disabled
firefox82 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: rhunt)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=313424214&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WM3p4q3nTVWhZEuCruDJ-w/runs/0/artifacts/public/logs/live_backing.log


[task 2020-08-19T10:57:44.649Z] TEST-PASS | js/src/jit-test/tests/wasm/ref-types/externref-val-tracing.js | Success (code 0, args "--baseline-eager") [3.8 s]
[task 2020-08-19T10:57:44.653Z] Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615
[task 2020-08-19T10:57:44.653Z] Exit code: -11
[task 2020-08-19T10:57:44.653Z] FAIL - wasm/ref-types/externref.js
[task 2020-08-19T10:57:44.653Z] TEST-UNEXPECTED-FAIL | js/src/jit-test/tests/wasm/ref-types/externref.js | Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615 (code -11, args "") [0.3 s]
[task 2020-08-19T10:57:44.654Z] INFO exit-status : -11
[task 2020-08-19T10:57:44.654Z] INFO timed-out : False
[task 2020-08-19T10:57:44.654Z] INFO stderr 2> Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615
[task 2020-08-19T10:57:44.896Z] Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615
[task 2020-08-19T10:57:44.897Z] Exit code: -11
[task 2020-08-19T10:57:44.897Z] FAIL - wasm/ref-types/externref.js
[task 2020-08-19T10:57:44.897Z] TEST-UNEXPECTED-FAIL | js/src/jit-test/tests/wasm/ref-types/externref.js | Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615 (code -11, args "--no-blinterp --no-baseline --no-ion --more-compartments") [0.2 s]
[task 2020-08-19T10:57:44.897Z] INFO exit-status : -11
[task 2020-08-19T10:57:44.897Z] INFO timed-out : False
[task 2020-08-19T10:57:44.897Z] INFO stderr 2> Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615
[task 2020-08-19T10:57:44.932Z] Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615
[task 2020-08-19T10:57:44.932Z] Exit code: -11
[task 2020-08-19T10:57:44.932Z] FAIL - wasm/ref-types/externref.js

Severity: normal → S2
Component: JavaScript Engine → Javascript: WebAssembly
Priority: P5 → P1

Interesting -- failure is on x64, I think. I'll take a look.

Assignee: nobody → cfallin

My bad. If it's x64 it's not P1, feel free to demote as appropriate.

Oh, nope, I missed this in the logs: --enable-simulator=arm64. Definitely P1. Investigating!

So I've bisected this (on native aarch64 hardware with --wasm-compiler=cranelift) down to hg commit ea8dd38c1de078b51916164ea786903365860117, which is:

Author: Ryan Hunt <rhunt@eqrion.net>
Date:   Tue Aug 18 16:50:27 2020 +0000

    Bug 1561521 - Vendor the latest wat. r=lth

    Differential Revision: https://phabricator.services.mozilla.com/D85052

Ryan, could you investigate? The errors look like:

/home/cfallin/moz/mozilla-unified/js/src/jit-test/lib/wasm.js:12:13 CompileError: at offset 15: (optref T) types not enabled  
Flags: needinfo?(rhunt)
Summary: Intermittent js/src/jit-test/tests/wasm/ref-types/externref.js | Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615 (code -11, args "") [0.3 s] → Perma arm64cl js/src/jit-test/tests/wasm/ref-types/externref.js | Hit MOZ_CRASH(Bad type) at /builds/worker/checkouts/gecko/js/src/wasm/WasmCraneliftCompile.cpp:615 (code -11, args "") [0.3 s]

Set release status flags based on info from the regressing bug 1561521

Fixes a regression from the refactoring in bug 1561521, where TC::Ref was previously
used as the value to represent any reference value in ValType.

Assignee: cfallin → rhunt
Blocks: 1649932
Status: NEW → ASSIGNED
OS: Unspecified → All
Hardware: Unspecified → All
Flags: needinfo?(rhunt)
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/48d4a2a7a4e2
wasm: Use abstract reference type in switch in cranelift compile. r=lth
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: