-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
IntelliSense crashes with seastar/src/util/file.cc #5973
Comments
What file are you opening in that project? |
I don't know which one I opened when I saw the crash. I did see several crashes, but afterwards the language server shuts down and reverts to the tag parser, and I don't know how to get it started back (I tried resetting the database and restarting the extension host). I'm happy to upload a core dump somewhere if it helps. |
btw, I also recommend including debug symbols with the cpp extension (of the extension itself). Many developers will not be able to resist the urge to debug it themselves, and you will get higher quality reports. |
The debug symbols makes the binary very large and is unlikely to be usable by external people for debugging/diagnostics. I can try to locate the file that is reproing the crash, but if you can enable debug logging (https://code.visualstudio.com/docs/cpp/enable-logging-cpp) and then search for a "Failed to read response from server" message and then look for which file was being processed that would help get a repro. |
I already had logging enabled, and found this in the logs:
future.hh et al are in a submodule, so run My configuration:
|
(gcc 10.2) |
Thanks for the info. I reproed the crashes. Good news is the crashes are fixed with our pending 0.30.0-insiders3, which we'll try to release this week, but it might get delayed. Some of the crashes were related to #5897 . |
Great, thanks. Any tips on how to get code to start using the language server again? After a few crashes it backs off and doesn't want to talk to it again. |
I would switch back to 0.29.0 until we can release 0.30.0-insiders3 (or switch to gcc 10.0, but that is probably hard to do). |
The wide spread crashing has been fixed with our pending 0.30.0-insiders3 (e.g. config.cc), but file.cc is still crashing, so we're still investigating that. |
Thanks, I'll do that. |
We fixed the 0.30.0-insiders2 regression crashes with https://github.com/microsoft/vscode-cpptools/releases/tag/0.30.0-insiders3 , so you should be able to update to that (it should have some better C++20 support). The file.cc crash repros with 0.29.0 still. Let me know if you notice IntelliSense crashing with other files, because those could be different crashes. |
Switched, from a quick look-around things work well. Thanks a lot. |
Type: LanguageService
Describe the bug
Steps to reproduce
Expected behavior
No crash, everything works swimmingly, world peace
Logs
Screenshots
Additional context
Backtrace:
Disassembly around the crash:
Registers:
The text was updated successfully, but these errors were encountered: