After a recent dist-upgrade, both -mule and -nomule started to display
the following error message:
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
xemacs21-nomule can still proceed, but -mule just dies with
Fatal error (11).
Lisp backtrace follows:
# bind (frame-being-created)
make-frame(nil #<x-device on ":0.0" 0x25d1>)
frame-initialize()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " Â" ... 1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault
The error seems to be coming from xlibs package, but that hasn't been
upgraded since May. The most recently upgraded package that deals with
fonts is freetype6. Unfortunately, downgrading to the previous version of
freetype6 or re-installing xemacs21-mule, xemacs21-mulesupport doesn't
resolve the issue.
ii xlibs 4.1.0-17 X Window System client libraries
ii libfreetype6 2.1.2-5 FreeType 2 font engine, shared library files
Here's the output from debugger:
Program received signal SIGSEGV, Segmentation fault.
0x401d16e9 in XFontsOfFontSet () from /usr/X11R6/lib/libX11.so.6
(gdb) where
#0 0x401d16e9 in XFontsOfFontSet () from /usr/X11R6/lib/libX11.so.6
#1 0x081966ea in xaw_create_label ()
#2 0x0819679f in xaw_create_label ()
#3 0x4014446b in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6
#4 0x4014493a in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6
#5 0x40144df5 in _XtCreateWidget () from /usr/X11R6/lib/libXt.so.6
#6 0x40144e69 in XtCreateWidget () from /usr/X11R6/lib/libXt.so.6
#7 0x08198fc9 in XawGaugeGetValue ()
#8 0x081919ba in lw_modify_all_widgets ()
#9 0x08190f9b in replace_widget_value_tree ()
#10 0x08191a93 in lw_make_widget ()
#11 0x08191b04 in lw_create_widget ()
#12 0x080c38db in specifier_vars_of_toolbar ()
#13 0x080c395d in x_initialize_frame_menubar ()
#14 0x081789cb in x_wm_set_variable_size ()
#15 0x08178cc1 in x_wm_set_variable_size ()
#16 0x0810322e in Fmake_frame ()
#17 0x080af30a in Ffuncall ()
#18 0x0808d577 in funcall_compiled_function ()
#19 0x0808d27f in funcall_compiled_function ()
#20 0x080af401 in Ffuncall ()
#21 0x0808d577 in funcall_compiled_function ()
#22 0x0808d27f in funcall_compiled_function ()
#23 0x080aefe2 in Feval ()
#24 0x080acd96 in condition_case_1 ()
#25 0x080ad01f in condition_case_3 ()
#26 0x0808de9d in execute_rare_opcode ()
#27 0x0808d40b in funcall_compiled_function ()
#28 0x0808d27f in funcall_compiled_function ()
#29 0x080aefe2 in Feval ()
#30 0x080acd96 in condition_case_1 ()
#31 0x080967e7 in Freally_early_error_handler ()
#32 0x080aca6c in internal_catch ()
#33 0x080968c2 in initial_command_loop ()
#34 0x080a9ab2 in xemacs_21_4_8_i386_debian_linux ()
#35 0x080aa222 in main ()
#36 0x403e40bf in __libc_start_main () from /lib/libc.so.6