Subject: bug#55068: 29.0.50; crashes when trying to set default font

From: Po Lu <[email-masked]>
Date: Sat, 23 Apr 2022 18:43:32 +0800

Gregor Zattler <[email-masked]> writes:

> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> x_menu_show (f=0x555556143800, x=301, y=458, menuflags=0, title=XIL(0x7ffff02d86ec), error_name=0x7fffffffc078) at xmenu.c:1816
> 1816      specpdl_ref specpdl_count = SPECPDL_INDEX ();

I don't see how SPECPDL_INDEX can actually segfault like this.  Please
show a backtrace with Emacs built with checking and without
optimizations, as detailed in etc/DEBUG.

The output of (mouse-generate-font-menu) run on your system would also
be helpful.

Thanks in advance.