Skip to content

[Bug]: child_process.fork not working on Windows #34701

@daqi

Description

@daqi

Preflight Checklist

Electron Version

18.x.y

What operating system are you using?

Windows

Operating System Version

windows 10

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

image

Actual Behavior

image

Testcase Gist URL

https://gist.github.com/daqi/d03bb1706633723667e0dafd93cfbd47

Additional Information

On this PC, The gist work well in fiddle, but not after pack.
Electron 11.5.0 work well.

 1: 00007FF63C94AE66 node::Buffer::New+50438
 2: 00007FF63C93AC78 node::InitializeNodeWithArgs+2344
 3: 00007FF63B0B604D std::__1::__vector_base<v8::CpuProfileDeoptInfo,std::__1::allocator<v8::CpuProfileDeoptInfo> >::__end_cap+21981
 4: 00007FF63AEF7D6E std::__1::__vector_base<v8::CpuProfileDeoptFrame,std::__1::allocator<v8::CpuProfileDeoptFrame> >::__vector_base<v8::CpuProfileDeoptFrame,std::__1::allocator<v8::CpuProfileDeoptFrame> >+46110
 5: 00007FF63E892FC2 Cr_z_crc32+4115698
 6: 00007FFF8D946FD4 BaseThreadInitThunk+20
 7: 00007FFF8EA9CEC1 RtlUserThreadStart+33

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions