-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two users SSH remove Ubuntu, one will fail #1555
Comments
@jonathanjyi this looks similar to #1354 but perhaps with a different cause. Would you mind taking a look? |
Hi @jllixiao thanks for reporting this issue and pasting the Log. I'll take a look to see what's going on. In the mean time, could you elaborate a bit more on the setup?
|
Adding @webreidi as owner to comment on scenario support after we understand scope of break. |
Hi @jonathanjyi ,
Hope this helps, Thanks a lot, |
@jonathanjyi, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer. |
@jllixiao, apologies on the delay. I was able to repro this issue locally and know what the issue is. Using your example of Users A and B, what is happening here is that User A is the first open and start the C# Dev Kit extension. That means User A also creates the /tmp/csdevkit folder with their permissions, thus preventing User B from writing to that directory. I'm investigating a solution internally and will update here. |
Also, @jllixiao I wanted to add that to unblock your users until we get a fix out, you can set the /tmp/csdevkit folder to world write (777) at the folder level.
|
Type: Bug
I have 2 users A and B use SSH remote to Ubuntu to do development work.
If A's vscode works fine, then B's will not work. By not working, the code intellisense, project loading all failed.
Reinstall DevKit is not helping. But if B removes /tmp/csdevkit folder, then restart vscode, B's vscode will work well. But A will fail.
Steps to Reproduce
A starts vscode, then B starts.
Expected Behavior
Both A and B can work well.
Actual Behavior
B will fail.
C# log
Using dotnet configured on PATH
$>g__RunAsync|0_0(ServerConfiguration serverConfiguration, CancellationToken cancellationToken) in //src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Program.cs:line 100Dotnet path: /usr/lib/dotnet/dotnet
Activating C# + C# Dev Kit...
waiting for named pipe information from server...
[stderr] Unhandled exception: [stderr] System.ArgumentException: filePath
at Microsoft.VisualStudio.Telemetry.CommonProperty.CommonPropertyParserFactory.GetCommonPropertyParser(TelemetrySessionInternalBase session)
at Microsoft.VisualStudio.Telemetry.TelemetrySessionInternalBase.LoadCommonProperties()
at Microsoft.CodeAnalysis.LanguageServer.Logging.VSCodeTelemetryLogger.InitializeSession(String telemetryLevel, String sessionId, Boolean isDefaultSession)
at Microsoft.CodeAnalysis.LanguageServer.Logging.RoslynLogger.Initialize(ITelemetryReporter reporter, String telemetryLevel, String sessionId) in //src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Logging/RoslynLogger.cs:line 41
at Program.<
at System.CommandLine.CliCommand.<>c__DisplayClass32_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
Language server process exited with 1
[Error - 9:02:44 AM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
Error: Language server process exited unexpectedly
at ChildProcess. (/home/lynn/.vscode-server/extensions/ms-dotnettools.csharp-2.50.27-linux-x64/dist/extension.js:2:1175957)
at ChildProcess.emit (node:events:531:35)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Environment information
VSCode version: 1.94.2
C# Extension: 2.50.27
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 8.0.110 Commit: 87a66bb3d1 Workload version: 8.0.100-manifests.2d90560fRuntime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: ubuntu.24.04-x64
Base Path: /usr/lib/dotnet/sdk/8.0.110/
.NET workloads installed:
Workload version: 8.0.100-manifests.2d90560f
There are no installed workloads to display.
Host:
Version: 8.0.10
Architecture: x64
Commit: 81cabf2857
.NET SDKs installed:
8.0.110 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.10 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.10 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
Extension version: 1.11.14
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Remote OS version: Linux x64 6.8.0-44-generic
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: