Closed fourdim closed 6 months ago
You're probably aware of this, but just in case: you can point vscode-clangd to the manually downloaded executable using the "clangd.path"
setting as a workaround
Yeah, I know that. Anyway, thanks.
@fourdim What vscode version are you using?
Version: 1.86.0-insider (user setup) Commit: 9621add46007f7a1ab37d1fce9bcdcecca62aeb0 Date: 2023-12-20T05:36:57.756Z Electron: 27.1.3 ElectronBuildId: 25612240 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.19045
Thanks. Could you try with the (just released) vscode-clangd 0.1.26 please? It should be fixed there.
Sure. Can confirm that this bug is fixed.
Thanks for confirming!
In case anyone is curious, the problem was that vscode-clangd 0.1.25 was using an unzipping library which is broken with nodejs >= 18.16, and vscode 1.86 (currently on the Insiders channel) is the first vscode version to use nodejs >= 18.16.
vscode-clangd 0.1.26 uses a different library for unzipping which is not affected.
Seems like it's happening again.
Seems like it's happening again.
Could you file a new issue please?
I tried again and it passed. If it happens again more consistently I'll open a new issue.
Please describe the problem. For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html
I've downloaded clangd using the extension. However, the checksum is different from the expected binary file (downloaded from the github release).
It looks like it's corrupted during the unzip phase.
Here is part of corrupted binary file and it is not even a valid ELF.
If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).
Logs Please attach the clangd log from the "Output" window if you can. If possible, run with
--log=verbose
- note that the logs will include the contents of open files!System information Clangd version (from the log, or
clangd --version
): Not able to execute clangd. clangd extension version: v0.1.25 Operating system: Ubuntu 22.04.2 LTS