dotnet / dotnet/vscode-csharp

vsdbg-ui Crash With No Information

Open
#3,255 4 comments 0 reactions 0 assignees View on GitHub
Debugger Needs Investigation OmniSharp Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

Please paste the output from your clipboard: OK, now that is a cool "reporting" feature!
## Issue Description ##
I've been having vsdbg-ui crashing occasionally but with no usable stack trace.
I saw https://github.com/OmniSharp/omnisharp-vscode/wiki/Diagnosting-'Debug-adapter-process-has-terminated-unexpectedly' which doesn't have information for linux, but I know a little about using "coredumpctl".
I've got ~18 entries for vsdbg-ui and the most I get from those is a Signal 11 (SEGV):
```
Process 18473 (vsdbg-ui) of user 1000 dumped core.

Stack trace of thread 19320:
#0 0x0000000700000000 n/a (n/a)
```
## Steps to Reproduce ##
Even though it supposedly crashed 18 times, I haven't yet noticed what I did when it happened.
I know a bunch of times (didn't seem like 18, but could've), my system would become horribly unresponsive for what seems like 1 minute.
I wouldn't be able to switch windows or minimize or anything.

I was just working on a "Web/Empty" project and also had another instance of vscode open to work on the browser debugging of javascript.
Yes, I know about "serverReadyAction", but there's issues that shouldn't be delved into on top of this issue.

## Expected Behavior ##

## Actual Behavior ##

## Logs ##
I'd love to provide some usable logs, but seem to have none, other than what I mention here.
I found the vsdbg-ui command and saw it has parameters:
```
--engineLogging: Log communications to /home/username/vsdbg-ui.log.
--consoleLogging: Log communications console.
```
That file doesn't exist and and I don't know how I would go about setting the parameters when it's already running in vscode.

### OmniSharp log ###
Post the output from Output-->OmniSharp log here
I've got "omnisharp.loggingLevel": "trace" set and I don't think you want all of that output.
There is no stack information found in there.

### C# log ###
Post the output from Output-->C# here
There is literally nothing in here.
The option is there, but there is no actual output.

## Environment information ##

**VSCode version**: 1.38.0-insider
**C# Extension**: 1.21.1

Mono Information
OmniSharp using built-in mono
Dotnet Information
.NET Core SDK (reflecting any global.json):
Version: 3.0.100-preview8-013656
Commit: 8bf06ffc8d

Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: linux-x64
Base Path: /opt/dotnet/sdk/3.0.100-preview8-013656/

Host (useful for support):
Version: 3.0.0-preview8-28405-07
Commit: d01b2fb7bc

.NET Core SDKs installed:
2.2.105 [/opt/dotnet/sdk]
3.0.100-preview6-012264 [/opt/dotnet/sdk]
3.0.100-preview8-013656 [/opt/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.0.0-preview6.19307.2 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview8.19405.7 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.3 [/opt/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview6-27804-01 [/opt/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview8-28405-07 [/opt/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

|Extension|Author|Version|
|---|---|---|
|arm|dan-c-underwood|0.3.0|
|cortex-debug|marus25|0.3.0|
|cortex-debug-dp-stm32f1|marus25|1.0.0|
|cortex-debug-dp-stm32f4|marus25|1.0.0|
|cpptools|ms-vscode|0.24.1|
|csharp|ms-vscode|1.21.1|
|debug|webfreak|0.23.1|
|debugger-for-chrome|msjsdiag|4.11.7|
|Doxygen|bbenoist|1.0.0|
|html-snippets|abusaidm|0.2.1|
|ilspy-vscode|icsharpcode|0.7.5|
|linkerscript|ZixuanWang|1.0.0|
|msbuild-project-tools|tintoy|0.2.55|
|mssql|ms-mssql|1.5.0|
|riscv|zhwu95|0.0.4|
|view-in-browser|qinjia|0.0.5|
|vscode-eslint|dbaeumer|1.9.1|
|vscode-nuget-package-manager|jmrog|1.1.6|
|vscode-solution-explorer|fernandoescolar|0.3.1|
|xml|DotJoshJohnson|2.4.0|;

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.