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

Emscripten build - file access error with emscripten version 2.0.26 (July 2021) #27

Closed
kevodwyer opened this issue Aug 2, 2021 · 1 comment

Comments

@kevodwyer
Copy link
Collaborator

This issue is to cross-reference bug raised against emscripten version 2.0.26
emscripten-core/emscripten#14783

Have seen below error on occasion:
Uncaught RuntimeError: abort(TypeError: Cannot read property 'ENOENT' of undefined).
Arising from function function ___sys_access(path, amode) in boxedwine.js

Workarounds:

Or 1)
Use previous emscripten toolchain:
./emsdk install 2.0.25
./emsdk activate 2.0.25
source ./emsdk_env.sh

  1. comment out below line in ___sys_access function generated by emscripten:
    // if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e);

  2. implement workaround at the browserfs level (will wait to see if bug is accepted first)

@kevodwyer
Copy link
Collaborator Author

command line changed to bring in error code dependency.

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

1 participant