vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

[Bug] Frequent crashes since switching from twxs.cmake

Open DaydreamCoding opened this issue 8 months ago • 6 comments

Brief Issue Summary

Frequent crashes since switching from twxs.cmake

CMake Tools Diagnostics

Frequent crashes since switching from twxs.cmake

Debug Log

Frequent crashes since switching from twxs.cmake

Additional Information

No response

DaydreamCoding avatar Mar 26 '25 08:03 DaydreamCoding

@DaydreamCoding This sounds like something we need to urgently address, however, we will need more information. Are you able to provide information on what is crashing? What action are you attempting to perform when this happens? Is there any log from vscode?

Any information you can provide would be great. Thanks.

gcampbell-msft avatar Mar 26 '25 14:03 gcampbell-msft

https://github.com/microsoft/vscode/issues/244718

It might not be this issue, I'm not sure if it's a problem with VS Code Insider or something else, but it occurred when I was building a C++ project with CMake.

Not sure how to get more logs, the probability of recurrence is very high; it easily becomes unresponsive as long as CMake information is generated, but the Release version of VSCode does not.

@gcampbell-msft

DaydreamCoding avatar Mar 26 '25 14:03 DaydreamCoding

Oh interesting that this only happens with VS Code Insider, I'd be curious to know what they find when the vscode team investigates the bug you linked. I will also try to find time to investigate those logs, I'm not entirely familiar with the format of those logs so it may take some time

gcampbell-msft avatar Mar 26 '25 16:03 gcampbell-msft

@DaydreamCoding In the meantime, it would be interesting if you could try other language service providers or languages to see if this re-occurs anywhere else

gcampbell-msft avatar Mar 26 '25 16:03 gcampbell-msft

When the CMake configuration process encounters an error, it can cause VS Code to become unresponsive and eventually crash, and Cursor will also

DaydreamCoding avatar Apr 07 '25 01:04 DaydreamCoding

Thanks for your reply. According to your latest comment, it causes VS Code to become unresponsive and eventually crash. So could you please refer to document collect a dump file so that we can conduct further research with the following steps:

  • Close all instances of VSCode.
  • Run code --crash-reporter-directory <absolute-path> from the command line.
    • Run code-insiders instead of code if the issue is occurring on the Insiders version.
  • Take the steps that lead to the crash.
  • Check for a *.dmp file in that folder.
  • Send the *.dmp file back to us.

We are looking forward to hearing from you. Thanks.

Evelyn-001 avatar Apr 09 '25 09:04 Evelyn-001