Skip to content

Is Message IPC Module Code revert with error ? #11618

@yiliang114

Description

@yiliang114

Bug Description:

Steps to Reproduce:

  1. Get the latest code from master, now the latest submitted hash value is da356b5
  2. Try to run examples/browser, execute npm run startcommand in theia/examples/browser after building theia packages.
  3. The application cannot start successfully, It has been in loading state and the browser console has not reported any errors.

No more log output from browser console.
image

image

2022-08-30T12:55:40.821Z root ERROR TypeError [ERR_INVALID_SYNC_FORK_INPUT]: Asynchronous forks do not support Buffer, TypedArray, DataView or string input: 'overlapped'
    at internal/child_process.js:1025:15
    at Array.reduce (<anonymous>)
    at getValidStdio (internal/child_process.js:956:17)
    at ChildProcess.spawn (internal/child_process.js:343:11)
    at spawn (child_process.js:667:9)
    at spawnWithSignal (child_process.js:871:17)
    at Object.fork (child_process.js:153:10)
    at IPCConnectionProvider.fork (/Users/jinjing/projects/yiliang114/fe/ide/theia/packages/core/lib/node/messaging/ipc-connection-provider.js:81:33)
    at IPCConnectionProvider.doListen (/Users/jinjing/projects/yiliang114/fe/ide/theia/packages/core/lib/node/messaging/ipc-connection-provider.js:40:35)
    at IPCConnectionProvider.listen (/Users/jinjing/projects/yiliang114/fe/ide/theia/packages/core/lib/node/messaging/ipc-connection-provider.js:37:21)

I was able to successfully start and develop it not long ago, this is my strange point. So I look for code changes in the Message/IPC-xxx modules. Found the commit that may have problems is 73260a1c, related to #11561.

So I revert the code on my local and retest it, It's normal again

after I revert code:

image

image

Additional Information

  • Operating System: Macos
  • Theia Version: da356b5
  • Node Version: v14.17.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions