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 thrown "stdin.unref is not a function" during Parent instance initialization #8

Open
naz opened this issue Nov 30, 2020 · 0 comments

Comments

@naz
Copy link

naz commented Nov 30, 2020

When running bthreads with BTHREADS_BACKEND = 'child_process'; configuration stdin.unref error pops up from time to time without clear reproduction scenario.

stdin.unref is not a function

----------------------------------------

TypeError: stdin.unref is not a function
    at Parent._init (/home/REDACTED/node_modules/bthreads/lib/process/parent.js:129:11)
    at new Parent (/home/REDACTED/node_modules/bthreads/lib/process/parent.js:81:10)
    at Object.<anonymous> (/home/REDACTED/node_modules/bthreads/lib/process/thread.js:15:16)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/home/REDACTED/node_modules/bthreads/lib/process/index.js:10:20)

Environment details:

@chjj would appreciate any tips on tackling this and thanks for all your work on this project!

Notes:

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