unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4170: 23.1.50; Crash with fontset-font
@ 2009-08-17  7:42 ` YAMAMOTO Mitsuharu
  2009-08-20 19:46   ` bug#4170: marked as done (23.1.50; Crash with fontset-font) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-08-17  7:42 UTC (permalink / raw)
  To: emacs-pretest-bug

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@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#4170: marked as done (23.1.50; Crash with fontset-font)
  2009-08-17  7:42 ` bug#4170: 23.1.50; Crash with fontset-font YAMAMOTO Mitsuharu
@ 2009-08-20 19:46   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-08-20 19:46 UTC (permalink / raw)
  To: Kenichi Handa

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Your message dated Tue, 18 Aug 2009 09:39:04 +0900
with message-id <E1MdCjA-0006EO-JC@etlken>
and subject line Re: bug#4170: 23.1.50; Crash with fontset-font
has caused the Emacs bug report #4170,
regarding 23.1.50; Crash with fontset-font
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4170: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4170
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4141 bytes --]

From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: emacs-pretest-bug@gnu.org
Subject: 23.1.50; Crash with fontset-font
Date: Mon, 17 Aug 2009 16:42:01 +0900
Message-ID: <wl7hx2lwdy.wl%mituharu@math.s.chiba-u.ac.jp>

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@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


[-- Attachment #3: Type: message/rfc822, Size: 2157 bytes --]

From: Kenichi Handa <handa@m17n.org>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>, 4170-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4170: 23.1.50; Crash with fontset-font
Date: Tue, 18 Aug 2009 09:39:04 +0900
Message-ID: <E1MdCjA-0006EO-JC@etlken>

In article <wl7hx2lwdy.wl%mituharu@math.s.chiba-u.ac.jp>, YAMAMOTO Mitsuharu <mituharu@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@m17n.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-20 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1MdCjA-0006EO-JC@etlken>
2009-08-17  7:42 ` bug#4170: 23.1.50; Crash with fontset-font YAMAMOTO Mitsuharu
2009-08-20 19:46   ` bug#4170: marked as done (23.1.50; Crash with fontset-font) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).