Skip to content

VSCode launch failed (code 43) (conflict with MacType?) #235973

Open
@Vectorial1024

Description

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

  • VS Code Version: 1.96?
  • OS Version: Windows 11

Steps to Reproduce:

  1. Ensure there are no VS Code running
  2. Try to open VS Code "indirectly", e.g. via GitHub Desktop "Open in Visual Studio Code" or via command line code
  3. Immediately see error; this error holds for a short while, and then the entire window disappears

Directly opening VS Code from e.g. the start menu works, but that defeats the entire purpose of being able to start VS Code from other places. If somehow there is already a VS Code window running, then the above error doesn't occur.

Example error window:
Image

Normally, even code --crash-reporter-directory as mentioned in https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report can result in the same error, and this will NOT result in crash dumps (???), but I am lucky enough that it sometimes passes through, and now I have a crash dump for this error.

Crash dump:
20241212_vscode_dump.zip

For further context, my Windows 11 has OneDrive cloud backup enabled. I notice this cloud backup may somehow hold file locks that it should not (especially when it has completed the backup), which can sometimes block other apps eg Office Word from saving the Word file because the file is "in use" by OneDrive. Not sure if this is relevant in this problem.

Activity

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

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesmitigatedIssue has workaround in placesandboxRunning VSCode in a node-free environmentwindowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions