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

Heisenbug - hang disappears if I import this library #41

Open
kevinburke opened this issue Oct 3, 2018 · 1 comment
Open

Heisenbug - hang disappears if I import this library #41

kevinburke opened this issue Oct 3, 2018 · 1 comment

Comments

@kevinburke
Copy link

I'm trying to debug an issue where sending SIGINT to the running process results in a hang - the process refuses to exit.

However, the mere act of adding a require for this library causes the issue to disappear.

The actual hang is somewhere in a mess of webpack-serve, webpack-dev-middleware, webpack, and something called thread-loader.

Do you have any hypotheses for why that could happen?

@kevinburke
Copy link
Author

Specifically if I import this library - the process always exits with a write EPIPE or "This socket has been ended by the other party," presumably between a thread-loader WorkerPool communicating with its children. If I do not import this library it exits with one of those errors 15% of the time and hangs ~85% of the time.

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