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

Error: EBADF, Bad file descriptor #4

Open
leeight opened this issue Jun 17, 2014 · 0 comments
Open

Error: EBADF, Bad file descriptor #4

leeight opened this issue Jun 17, 2014 · 0 comments

Comments

@leeight
Copy link

leeight commented Jun 17, 2014

After checkout https://github.com/indutny/jit.js.git and run example/basic/main.js, I got the following error.

/home/users/foo/local/jit.js/node_modules/mmap/index.js:6
    return real_map(size,protection,flags,fd,offset);
           ^
Error: EBADF, Bad file descriptor
    at mmap_wrapper (/home/users/foo/local/jit.js/node_modules/mmap/index.js:6:12)
    at toExecutable (/home/users/foo/local/jit.js/lib/jit/api.js:17:15)
    at Object.wrap (/home/users/foo/local/jit.js/lib/jit/api.js:105:14)
    at Object.compile (/home/users/foo/local/jit.js/lib/jit/api.js:131:14)
    at Object.<anonymous> (/home/users/foo/local/jit.js/example/basic/main.js:9:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
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