2

I have had the issue that emacs will lock up (and need to be force quit) on occasion when I minimize it. I am almost always in org-mode, but otherwise I can see any pattern, except that it happens while it is minimized.

I have scoured the world for a fix to this. Does anyone know how to fix this, or at least how to figure out why it is happening?

I'm on OSX 10.11 with Emacs 24.5

6
  • Where did you get your 24.5? Did you get it from the tried and true generic build all packaged into one nice and neat Emacs.app from emacsformacosx.com ? Did you build it yourself? Did you use homebrew or macports? Have you tried another build from a different source to see if your problem magically goes away? If you are using homebrew or macports, perhaps you are accessing other components that might not be present in the most generic build from emacsformacosx.com For example, if Emacs sees available ingredients when building from source, they will become a part. Commented Sep 15, 2016 at 1:09
  • Of course, most everyone here will want to know if you have tried with a minimal Emacs user-configuration -- i.e., as close as you can get to emacs -q as possible. If you have tried everything else and want to assist the Emacs team to debug the issue, you can build from Emacs source and then launch Emacs under gdb from the Terminal.app and then get a backtrace when it locks up. In such a case, you would leave the source files where they are while debugging. You might also want to try playing with the Emacs 25 release candidate, or the master branch build. Commented Sep 15, 2016 at 1:18
  • 1
    Note that Emacs 25 and later (e.g., master branch) have several important bug fixes relating to frames, including sizes and placement. The only time I fire up 24.5 for OSX is when I'm trying to answer a question for someone on an Emacs forum. Commented Sep 15, 2016 at 1:23
  • @lawlist thanks! I had used EmacsForOSX, I am not trying a brew solution, but that is still 24.5. If that fails I will try 25-rc2. Thanks. If any of these work, I will create a solution to my own issue. (If you want to create that solution ticket for me then, I can also accept yours.) either way. thanks! Commented Sep 16, 2016 at 18:13
  • 1
    I still have the same issue with GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.2.0, Carbon Version 170 AppKit 2487.3) of 2024-04-10 ... is this a general problem or something specific to my setup? How could one debug or fix this issue? I am running EmacsMacApp from Macports on current macOS on MacBooks with different Silicon chips, typically on external monitors. Commented Jun 3, 2024 at 9:31

2 Answers 2

2

I have been using the ``not yet stable'' 25-rc2 build of Emacs for a month without any lockup issues. So it seems @lawless is correct, and this did fix the issue.

0

The issue still exists in the latests stable Emacs 27.1 version.
It has been reproduced using a linux machine under the following conditions:

  • Emacs 27.1 built with Lucid toolkit
  • Desktop manager: any running Gnome Shell
  • From your Emacs GUI session hit C-z
  • Comeback to the minimized frame: it is unresponsive

The reason is that Mutter, starting from this commit , do not unmap minimized windows.
Note that Muffin WM follows the same approach as Mutter; that means, you might see the same issue with Linux Mint.

Emacs has applied a patch that will be available in the next release (27.2).

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.