少し古い環境Debian(Jessie)でビルドしてるんですが、
emacs26.1/27.0.50とも--fg-daemonで起動するとsegmentation faultで落ちます。
古くからあるバグのようですが他の環境では動いてるんでしょうか?

Warning: due to a long standing Gtk+ bug
http://bugzilla.gnome.org/show_bug.cgi?id=85715
Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.
Using an Emacs configured with --with-x-toolkit=lucid does not have this problem.
Fatal error 11: Segmentation fault