vscode-csharp: omnisharp crashes on fedora 23
Environment data
dotnet --info
output:
.NET Command Line Tools (1.0.0-preview2-003131)
Product Information:
Version: 1.0.0-preview2-003131
Commit SHA-1 hash: 635cf40e58
Runtime Environment:
OS Name: fedora
OS Version: 23
OS Platform: Linux
RID: fedora.23-x64
VS Code version: 1.5.2
C# Extension version:1.4.1
Steps to reproduce
Open .NET Core project with project.json
Expected behavior
Intellisense should be working
Actual behavior
Intellisense is not working.
The omnisharp log
output shows omnisharp is starting:
Starting OmniSharp server at 9/21/2016, 11:36:52 AM
Target: ...
OmniSharp server started
Path: /home/tmds/.vscode/extensions/ms-vscode.csharp-1.4.1/out/.omnisharp-coreclr/OmniSharp
PID: 2606
OmniSharp: -s /home/tmds/... --hostPID 2539 DotNet:enablePackageRestore=false --encoding utf-8 --stdio
[INFORMATION:OmniSharp.Startup] Omnisharp server running using Stdio at location '...' on host 2539.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in ...
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Auto package restore: False
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update workspace context
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project ...
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project ... => 4b4908b9-a9be-442b-8057-1a1b3ae6a409
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project ...
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project ... => c00ae40e-9b59-4507-86d9-7903ac95bbaf
...
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Resolving projects references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Processing [ProjectState] .../.NETCoreApp,Version=v1.0
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Added 182 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Added 12 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Added 59 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Processing [ProjectState] .../.NETStandard,Version=v1.6
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Added 67 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Added 2 and removed 0 project references
...
[INFORMATION:OmniSharp#MSBuild] No solution files found in '...'
[INFORMATION:OmniSharp.Startup] Configuration finished.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 200 65ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 200 65ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /projects: 200 10ms
Intellisense is not working.
dmesg
shows omnisharp has crashed.
[ 49.690745] traps: OmniSharp[2631] general protection ip:7f6ee8bb4b1e sp:7f6e46642bb0 error:0 in libpthread-2.22.so[7f6ee8ba8000+18000]
Restarting omnisharp in vscode makes intellisense work for a split second until OmniSharp crashes again.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 26 (24 by maintainers)
There is a new beta of the C# extension available here that should address this problem. Feel free to try it out and let me know if it address the issue for you.