-
Notifications
You must be signed in to change notification settings - Fork 58
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
Runtime Errors: "Alignment Fault" and "Memory Access Out of Bounds" #9
Comments
I have the same issue. @slashpot have you found a solution? |
unfortunately not yet. |
I also have the same issue. I was able to compile this fork: https://github.com/cardano-scaling/doom-wasm but it has no support for music (only sound effects). There is also a discussion about it here: chocolate-doom/chocolate-doom#538 (comment) but I have not tried yet. |
Thanks @Code1110, will definitely check it out! |
When compiling with latest emsdk, you got so many warnings ... I've tried to use the version that they used at the past (blog post posted on 2021), so I picked 2.0.20 version for emcc, tried to compile and all those annoying warnings disappeared (still one tho) and it worked ! So I guess the problem is that emcc flags isn't properly passed anymore during compilation with latest version. edit: warning messages have nothing to do with this, it appears emscripten had some regression or changes somewhere on versions 3.1.62 and upper, so if you want to make things work install a version below than 3.1.62. |
Hi,
I tried to compile this project but encountered the following runtime error:
I found that this error is caused by the emscripten flag SAFE_HEAP=1. After setting this flag to 0, the game reaches the menu screen. However, when starting a level, the game freezes with the following runtime error:
I tried the following flags, but the issue persists:
I've tested on my Mac M1, x86_64 Linux, and the Gitpod workspace for this repo (https://github.com/gitpod-io/doom), all resulting in the same error. I'm running out of ideas — can anyone help check this?
The text was updated successfully, but these errors were encountered: