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

Closed
kevinburke opened this issue Oct 3, 2018 · 2 comments
Closed

Heisenbug - hang disappears if I import this library #41

kevinburke opened this issue Oct 3, 2018 · 2 comments

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.

@jonkoops
Copy link
Collaborator

jonkoops commented Jul 9, 2024

I don't think this is reproducible any longer, nor do I know how we would even start diagnosing it considering it would need a large stack to reproduce. Since the specific issue was fixed under webpack-contrib/thread-loader#33 I think we can go ahead an close this. If anyone has a reproducible use-case feel free to log a new issue.

@jonkoops jonkoops closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
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

2 participants