I am using Emacs 27.1 on Ubuntu 20.04, and I also pulled the code for Emacs 27.2 and compiled it myself with debugging and see the same issue there: when editing an empty file (python file, in fact it's a __init__.py file) after I type a few characters Emacs hangs hard using 100% CPU, and no amount of ^G etc. will unblock it.
lsp-mode-20210321.1904
lsp-ui-20210325.1634
Looking at the stacktrace, it seems to be hanging in lsp-ui-sideline-current-column. All I can assume is that this loop is never exiting in my buffer; maybe because I'm on the first line and there's no previous line?
I am using Emacs 27.1 on Ubuntu 20.04, and I also pulled the code for Emacs 27.2 and compiled it myself with debugging and see the same issue there: when editing an empty file (python file, in fact it's a
__init__.py
file) after I type a few characters Emacs hangs hard using 100% CPU, and no amount of ^G etc. will unblock it.Looking at the stacktrace, it seems to be hanging in lsp-ui-sideline-current-column. All I can assume is that this loop is never exiting in my buffer; maybe because I'm on the first line and there's no previous line?
GDB says:
If I continue back up through these stack elements until it gets back to lsp-ui-sideline--current-column it will never return from that function.