dotnet / dotnet/vscode-dotnet-runtime

Keeps showing the criticised error

Open
#2,784 1 comment 0 reactions 0 assignees View on GitHub
needs more info untriaged
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

Please attach the log file located at /root/.vscode-remote/data/logs/20260901T173843/exthost9/ms-dotnettools.vscode-dotnet-runtime/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1788285752315.txt. Note that this file may contain personal data.

**Extension Version:** 3.1.0
**Error Message:** Action: installedLk-018fe180-b28f-4a26-963c-6b2c564def28 Failed to acquire lock /tmp/vscd-installedLk.sock after 40001 retries out of 40001 total available attempts. Last error: EADDRINUSE.
The lock may be held by another process or instance of vscode. Try restarting your machine, deleting the lock, and or increasing the timeout time in the extension settings.

Increase your OS path length limit to at least 256 characters.
On Linux, you can set XDG_RUNTIME_DIR to be a writeable directory by your user.

If you still face issues, set VSCODE_DOTNET_RUNTIME_DISABLE_MUTEX=true in the environment.
Report this issue to our vscode-dotnet-runtime GitHub for help.
**Error Stack:** Error: Action: installedLk-018fe180-b28f-4a26-963c-6b2c564def28 Failed to acquire lock /tmp/vscd-installedLk.sock after 40001 retries out of 40001 total available attempts. Last error: EADDRINUSE.
The lock may be held by another process or instance of vscode. Try restarting your machine, deleting the lock, and or increasing the timeout time in the extension settings.

Increase your OS path length limit to at least 256 characters.
On Linux, you can set XDG_RUNTIME_DIR to be a writeable directory by your user.

If you still face issues, set VSCODE_DOTNET_RUNTIME_DISABLE_MUTEX=true in the environment.
Report this issue to our vscode-dotnet-runtime GitHub for help.
at t.NodeIPCMutex. (/anonymous/.vscode-remote/extensions/ms-dotnettools.vscode-dotnet-runtime-3.1.0/dist/extension.js:2:264216)
at Generator.next ()
at s (/anonymous/.vscode-remote/extensions/ms-dotnettools.vscode-dotnet-runtime-3.1.0/dist/extension.js:2:262579)

### Please attach log file(s) here if you have any.

The log file location should be copied to your clipboard if you came from VS Code.

### Reproduction Steps

[C#.log.txt](https://github.com/user-attachments/files/31705429/C.log.txt)

### Expected Behavior

Please attach the log file located at /root/.vscode-remote/data/logs/20260901T173843/exthost9/ms-dotnettools.vscode-dotnet-runtime/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1788285752315.txt. Note that this file may contain personal data.

**Extension Version:** 3.1.0
**Error Message:** Action: installedLk-018fe180-b28f-4a26-963c-6b2c564def28 Failed to acquire lock /tmp/vscd-installedLk.sock after 40001 retries out of 40001 total available attempts. Last error: EADDRINUSE.
The lock may be held by another process or instance of vscode. Try restarting your machine, deleting the lock, and or increasing the timeout time in the extension settings.

Increase your OS path length limit to at least 256 characters.
On Linux, you can set XDG_RUNTIME_DIR to be a writeable directory by your user.

If you still face issues, set VSCODE_DOTNET_RUNTIME_DISABLE_MUTEX=true in the environment.
Report this issue to our vscode-dotnet-runtime GitHub for help.
**Error Stack:** Error: Action: installedLk-018fe180-b28f-4a26-963c-6b2c564def28 Failed to acquire lock /tmp/vscd-installedLk.sock after 40001 retries out of 40001 total available attempts. Last error: EADDRINUSE.
The lock may be held by another process or instance of vscode. Try restarting your machine, deleting the lock, and or increasing the timeout time in the extension settings.

Increase your OS path length limit to at least 256 characters.
On Linux, you can set XDG_RUNTIME_DIR to be a writeable directory by your user.

If you still face issues, set VSCODE_DOTNET_RUNTIME_DISABLE_MUTEX=true in the environment.
Report this issue to our vscode-dotnet-runtime GitHub for help.
at t.NodeIPCMutex. (/anonymous/.vscode-remote/extensions/ms-dotnettools.vscode-dotnet-runtime-3.1.0/dist/extension.js:2:264216)
at Generator.next ()
at s (/anonymous/.vscode-remote/extensions/ms-dotnettools.vscode-dotnet-runtime-3.1.0/dist/extension.js:2:262579)

### Exceptions & Errors (if any)

_No response_

### .NET Install Tool Version

git commit -m "$COMMIT_MESSAGE"

### Your operating system? Please provide more detail, such as the version and or distro above.

Linux

### VS Code Version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the attached C#.log.txt and the reported DotNetAcquisition log, then inspect the NodeIPCMutex stack location in the extension's dist/extension.js. Reproduce the repeated EADDRINUSE lock error on Linux and determine what behavior should change; done means the criticised error no longer keeps appearing in the reported scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.