Open t6ui opened 2 months ago
During the instances when Emacs freezes, I notice that readtags executes briefly but then quickly terminates, yet Emacs remains unresponsive and stuck.
Emacs stucks because it runs into an infinite loop containing a accept-process-output
call, which is due to that the process finish signal is not properly captured.
I haven't ran into such a problem in recent years, but I do got Windows users reporting this problem, and have modified the mechanism in Citre several times for this. It seems you are using Linux, right?
Honestly I don't know how it happens. If you are willing to look into it, please read the source code of citre-get-output-lines
. I would also guess updating your Emacs version to maybe 28 or 29 may fix the problem, based on my vague memory.
The same problem occurred after upgrade emacs and reinstall all elpa packages:
GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
@tangxinfa Citre developes have not succeeded in reproducing the problem, so letting us know it happens simply doesn't help. We need steps to reproduce, and the first step should be emacs -Q
so developers could actually try it out.
After emacs stuck, when i press C-g, the minibuffer willl ouput "Quit emacsclient request"
@tangxinfa
We need steps to reproduce
Read this again.
Sometimes emacs becomes unresponsive, I issue the command
pkill -SIGUSR2 emacs
to obtain a stack trace. Below is the output of the stack trace generated during a freeze. What might be causing this issue, and is there a way to resolve it?or