You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vm: node crashes if timeout is set and nofile limit is reached #8555
If a timeout is given to one of vm's methods, and the nofile limit is reached, the node process crashes. It can be easily reproduced (on both v4.5.0 and v.6.6.0) with this 2-liner:
It seems that node::Watchdog tries to create a libuv thread to implement the timeout. uv_loop_init fails due to the nofile limit, causing this assertion to fail. The correct behaviour would be to throw some meaningful exception.
Activity
fhinkel commentedon Sep 17, 2016
Thanks for reporting this! I can reproduce the issue on Mac OS with Node 6.6.0 and on Ubuntu with current master 2a2ec9d.
vm: add error message if we abort
vm: add error message if we abort
vm: add error message if we abort
vm: add error message if we abort
vm: add error message if we abort