vscode: Extension host terminated unexpectedly on macOS < 10.12 (in version 1.57.0)

Workaround: none today, you can go back to 1.56.2 via download and configure update.mode to none or manual.


Extension host terminated unexpectedly in the latest VSCode version 1.57.0. All extensions break down… Screen Shot 2021-06-11 at 11 31 21 Screen Shot 2021-06-11 at 11 30 58

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.57.0
  • OS Version: OS X 10.11.6

Steps to Reproduce:

  1. Open the VSCode.
  2. Pop up a dialog in the bottom-right.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 19 (12 by maintainers)

Most upvoted comments

Thanks for the ping @alexdima

We now use pthread_chdir_np to support the cwd option in child_process module https://github.com/microsoft/vscode/issues/118267 but this api is not available for mac os < 10.12. Will add a guard in the internal implementation to fix it.

Thank you a lot for staying compatible with older OSes! (edit: just tried the fix in insider, and it works as expected with osx 10.11.6)

@santi-diazl You will have to wait for the next update or try the Insiders version (https://code.visualstudio.com/insiders/)

Fix has been made https://domoreexp.visualstudio.com/Teamspace/_git/electron-build/pullrequest/368087 but getting build on time for recovery might be difficult.

@deepak1556 I think this might have something to do with dynamic libraries. Zooming in on one of the errors:

image

This might be similar to https://github.com/microsoft/vscode/issues/104525 , but we now delete DYLD_LIBRARY_PATH from the env when spawning the extension host

cc @digitarald