Subject: 23.1.50; assertion failure in Fx_family_fonts
From: YAMAMOTO Mitsuharu <[email-masked]>
To: [email-masked]
Date: Tue, 01 Dec 2009 10:42:23 +0900

Steps to reproduce:

  1. Compile Emacs with "make CFLAGS='-g -DENABLE_CHECKING'"
  2. emacs -Q
  3. (x-family-fonts) C-j

Result:

  .../src/xfaces.c:1763: Emacs fatal error: assertion failed: VECTORLIKEP((vec))

The value of `vec' is from font_list_entities, whose return value is
of cons.

1758	    {
1759	      CHECK_STRING (family);
1760	      font_parse_family_registry (family, Qnil, font_spec);
1761	    }
1762	  vec = font_list_entities (frame, font_spec);
1763	  nfonts = ASIZE (vec);
1764	  if (nfonts == 0)
1765	    return Qnil;
1766	  if (nfonts > 1)
1767	    {

				     YAMAMOTO Mitsuharu
				[email-masked]

In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, X toolkit, Xaw3d scroll bars)
 of 2009-12-01 on yamamoto-mitsuharu-no-mac-mini.local
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--with-x' '--without-gif' '--without-jpeg' '--without-tiff' 'CFLAGS=-g -Wno-pointer-sign -DENABLE_CHECKING''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow mail-extr message ecomplete rfc822 mml easymenu mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug sendmail regexp-opt japan-util
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face text-properties overlay md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process font-render-setting x-toolkit x multi-tty emacs)