-
Notifications
You must be signed in to change notification settings - Fork 130
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
Freeze on M1 Mac with kind-icon, corfu and eglot installed #333
Comments
I'm not very sure if |
I'm using the external package version of tree-sitter. By itself It does seem to work ok. It only seems to be in combination with all the other packages that there is an issue. |
|
You should also be sure to use |
Unfortunately, I don't get a backtrace using |
Same problem here, also with the combination of kind-icon and corfu. This is happening to me in org-mode where there is not lsp/eglot involved. This is the stack trace that I get, it seems that the problem is related to the parsing of the kind-icon SVG icons:
|
Try just this in the (require 'svg-lib)
(insert-image (svg-lib-icon "heart" '(:foreground "blue"))) Everyone should recompile |
Hard freeze again on the second command. Exactly the same stack trace as above. |
I understand that emacs-mac in recent versions had to switch to some javascript-driven Webkit SVG display usage as the former API they were using disappeared (see #312). The webkit version is quite slow, and perhaps is also related to this crash given the traceback. I've found using
You could M-x report-emacs-bug to put this in front of the emacs-mac developer. |
Thanks! Compiling with librsvg seems to be doing the trick. I will keep testing this for a few days to make sure that everything is working as expected. |
I have a configuration that will lock up with eglot is attempting to provide details about source components. Unfortunately the minimal config that seems to reproduce it is longer than ideal:
In this case if I open a C file such as:
explicitly launch eglot (M-x eglot) and then delete and retype the word "print", Emacs will lock up and need to be force-quit. It seems that some combination of corfu popups, kind-icons, and eglot source analysis locks up.
The same config does not lock up in an EmacsForMacOSX nightly. (The release build doesn't work due to lack of SVG support).
Similarly, this works properly on Ubuntu.
The text was updated successfully, but these errors were encountered: