Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPC crashes between node 10.6.0 and electron #13565

Closed
ventsislav-georgiev opened this issue Jul 5, 2018 · 1 comment
Closed

IPC crashes between node 10.6.0 and electron #13565

ventsislav-georgiev opened this issue Jul 5, 2018 · 1 comment

Comments

@ventsislav-georgiev
Copy link

ventsislav-georgiev commented Jul 5, 2018

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants