Closed rhysd closed 5 years ago
This seems a bug of implementation of access()
in emscripten. I created https://github.com/emscripten-core/emscripten/issues/9136
Fix was merged and the issue was fixed in upstream. With next release, this issue should be fixed.
emscripten 1.38.41 fixed this issue. I confirmed it with v0.0.12.
Describe the bug
When passing an empty string as command line argument of Vim, Vim crashes on start.
Steps To Reproduce
Run above script in browser and check console in DevTools.
Or access to http://rhysd.github.io/vim.wasm/?arg=
Expected behavior
Vim normally starts with an unnamed buffer
Actual behavior
Vim crashes with following abort error:
Screenshots/DevTools console (if possible)
Your environment
Additional context (if any)