Here is what happens with with xemacs version r21-5-latest-beta. This
happens when starting xemacs built on either of two different computers.
It also happens when built with gnome+gtk, but it takes a little longer,
that is the window comes up and lets you do a bit before crashing.
Lisp backtrace follows:
# bind (frame-being-created)
make-frame(nil #<x-device on ":0.0" 0x2865>)
frame-initialize()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
zsh: 14675 segmentation fault (core dumped) xemacs
#0 0x404d6a41 in kill () from /lib/libc.so.6
#1 0x080ba9c3 in fatal_error_signal ()
#2 0x404d6898 in killpg () from /lib/libc.so.6
#3 0x40268d32 in XtInitializeWidgetClass () from
/usr/X11R6/lib/libXt.so.6
#4 0x40269bd9 in XtCreatePopupShell () from /usr/X11R6/lib/libXt.so.6
#5 0x081c8c80 in x_create_widgets ()
#6 0x081ca351 in x_init_frame_1 ()
#7 0x08130673 in Fmake_frame ()
#8 0x080beaab in Ffuncall ()
#9 0x08093bff in execute_optimized_program ()
#10 0x080937ba in funcall_compiled_function ()
#11 0x080bea03 in Ffuncall ()
#12 0x08093bff in execute_optimized_program ()
#13 0x080937ba in funcall_compiled_function ()
#14 0x080bea03 in Ffuncall ()
#15 0x08093bff in execute_optimized_program ()
#16 0x080937ba in funcall_compiled_function ()
#17 0x080be01f in Feval ()
#18 0x080bbc7c in condition_case_1 ()
#19 0x0809fc0e in top_level_1 ()
#20 0x080bbb3d in internal_catch ()
#21 0x0809f3a2 in initial_command_loop ()
#22 0x080b8330 in xemacs_21_5_b3_i686_pc_linux ()
#23 0x080b9235 in main ()
#24 0x404c46a0 in __libc_start_main () from /lib/libc.so.6
(gdb)