-
Notifications
You must be signed in to change notification settings - Fork 113
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
Corrupted clangd binary file downloaded by vscode extension #567
Comments
You're probably aware of this, but just in case: you can point vscode-clangd to the manually downloaded executable using the |
Yeah, I know that. Anyway, thanks. |
@fourdim What vscode version are you using? |
Version: 1.86.0-insider (user setup) |
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. |
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
The text was updated successfully, but these errors were encountered: