Subject: bug#76410: 31.0.50; Multi-tty assertion failed FRAMEP (top_frame)

From: Gerd Möllmann <[email-masked]>
Date: Wed, 19 Feb 2025 07:54:46 +0100

In master, built with window-system and checking:

- emacs -Q to open a GUI frame
- M-x server-mode
- in a terminal, emacsclient --tty

    frame #0: 0x000000010529baec emacs`die(msg="FRAMEP (top_frame)", file="frame.c", line=1810) at alloc.c:7442:12
_regexp-up 1
frame #1: 0x0000000104e81a38 emacs`do_switch_frame(frame=(struct frame *) $8 = 0x000000013b31f708, track=1, for_deletion=0, norecord=(struct Lisp_Symbol *) $11 = 0x000000010727d878) at frame.c:1810:29
_regexp-down 1
frame #0: 0x000000010529baec emacs`die(msg="FRAMEP (top_frame)", file="frame.c", line=1810) at alloc.c:7442:12
(lldb) p msg
(const char *) 0x00000001052a11b2 "FRAMEP (top_frame)"

I'll fix that when I have the bug number.