Fork me on GitHub
#lsp
<
2021-03-08
>
kommen12:03:18

when Emacs hangs with 100% cpu usage when highlighting a token by moving point over it, do I report it to emacs-lsp or clojure-lsp? and what information would be helpful?

ericdallo12:03:05

Probably lsp-mode , double check the perfomrnace section: https://emacs-lsp.github.io/lsp-mode/page/performance/

borkdude12:03:46

Maybe it's stuck in a loop?

kommen12:03:56

thanks. I don’t think it is a performance problem. it get’s stuck at 100% cpu for ever (= I waited ~30 min once)

ericdallo12:03:13

you can stop it with C-g

borkdude12:03:49

Maybe also check clojure-lsp logs?

ericdallo12:03:52

also, if you M-x toggle-debug-on-quit , reproduce the issue and C-g when freeze, you will know where it's freezing in the stacktrace

kommen12:03:25

thanks got a stacktrace

kommen12:03:09

hmm, doesn’t reproduce wit emacs -q -l lsp-start-plain.el

ericdallo12:03:29

probably your config so

ericdallo12:03:52

could you past your emacs config? or the relevant part of it

kommen12:03:05

just spacemacs with lsp layer

ericdallo12:03:35

I don't know how spaceemacs is configuring lsp layer, but we already had issues on the past with completion config

ericdallo12:03:37

BTW, spaceemacs is a common emacs framework and hover is a common usage, I suggest you reinstall your emacs packages and byte compile them again

kommen12:03:22

I just did reinstall yesterday, didn’t help

kommen12:03:51

I’ll write it up in an lsp issue, I have a way to repro it 100% with my setup

ericdallo12:03:41

good, don't forget to paste you emacs config there as it probably is the issue