Skip to content
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

[opensuse] language server crashes #12304

Open
linev opened this issue May 14, 2024 · 4 comments
Open

[opensuse] language server crashes #12304

linev opened this issue May 14, 2024 · 4 comments
Assignees
Labels
Language Service more info needed The issue report is not actionable in its current state reliability

Comments

@linev
Copy link

linev commented May 14, 2024

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

@sean-mcmanus
Copy link
Collaborator

@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?

@sean-mcmanus
Copy link
Collaborator

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

@sean-mcmanus sean-mcmanus self-assigned this May 15, 2024
@sean-mcmanus sean-mcmanus added Language Service more info needed The issue report is not actionable in its current state reliability labels May 15, 2024
@sean-mcmanus
Copy link
Collaborator

@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).

@linev
Copy link
Author

linev commented May 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language Service more info needed The issue report is not actionable in its current state reliability
Projects
None yet
Development

No branches or pull requests

2 participants