-
Notifications
You must be signed in to change notification settings - Fork 284
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
Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed. #1754
Comments
Resource related output:
|
If I switch from sync to async stdin read, then sometimes it doesn't print anything and sometimes it prints below given message (when it crashes randomly).
|
@Ashish-Bansal: how many threads / workers are there in your application?
let us see how much it is. thanks! |
It's quite small application actually. I'm able to reproduce it with just single line i.e. Here's the output I got from it when it exits fine.
When ran it under strace and it exited with error: |
To reproduce this error, I need to run the multiple docker containers(around 4 or 5) running that piece of code. So, yeah I believe it's related to some specific system resource. But which one exactly ? (process/thread limits are quite large). |
It was indeed due to limit on no. of processes, being imposed at runtime by a wrapper which was hidden somewhere in the legacy code. Sorry for the noise! |
no problem, nice to know that you found the issue, and got it resolved by yourselves! |
start container with privileged: true |
thanks to waterdrop-chn. start container with privileged=true works for me. |
Node.js Version:
10.15.0
OS:
Running inside docker(Docker version 18.03.1-ce, build 9ee9f40).
Host OS - Ubuntu 16.04.1 LTS
Docker OS: ubuntu:16.04
Exception:
Sometimes nodejs crashes randomly with abort().
The text was updated successfully, but these errors were encountered: