Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNREACHABLE executed at Precompute.cpp:838 on Windows #6710

Open
JSMonk opened this issue Jul 3, 2024 · 3 comments
Open

UNREACHABLE executed at Precompute.cpp:838 on Windows #6710

JSMonk opened this issue Jul 3, 2024 · 3 comments

Comments

@JSMonk
Copy link

JSMonk commented Jul 3, 2024

Version: 117
Platform: Windows 11 (x64)

Using -O2 and higher on Windows produces UNREACHABLE executed at Precompute.cpp:838 error.
I've attached the binary that helps to reproduce the behavior.

stardew-valley-designer-app-web-wasm-js.wasm.zip

To reproduce the failure, take the binary and run the following command:

wasm-opt.exe --all-features -O2 .\stardew-valley-designer-app-web-wasm-js.wasm -o output.wasm

To generate the binary by yourself:

  1. Clone repo: https://github.com/AzimMuradov/stardew-valley-designer
  2. Create local.properties file with the following content: kotlin.daemon.jvmargs=-Xmx2048m
  3. Run ./gradlew.bat :app-web:compileProductionExecutableKotlinWasmJs
  4. The binary is located in the following directory: app-web\build\compileSync\wasmJs\main\productionExecutable\kotlin
@kripken
Copy link
Member

kripken commented Jul 3, 2024

Looks like a duplicate of #6639 which has been fixed meanwhile on main (but is not yet in a release).

@JSMonk
Copy link
Author

JSMonk commented Jul 5, 2024

@kripken when the next version release is planned? We would really happy to update to the version with this fix as soon as possible

@kripken kripken mentioned this issue Jul 8, 2024
@kripken
Copy link
Member

kripken commented Jul 8, 2024

@JSMonk I tagged version 118 now (still building atm).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants