-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Net64 client will crash to desktop a while after connecting to an emulator for a second time.
Steps to reproduce:
- Open Net64 client.
- Connect to PJ64 MM.
- Connect to PJ64 MM again. (Problem occurs whether or not the same process is used).
- Client will crash to desktop.
This also occurs if the mock emulator is used as the second connection.
The crash appears to be caused by a binary file, likely winprocess.
The error message is:
npm ERR! code ELIFECYCLE
npm ERR! errno 3221226356
npm ERR! net64plus@2.4.0 start: `yarn build:dev && cd ./build && electron .`
npm ERR! Exit status 3221226356
This is a heap corruption error (0xC0000374).
I tried to use a debug build of winprocess using
npm explore winprocess -- npx node-gyp --debug configure rebuild
to investigate but was unable to run Net64 using it. Looks like it is webpacked it into the Electron app somehow instead of going through a regular nodejs dependency resolver.
If this is indeed an upstream issue with winprocess, consider switching to memoryjs. I have been using it in another project without issue.
Metadata
Metadata
Assignees
Labels
No labels