Subject: Re: bug#58857: 28.2; Emacs on macOS seg faults when deleting fullscreen frame

From: Eli Zaretskii <[email-masked]>
Date: Sat, 29 Oct 2022 10:28:35 +0300

> From: Gerd Möllmann <[email-masked]>
> Cc: Kevin Lin <[email-masked]>,  [email-masked]
> Date: Sat, 29 Oct 2022 09:01:12 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > In general, we don't expect any Emacs 28 releases, so it would be of
> > great help to us if you could try Emacs 29 (from the master branch of
> > the Emacs Git repository) and see if the problem still exists there.
> 
> I can reproduce this in feature/pkg, which should equal master in this
> area.
> 
> 
> (lldb) p emacsframe
> (frame *) $64 = 0x000000012d811600
> (lldb) p emacsframe->output_data
> (output_data) $63 = {
>   tty = nil
>   x = nil
>   w32 = nil
>   ns = nil
>   pgtk = nil
>   haiku = nil
> }

So you are saying the NS-specific code that is run when Emacs is idle
somehow references a frame that was deleted?