-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
cpptools generate coredump sometimes #7161
Comments
Can you provide the call stack from the core dump? Such as via something like |
抱歉,这个是偶尔会出现的问题。但最近一段时间出现得很频繁,以至于我需要将它们remove掉才能让我的工作目录更加整洁。所以很抱歉,最近一次的coredump文件已经被我remove掉了,再出现的话我会立即反馈相关gdb调试信息的。 |
Yes, that is one crash we are aware of (i.e. one of our highest hitting crashes), but we believe it happens during shutdown without much user impact so have not given it a high priority to fix. Are you able to provide any more repro info as to when that occurs? Does it just randomly happen? Do you know what actions causes it? After closing a file or after closing VS Code? |
我在开发过程中都是一直打开着远程SSH连接的,所以如果说coredump发生可能是由于关闭文件或VS Code导致的,那我觉得更可能是关闭文件造成的。此外,最近发现cpptools-srv的CPU占有率常常突然很高,希望这个问题也能引起你们的重视,谢谢! |
The CPU issue is different. We might need some perf logs (https://github.com/microsoft/vscode-cpptools/wiki/Troubleshooting-Performance-Issues) or a call stack (https://github.com/microsoft/vscode-cpptools/wiki/Attaching-debugger-to-cpptools-or-cpptools%E2%80%90srv) to identify what is going on (setting C_Cpp.loggingLevel to "Debug" may also show what is using CPU). UPDATE: Fix is not in 1.3.0-insiders, but should be for 1.3.0-insiders2. |
Fix is released in the 1.3.0 release version https://github.com/microsoft/vscode-cpptools/releases/tag/1.3.0 |
使用vs-code插件时,偶尔会出现coredump文件,我的使用方式是Remote-SSH连接远程开发机。
对于何时会出现coredump,暂未发现明显的规律,使用gdb调试core可以观察到下面的信息:
原谅我对gdb使用不太熟悉,只能从中看到这个coredump是cpptool是抛出来的。
The text was updated successfully, but these errors were encountered: