-
Notifications
You must be signed in to change notification settings - Fork 677
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
CLRDBG exited unexpectedly with exit code 137 (0x89) #755
Comments
So if I understand Linux exit codes correctly, 137 is 128+9, where 9 is the signal number for SIGKILL. Not quite sure what would be killing clrdbg. @mayconbeserra just to make sure I understand, if you debug the app locally (not in the container) you do NOT see the problem, correct? |
Hi @gregg-miskelly, no, I don't because I can debug finely. Another detail which I forgot to mention is - The clrdbg terminates the process but the container still works fine and accept the requests. |
@gregg-miskelly , just adding more details for the log stating the api is accepting the requests. ========LOG ===================== E exited: {"exitCode":-1,"type":"exited"} |
@mayconbeserra are you following the instructions on https://github.com/Microsoft/generator-docker#generator-docker to setup your container and modify your launch.json to support Docker? |
@gregg-miskelly , yes, I am. this is my launch.json:
|
@mayconbeserra we have tried to reproduce this on our end but unfortunately we haven't had any success. Can you reproduce this problem with a 'hello world' project? Or only with your own real-world project? My guess is that we are going to need to find a way to get gdb to attach to clrdbg in the container to try and understand what is raising the signal. Do you have much experience with GDB? (I am asking so we know how detailed our troubleshooting steps need to be) |
@gregg-miskelly only with a real-world project, and no, I don't have experience with GDB, but I'm happy to follow the instructions and understand more. |
Hi @gregg-miskelly , any news about it? |
@mayconbeserra sorry, I haven't had time to come up with a set of instructions for trying to troubleshoot this issue. I am pretty heads down on other things for the next week, but I hope to get back to this after that. |
Hi @gregg-miskelly , is there any book or source available about clrdbg? I'm using mac and sometimes windows, as far as I know the debugging process for both platform are different |
@mayconbeserra clrdbg itself is a closed source project, though it does use some open source components (.NET Core, parts of Roslyn). |
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:
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
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"}
The text was updated successfully, but these errors were encountered: