Open slashpot opened 2 weeks ago
Maybe open a bug in https://github.com/cloudflare/doom-wasm?
It looks like a crash in P_PlayerThink
? You would build with -g
and then debug in devtools, or add some tracing/logging do see how/why there is an OOB memory access there.
emcc -v output
Hi,
I tried to compile cloudflare's doom-wasm 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?
Step to reporduce