WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
169722
WebAssembly: spec-tests/f32.wast.js fails on ARM64
https://bugs.webkit.org/show_bug.cgi?id=169722
Summary
WebAssembly: spec-tests/f32.wast.js fails on ARM64
JF Bastien
Reported
Thursday, March 16, 2017 1:14:02 AM UTC
# DYLD_FRAMEWORK_PATH=... .../jsc -m --useWebAssembly=1 ./spec-tests//f32.wast.js Exception: Error: Unreachable code should not be executed (evaluating '$$.exports["assert_0"]()') <wasm>@[wasm code] <wasm>@[wasm code] assert_0@[native code] /private/var/root/jsc-stress-results/.tests/wasm/spec-tests/f32.wast.js:128:43 assert_return@/private/var/root/jsc-stress-results/.tests/wasm/spec-tests/f32.wast.js:80:22 module code@/private/var/root/jsc-stress-results/.tests/wasm/spec-tests/f32.wast.js:128:14 evaluate@[native code] moduleEvaluation@[native code] [native code] promiseReactionJob@[native code]
Attachments
Add attachment
proposed patch, testcase, etc.
JF Bastien
Comment 1
Thursday, March 16, 2017 1:15:21 AM UTC
Same thing for: ./spec-tests//f64.wast.js ./spec-tests//float_exprs.wast.js ./spec-tests//float_misc.wast.js
JF Bastien
Comment 2
Wednesday, March 22, 2017 5:57:14 PM UTC
I looked into this and it seems related to NaN handling. The spec tests try to validate NaNs are handled properly and compare their values. The bug could be: - In our code - In the spec tests (they're not currently up to date, see
https://github.com/WebAssembly/spec/pull/414
) - In the code that translates .wast -> .wast.js This is unlikely to be important for the near future, so I'll ignore it for now. Maybe we can just comment out the "assert_[0-9]+" invocations for now, and revisit when we update the tests.
Radar WebKit Bug Importer
Comment 3
Wednesday, May 3, 2017 5:54:34 PM UTC
<
rdar://problem/31965311
>
Sergey Rubanov
Comment 4
Friday, November 27, 2020 4:50:43 PM UTC
I think that this issue is not valid anymore
Yegor
Comment 5
Wednesday, January 13, 2021 5:14:12 PM UTC
We're seeing this error occasionally, specifically: Error: Unreachable code should not be executed (evaluating 'invoker(fn, thisWired)') We run on: LastOSVersionSafariWasLaunchedOn = "10.15.7"; NewestLaunchedSafariVersion = "609.4.1"; Is there something Emscripten could do to work around the issue?
Yegor
Comment 6
Wednesday, January 13, 2021 5:14:58 PM UTC
Full log:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8858212739179103328/+/steps/felt_test_safari_desktop/0/stdout
Yusuke Suzuki
Comment 7
Wednesday, January 13, 2021 7:59:25 PM UTC
(In reply to Yegor from
comment #6
)
> Full log: >
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot
. > com/8858212739179103328/+/steps/felt_test_safari_desktop/0/stdout
I don't think this error is related to f32.wast.js. Please open a new bug. And please attach a test case which can reproduce this :)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug