Subject: bug#27834: 25.2.50; Deleting a frame on macOS while in fullscreen always crashes

From: John Wiegley <[email-masked]>
Date: Tue, 25 Jul 2017 20:17:00 -0400

Steps to reproduce:

 1. Enter fullscreen.  I use this function to do so:

    (defun emacs-max ()
      (interactive)
      (set-frame-parameter (selected-frame) 'fullscreen 'fullboth)
      (set-frame-parameter (selected-frame) 'vertical-scroll-bars nil)
      (set-frame-parameter (selected-frame) 'horizontal-scroll-bars nil))

 2. Create another frame with C-x 5 2.

 3. Delete that frame immediately with C-x 5 0.

 4. Emacs crashes. Crash report attached.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2