[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 <alan@idiocy.org> 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
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Ivan Cibrario Bertolotti, 2016/05/05
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Alan Third, 2016/05/08
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Alan Third, 2016/05/08
- bug#23462: 25.0.93; Crash on OS X when suspending main frame,
Ivan Cibrario Bertolotti <=
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Anders Lindgren, 2016/05/10
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Ivan Cibrario Bertolotti, 2016/05/10
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Anders Lindgren, 2016/05/10
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Alan Third, 2016/05/10
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Alan Third, 2016/05/10
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Alan Third, 2016/05/11
- bug#23462: 25.0.93; Crash on OS X when suspending main frame, Anders Lindgren, 2016/05/12
- bug#23462: [PATCH] Block input while minimizing on NS (bug#23462), Alan Third, 2016/05/12
- bug#23462: [PATCH] Block input while minimizing on NS (bug#23462), Ivan Cibrario Bertolotti, 2016/05/16
- bug#23462: [PATCH] Block input while minimizing on NS (bug#23462), Anders Lindgren, 2016/05/12