Skip to content

Unable to open terminal with linux arm and arm64 servers on qemu #172992

@deepak1556

Description

@deepak1556

Sanity testing 1.75 on linux servers following the steps at https://github.com/microsoft/vscode-remote-release/wiki/Sanity-Check-VS-Code-Servers#linux-platforms and attempting to open a terminal throws the following error.

Screenshot 2023-02-01 at 11 47 03

Issue is from the pty module, following snippet can trigger the error on any of the containers

> var ptyProcess = pty.spawn('bash', [], {cwd: process.env.HOME});
Unsupported ioctl: cmd=0x5441
Uncaught Error: chdir() failed: Not a directory
    at new UnixTerminal (/root/.vscode-server/bin/e8bf7514f31cef005c988b206c61948e56aab9cb/node_modules/node-pty/lib/unixTerminal.js:106:24)
    at Object.spawn (/root/.vscode-server/bin/e8bf7514f31cef005c988b206c61948e56aab9cb/node_modules/node-pty/lib/index.js:29:12)

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on Linuxterminal-processProblems launching processes, managing ptys, exiting, process leaks, etc.verifiedVerification succeededvirtual-machineIssues related to virtualbox, parallels etc

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions