Questions tagged [frozen-emacs]

11 questions
64
votes
2 answers

What do I do when Emacs is frozen?

What should I do when Emacs stops responding? My current "emacs-is-frozen" protocol looks like this: Spam C-g (it sometimes works) Wait for a while. pkill -9 emacs What alternate steps could I try to avoid losing work that hasn't been autosaved…
Clément
  • 3,924
  • 1
  • 22
  • 37
62
votes
4 answers

Debugging a frozen Emacs

I am using mew for my e-mail. I need to use TLS with my email provider for SMTP. However, when I try to invoke that, Emacs freezes. I would like to take this opportunity to learn more about Emacs packages. How would I go about debugging this…
Svante
  • 721
  • 5
  • 7
14
votes
2 answers

How to kill a buffer when it causes Emacs to stop responding?

I use Emacs Dired to manage files. Accidentally, I hit Enter on an image file, Emacs tries to open the image and stop response. Is there a way to kill this process? (Since I am running other processes at the same time, I don't want to restart…
Nick
  • 4,423
  • 4
  • 24
  • 41
6
votes
1 answer

Interrupt ELisp interpreter from outside Emacs?

Sometimes Lisp hangs due to an infinite loop, making the whole of Emacs unresponsive, so it can't process any input, C-g included. So, I was hoping for there to be a way to maybe send it an emergency call from the outside, which would interrupt the…
wvxvw
  • 11,222
  • 2
  • 30
  • 55
4
votes
0 answers

emacs is frozen

I'm running emacs 26.2 RC1 compiled with debugging features on Debian 8 Jessie 64bit. Sometimes the Emacs GUI will freeze and all the buffers will go black. I've tried hitting C-g a number of times and ESC but it doesn't listen. It freezes now about…
map7
  • 503
  • 3
  • 15
3
votes
1 answer

Paste very specific Unicode in scratch buffer freezes emacs -Q

I experienced a freeze which can be reproduced very easily on GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.18, cairo version 1.16.0) of 2020-08-25 . emacs -Q Copy the Unicode U+27B0 into the scratch buffer: ➰ Emacs frozen for…
Firmin Martin
  • 1,265
  • 7
  • 23
2
votes
2 answers

emacs get frozen due to error reading undo-tree history

Once every hour, or when I open a new file; I am usually getting error related to reading undo-tree history, which lead emacs daemon to frozen, and everytime I have to re-start the emacs. The error I am having, where Emacs get frozen: Error reading…
alper
  • 1,238
  • 11
  • 30
2
votes
0 answers

How to diagnose emacs hanging and 100% cpu on startup?

How can I diagnose this issue? I've tried using strace and I see the following that seems to be stuck in a loop: recvfrom(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 567516, 0, NULL, NULL) = 567516 --- SIGIO…
1
vote
0 answers

Tell emacsclient/server to stop whatever it's doing (from another terminal window perhaps)

I opened an .xml file inside emacsclient -nw not realizing it's large (55MB) Now I'm staring at my terminal/emacs for several minutes. It seems frozen but I know from experience it will eventually wake up after (I'm guessing) xml mode parses the…
american-ninja-warrior
  • 3,773
  • 2
  • 21
  • 40
0
votes
1 answer

Emacs main window unresponsive after file save and loss of focus until menu operation

I'm running Emacs build GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.23) of 2014-11-27 on x86-010.build.bos.redhat.com on Exceed On Demand (X windows). The following scenario happens to me almost every time I perform it: I save…
Bogatyr
  • 101
  • 1
0
votes
0 answers

Help with debugging emacs, when opening routes.rb from rails applications

I'm using emacs for my every day tasks, I started more or less 4 years ago, and now I'm very happy with emacs. maybe I have a lot of plugins working together. This is my-ruby configuration file I load this while loading the init.el file: ╰─ cat…
anquegi
  • 739
  • 5
  • 21