dotnet / dotnet/vscode-csharp

CLRDBG exited unexpectedly with exit code 137 (0x89)

Open
#755 11 comments 0 reactions 0 assignees View on GitHub
Debugger Debugger-Poachable OmniSharp
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

Hi there, it's happening something weird while debugging my app with vscode and .net core inside a docker container.
After 30sec - 1 minutes, the clrdbg terminates my debugging.

I have tried 2 different approaches:

1) Just start the debugging and wait for the exception. The result is the same (exited unexpectedly with exit code 137)
2) Start the debugging and make some calls for my rest api. The result is the same after some time. Just for making sure, my initial requests are received.

Note: The controller is receiving the initial calls correctly, but the debugging is terminated without reason. Or it isn't clear for me at the moment.
## Environment data

`dotnet --info` output:
Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64

VS Code version: 1.5.1
C# Extension version: 1.4.1

Docker Version:

Docker version 1.12.0, build 8eab29e
## Steps to reproduce

1) put a breakpoint inside my controller
2) Start debugging
## Expected behavior

CLRDBG doesn't exit
## Actual behavior

ERROR: CLRDBG exited unexpectedly with exit code 137 (0x89). Debugging will now abort.
## Logs

E output: {"category":"telemetry","output":"VS/Diagnostics/Debugger/MIEngine/DebuggerAborted","data":{"VS.Diagnostics.Debugger.MIEngine.DebuggerName":"CLRDBG","VS.Diagnostics.Debugger.MIEngine.LastSentCommandName":"-exec-continue","VS.Diagnostics.Debugger.MIEngine.DebuggerExitCode":"137 (0x89)","VS.Diagnostics.Debugger.clrdbg.Version":"14.0.25520.0 built by: CLRDBG","VS.Diagnostics.Debugger.clrdbg.OSFamily":"Linux","VS.Diagnostics.Debugger.clrdbg.KernelRelease":"4.4.15-moby","VS.Diagnostics.Debugger.clrdbg.LinuxDistroVersion":"Linux version 4.4.15-moby (root@ca9015dc6bb1) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #1 SMP Thu Jul 28 22:03:07 UTC 2016"},"type":"output"}
E output: {"category":"stderr","output":"ERROR: CLRDBG exited unexpectedly with exit code 137 (0x89). Debugging will now abort.\n","data":null,"type":"output"}
ERROR: CLRDBG exited unexpectedly with exit code 137 (0x89). Debugging will now abort.
E output: {"category":"console","output":"The program '/app/server/host/bin/Debug/netcoreapp1.0/publish/host.dll' has exited with code -1 (0xffffffff).\r\n\n","data":null,"type":"output"}
The program '/app/server/host/bin/Debug/netcoreapp1.0/publish/host.dll' has exited with code -1 (0xffffffff).
E exited: {"exitCode":-1,"type":"exited"}
E terminated: {"type":"terminated"}
E output: {"category":"telemetry","output":"VS/Diagnostics/Debugger/DebugCompleted","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"14.0.30822.1","VS.Diagnostics.Debugger.HostVersion":"1.0.20822.1","VS.Diagnostics.Debugger.AdapterId":"coreclr","VS.Diagnostics.Debugger.DebugCompleted.BreakCounter":1},"type":"output"}
C disconnect: {"restart":false}
R: {"success":true,"message":null,"request_seq":23,"command":"disconnect","body":null,"running":false,"refs":null,"seq":0,"type":"response"}

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.