From unknown Sun Aug 17 04:21:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4170: 23.1.50; Crash with fontset-font Reply-To: YAMAMOTO Mitsuharu , 4170@debbugs.gnu.org Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 17 Aug 2009 07:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4170 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125049493721061 (code B ref -1); Mon, 17 Aug 2009 07:45:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Aug 2009 07:42:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.8 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7H7gFJQ021057 for ; Mon, 17 Aug 2009 00:42:16 -0700 Received: from mx10.gnu.org ([199.232.76.166]:35275) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mcwr8-0007bF-Dd for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:14 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mcwr4-0007Nr-P7 for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:13 -0400 Received: from mx20.gnu.org ([199.232.41.8]:42095) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mcwr3-0007NN-U4 for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:10 -0400 Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mcwr2-00029R-Jj for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:09 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id DB1842C40 for ; Mon, 17 Aug 2009 16:42:01 +0900 (JST) Date: Mon, 17 Aug 2009 16:42:01 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: emacs-pretest-bug@gnu.org User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Detected-Operating-System: by mx20.gnu.org: NetBSD 3.0 (DF) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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 From unknown Sun Aug 17 04:21:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: YAMAMOTO Mitsuharu Subject: bug#4170 closed by Kenichi Handa (Re: bug#4170: 23.1.50; Crash with fontset-font) Message-ID: References: X-Emacs-PR-Message: they-closed 4170 X-Emacs-PR-Package: emacs Reply-To: 4170@debbugs.gnu.org Date: Thu, 20 Aug 2009 19:46:34 +0000 Content-Type: multipart/mixed; boundary="----------=_1250797594-4360-1" This is a multi-part message in MIME format... ------------=_1250797594-4360-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4170: 23.1.50; Crash with fontset-font It has been closed by Kenichi Handa . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Kenichi Handa by replying to this email. --=20 4170: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4170 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1250797594-4360-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4170-done) by emacsbugs.donarmstrong.com; 18 Aug 2009 00:39:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, IMPRONONCABLE_2,SPF_HELO_PASS autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7I0d6dJ008059 for <4170-done@emacsbugs.donarmstrong.com>; Mon, 17 Aug 2009 17:39:08 -0700 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n7I0d5Ta009872; Tue, 18 Aug 2009 09:39:05 +0900 (JST) env-from (handa@m17n.org) Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n7I0d4gY029034; Tue, 18 Aug 2009 09:39:04 +0900 (JST) env-from (handa@m17n.org) Received: by smtp3.aist.go.jp with ESMTP id n7I0d4W8014585; Tue, 18 Aug 2009 09:39:04 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MdCjA-0006EO-JC; Tue, 18 Aug 2009 09:39:04 +0900 From: Kenichi Handa To: YAMAMOTO Mitsuharu , 4170-done@debbugs.gnu.org In-reply-to: (message from YAMAMOTO Mitsuharu on Mon, 17 Aug 2009 16:42:01 +0900) Subject: Re: bug#4170: 23.1.50; Crash with fontset-font References: Message-Id: Date: Tue, 18 Aug 2009 09:39:04 +0900 In article , YAMAMOTO Mitsuharu 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 ------------=_1250797594-4360-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Aug 2009 07:42:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.8 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7H7gFJQ021057 for ; Mon, 17 Aug 2009 00:42:16 -0700 Received: from mx10.gnu.org ([199.232.76.166]:35275) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mcwr8-0007bF-Dd for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:14 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mcwr4-0007Nr-P7 for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:13 -0400 Received: from mx20.gnu.org ([199.232.41.8]:42095) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mcwr3-0007NN-U4 for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:10 -0400 Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mcwr2-00029R-Jj for emacs-pretest-bug@gnu.org; Mon, 17 Aug 2009 03:42:09 -0400 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id DB1842C40 for ; Mon, 17 Aug 2009 16:42:01 +0900 (JST) Date: Mon, 17 Aug 2009 16:42:01 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: emacs-pretest-bug@gnu.org Subject: 23.1.50; Crash with fontset-font User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Detected-Operating-System: by mx20.gnu.org: NetBSD 3.0 (DF) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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 ------------=_1250797594-4360-1--