Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
- Version: v8.9.2
- Platform: Windows 10 64bits
The following simple test crashes the node process on Windows. It works fine on Linux.
const{spawn}=require('child_process');if(process.argv.length<=2){// parentconstchild2=spawn(process.argv0,[process.argv[1],'.'],{stdio: ['pipe','ignore','ignore'],});constchild1=spawn(process.argv0,[process.argv[1],'.'],{stdio: ['pipe',child2.stdin,'ignore'],});setInterval(()=>child1.stdin.write(`.`),1);}else{// childrenprocess.stdin.pipe(process.stdout);}The error is:
Exception thrown: write access violation. req was 0x2275CA37430. It occurs in deps/uv/src/win/core.c:439.
I got the stack traces from a self-compiled build, but it also crashes with the official binary.
Metadata
Metadata
Assignees
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.

