Subject: bug#58296: 29.0.50; "menu.c:120: Emacs fatal error: assertion failed: !menu_items_inuse" on macOS 10.13.6

From: Po Lu <[email-masked]>
Date: Thu, 06 Oct 2022 10:54:02 +0800

Stefan Kangas <[email-masked]> writes:

> Run "emacs -Q", type "M-x ns-print-buffer" to print, press either
> "Yes" or "No" (or type ESC).
>
> Emacs crashes with this printed on terminal:
>
>     menu.c:120: Emacs fatal error: assertion failed: !menu_items_inuse
>     Fatal error 6: Aborted
>     Abort trap: 6

Should be fixed now, thanks.

Unfortunately the fix here is not related to bug#58288, where I get a
very different backtrace from what Robert gets.