Skip to content

Conversation

@vmoroz
Copy link
Member

@vmoroz vmoroz commented Jan 9, 2026

While working on the PR #60916 I had often saw a deadlock during build of Node-API test addons.
The issue is that if there are too many errors and the stderr buffer becomes full, then the process.wait() is causing a deadlock.
This behavior was observed it on Windows. I did not check the other platforms.
The fix removes the use of the process.wait() to avoid the deadlock.

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Jan 9, 2026
@avivkeller avivkeller added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants