- 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.
Call stack:

Locals:

I got the stack traces from a self-compiled build, but it also crashes with the official binary.
The following simple test crashes the node process on Windows. It works fine on Linux.
The error is:
It occurs in deps/uv/src/win/core.c:439.
Call stack:

Locals:

I got the stack traces from a self-compiled build, but it also crashes with the official binary.