[AC21.5] XFT crash in Ubuntu 14 (FIXED)

"Stephen J. Turnbull" <[email protected]> Sat, 18 Oct 2014 21:48:36 +0900
Newsgroups gmane.emacs.xemacs.beta,gmane.emacs.xemacs.patches
Message-ID <[email protected]>
APPROVE COMMIT 21.5

This patch has been committed and pushed.  The crash is fixed for
Raymond's test case.

Stephen J. Turnbull writes:
 > Raymond Toy writes:
 >  > >>>>> "Raymond" == Raymond Toy <[email protected]> writes:

 >  > FYI, I built xemacs from current hg sources on a Macbook Pro running
 >  > 10.9.5. This crash happens there now too.

I discovered by switching debuggers to lldb from gdb that the crash
was occurring in PRINT_XFT_PATTERN.  I still don't understand why (gdb
is useless, and I haven't figured out lldb well enough to decode Lisp
objects), so I protected all instances of FcNameUnparse.  I think this
is reasonable since the printed representation of an FcCharset is not
really useful to Emacs Lisp programmers.

 > (gdb) pp args
 > A syntax error in expression, near `) $val'.

I don't understand this; modern XEmacs .gdbinit uses pobj, my mistake.
Why there is a "pp" user command available I don't know.

_______________________________________________
XEmacs-Beta mailing list
[email protected]
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
protect-unparse (application/octet-stream, 4.5 KB) - not displayed