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: Ivan Cibrario Bertolotti
Subject: bug#23462: 25.0.93; Crash on OS X when suspending main frame
Date: Mon, 9 May 2016 10:49:43 +0200

> On 9 May 2016, at 00:41, Alan Third <address@hidden> wrote:
> 
> On Thu, May 05, 2016 at 11:25:06PM +0200, Ivan Cibrario Bertolotti wrote:
>> Emacs crashes when using the suspend-frame command (bound
>> to C-z by default) on the main frame.  It works correctly when the frame
>> is minimized by clicking on the GUI button.
>> 
>> Recipe: Start emacs -Q; type C-z; Emacs crashes with:
>> Fatal error 11: Segmentation faultAbort trap: 6
> 
> The last thing it does before crashing (but after minimizing) is:
> 
> [EmacsView drawRect:(X:578 Y:4)/(W:15 H:472)]

Just to give it a try (I know this is far away from being a proper patch and 
I’m not an expert on Cocoa), I added

|| !FRAME_VISIBLE_P (emacsframe)

to the predicate at nsterm.m:7593.  This should short-circuit drawRect when the 
frame is not visible and Emacs no longer crashes.

Best regards,
ICB






reply via email to

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