microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[opensuse] language server crashes

linev opened this issue · comments

Environment

  • OS and Version: openSUSE Tumbleweed, 64bit, 2024-04-28
  • VS Code Version: 1.89.1
  • C/C++ Extension Version: v1.20.5

Problem exists since a long time (~6 months)

Bug Summary and Steps to Reproduce

Bug Summary:

The language server crashed. Restarting...

C++ logs: cpplog.txt
debugger output: debugger.txt

Configuration and Logs

c_cpp_properties.json - not exists
C++ and debugger log attached

Other Extensions

No response

Additional context

No response

@linev With 1.20.5, do you see a C/C++ Crash Call Stacks pane in the Output window after waiting 5 seconds after the crash?

@linev Does the issue repro with 1.18.5 from November? Do you know which version it started reproing with?

@linev From your logging, it appears that it might be crashing while tag parsing tag parsing file: /home/linev/git/webgui/bindings/pyroot/cppyy/CPyCppyy/include/CPyCppyy/PyResult.h. Can you try adding "/home/linev/git/webgui/bindings/pyroot/cppyy/CPyCppyy/include/CPyCppyy": true to your C_Cpp.files.exclude setting to get it to skip tag parsing that file and see if it stops crashing? (also, make sure that logging stops appearing).

Can you try adding "/home/linev/git/webgui/bindings/pyroot/cppyy/CPyCppyy/include/CPyCppyy": true to your C_Cpp.files.exclude setting to get it to skip tag parsing that file and see if it stops crashing? (also, make sure that logging stops appearing).

Adding such entry does not help. ....CPyCppyy/PyResult.h still appears in list of parsed files and cpptools crashed.

Does the issue repro with 1.18.5 from November?

This version works! Also versions up to 1.19.1 are working.
But trying to switch to 1.19.2 leads to crash.