GNU bug report logs - #4170
23.1.50; Crash with fontset-font

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Mon, 17 Aug 2009 07:45:04 UTC

Severity: normal

Done: Kenichi Handa <handa <at> m17n.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4170 in the body.
You can then email your comments to 4170 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4170; Package emacs. (Mon, 17 Aug 2009 07:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 17 Aug 2009 07:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; Crash with fontset-font
Date: Mon, 17 Aug 2009 16:42:01 +0900
Steps to reproduce:

  1. emacs -Q
  2. evaluate (set-fontset-font nil #xa0 nil) and (fontset-font nil #xa0)

Then Emacs crashes.

With -DENABLE_CHECKING, I got the following assertion failure:

.../src/fontset.c:2118: Emacs fatal error: assertion failed: VECTORLIKEP((val))

2113		  for (j = 0; j < ASIZE (elt); j++)
2114		    {
2115		      Lisp_Object family, registry;
2116	
2117		      val = AREF (elt, j);
2118		      repertory = AREF (val, 1);
2119		      if (INTEGERP (repertory))
2120			{
2121			  struct charset *charset = CHARSET_FROM_ID (XINT (repertory));
2122	

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp

In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, X toolkit)
 of 2009-08-17 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
  tool-bar-mode: t
  mouse-wheel-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



Reply sent to Kenichi Handa <handa <at> m17n.org>:
You have taken responsibility. (Thu, 20 Aug 2009 19:46:32 GMT) Full text and rfc822 format available.

Notification sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
bug acknowledged by developer. (Thu, 20 Aug 2009 19:46:34 GMT) Full text and rfc822 format available.

Message #10 received at 4170-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>,
        4170-done <at> debbugs.gnu.org
Subject: Re: bug#4170: 23.1.50; Crash with fontset-font
Date: Tue, 18 Aug 2009 09:39:04 +0900
In article <wl7hx2lwdy.wl%mituharu <at> math.s.chiba-u.ac.jp>, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:

> Steps to reproduce:
>   1. emacs -Q
>   2. evaluate (set-fontset-font nil #xa0 nil) and (fontset-font nil #xa0)

> Then Emacs crashes.

Thank you for the report.  I've just installed a fix.

By the way, should I install the same fix for EMACS_23_1
branch?

---
Kenichi Handa
handa <at> m17n.org



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 18 Sep 2009 14:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.