Subject: bug#62895: Emacs 28.2 NS build segfaults on startup

From: "F. Romage" <[email-masked]>
Date: Sun, 16 Apr 2023 17:54:08 -0400 (EDT)

Building Emacs 28.2 with the --with-ns option succeeds under Fedora 37 using GNUstep, but running it results in an immediate segmentation fault. I have attached the console messages before the segfault, as well as the strace output.

With Emacs 27.2 the build runs and works for the most part, provided I use the cairo backend for GNUstep (defaults write NSGlobalDomain GSBackend libgnustep-cairo). With the default art backend or the xlib backend (libgnustep-art, libgnustep-xlib) the text in the editor is garbled and fairly unreadable. The cairo backend fixes all that, but it would be nice to use the default art backend, since many GNUstep apps work better with that.