Skip to content

IPC crashes between node 10.6.0 and electron #13565

Closed
@ventsislav-georgiev

Description

@ventsislav-georgiev
  • Electron Version: 2.0.4
  • Operating System (Platform and Version): Windows
  • Last known working Electron version: None

Expected Behavior
Spawning a node process (not an electron process fork but an external node) with ipc should be able to send and receive messages.

Actual behavior
On child process send the main process throws an error inside child_process.js:
image

To Reproduce
See electron-node-ipc

Additional Details
Here is how the chunk looks with node 10.5.0 (which works as expected):
image

So it seems like the first 7 characters of the message are lost.
Posted an issue in the node repo also: nodejs/node#21671

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