I recently upgraded my system (nixos unstable), and I now run plasma6 (tried on both wayland and x11)… unfortunately, since the upgrade, emacs hangs for a few seconds really regularly while writing, moving the cursor etc. I tried emacs 28.2 and 29.4, using the gtk and lucid, and the bug is present in both. Interestingly, the bug is also present without any configuration, i.e. when I run it with -Q.
Any idea what is wrong here?
I don't know if this is related, but when I run emacs 28 I have an error:
$ emacs -Q /nix/store/isvpgnnhm3zqh2j2nw6r3f1704590cq0-gvfs-1.54.2/lib/gvfs/libgvfscommon.so: undefined symbol: g_once_init_leave_pointer Failed to load module: /nix/store/isvpgnnhm3zqh2j2nw6r3f1704590cq0-gvfs-1.54.2/lib/gio/modules/libgvfsdbus.so but his error is no present when I run the 29 (lucid) version.
M-x report-emacs-bug- no guarantee that it will be fixed, but the report might provide a center for discussion and possible suggestions that might help resolve the bug (if bug it is).htop, check the status of the emacs process when the freeze is happening. Make sure it is not in the "disk sleep" state (or a similar blocking state). Also, maybe it will be useful to run emacs with strace.