ccls icon indicating copy to clipboard operation
ccls copied to clipboard

Freeze when running a specific code

Open Thiago4532 opened this issue 3 years ago • 0 comments

Every time I run the following code using ccls my computer starts freezing until ccls is killed. I did the test using nvim-lsp and vscode-ccls and both showed similar results.

https://pastebin.com/fqUzjApd

Steps to reproduce:

  1. Save the code to some file (I don't know if it's necessary, but the results looked worse if I saved the file before opening it).
  2. Open the file using nvim-lsp. (I've tried to record the error but my KDE Plasma literally died when I opened the file.)

In Visual Studio Code I used a project that was already using ccls and pasted the code, and like NeoVim everything froze until ccls was killed.

The log from VSCode doesn't seem to have anything useful: Screenshot_20210611_144155

I don't know if this problem only occurs to me, so if you are able to reproduce it, please let me know.

Thiago4532 avatar Jun 11 '21 17:06 Thiago4532