bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23462: 25.0.93; Crash on OS X when suspending main frame


From: Anders Lindgren
Subject: bug#23462: 25.0.93; Crash on OS X when suspending main frame
Date: Thu, 12 May 2016 07:39:03 +0200

Hi!
 
Right, on a hunch that it's something to do with Emacs receiving and
processing signals or input of some sort during or immediately after
minimization, I tried wrapping

    [[view window] miniaturize: NSApp];

in x_iconify_frame with block_input and unblock_input:

    block_input();
    [[view window] miniaturize: NSApp];
    unblock_input();

which seems to have solved the crash.

This seems like a much cleaner solution than the earlier.

It looks very similar to the startup crash I tracked down a fixed about a year ago, when input events started to arrive before emacs had finished its initialization.

    -- Anders

reply via email to

[Prev in Thread] Current Thread [Next in Thread]