Open Mipsters opened 2 weeks ago
@Mipsters Are you opening the same workspace (with the same database) in multiple VS Code instances or is there a dangling cpptools process running (when VS Code has not loaded a workspace).
@Mipsters Also, does it stop crashing after you run the C/C++: Reset IntelliSense Database command from the command palette? You should get a success notification if the reset was successful.
@sean-mcmanus
Are you opening the same workspace (with the same database) in multiple VS Code instances
Seldom, but it occurs also when there is only one instance
is there a dangling cpptools process running (when VS Code has not loaded a workspace
I don't think so, if you are talking about the cpptools
process it doesn't seem like it
does it stop crashing after you run the C/C++: Reset IntelliSense Database command
Not sure, I'll try to reproduce it and check, but it may be a while
@Mipsters Also, 1.23.0 has some crash fixes and 1.23.1 (pending release today) has more crash fixes, but we don't know yet if it fixes this particular crash.
@Mipsters Also, I've seen Unable to add file to database, error = 0x8064000b: ...
but I'm not certain if it causes a bug or if it's related to the crash. The crashing call stack acquire_intellisense_client
is when you open a new file or something triggers an IntelliSense process to be started and query_translation_unit_source
is querying the database to find which source file to use for a header, so it seems like your repro may require opening some header, maybe when the database is doing some other work (maybe scanning the workspace for files not in the database).
Environment
Bug Summary and Steps to Reproduce
Bug Summary: language server crashes
Steps to reproduce:
Expected behavior: language server doesn't crash
the issue is averted if following these instructions and changing the value of
databaseFilename
: https://github.com/microsoft/vscode-cpptools/issues/2296#issuecomment-406453073Configuration and Logs
Debug logs: this lines repeats a lot, can't share more because of company policy
crash call stack:
partial content of
~/.vscode-server/data/Machine/settings.json
some values redactedOther Extensions
No response
Additional context
No response