From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#3659: FW: 23.0.95; crash on set-frame-font Date: Mon, 27 Jul 2009 13:02:47 -0400 Message-ID: <878wiadpoo.fsf@stupidchicken.com> References: <63C2A154B1708946B60726AFDBA00AC005E5EC5A@ukmailemea01.misys.global.ad> <63C2A154B1708946B60726AFDBA00AC00628E9C2@ukmailemea01.misys.global.ad> <87y6qyeykd.fsf@stupidchicken.com> <63C2A154B1708946B60726AFDBA00AC0066199FB@ukmailemea01.misys.global.ad> <87ljmgkeev.fsf@cyd.mit.edu> <63C2A154B1708946B60726AFDBA00AC006680307@ukmailemea01.misys.global.ad> <63C2A154B1708946B60726AFDBA00AC00668060C@ukmailemea01.misys.global.ad> <63C2A154B1708946B60726AFDBA00AC00676DA9E@ukmailemea01.misys.global.ad> <63C2A154B1708946B60726AFDBA00AC00676DBAF@ukmailemea01.misys.global.ad> <63C2A154B1708946B60726AFDBA00AC0067E980A@ukmailemea01.misys.global.ad> Reply-To: Chong Yidong , 3659@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248715570 8372 80.91.229.12 (27 Jul 2009 17:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2009 17:26:10 +0000 (UTC) Cc: 3659@emacsbugs.donarmstrong.com To: "Marshall\, Simon" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 19:26:03 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MVTxb-0003m3-5k for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2009 19:26:03 +0200 Original-Received: from localhost ([127.0.0.1]:56010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVTxa-0003TB-AQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2009 13:26:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVTpT-0003CE-KX for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 13:17:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVTpO-00039G-RZ for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 13:17:39 -0400 Original-Received: from [199.232.76.173] (port=53630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVTpO-000392-HF for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 13:17:34 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37404) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVTpN-00020E-R7 for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 13:17:34 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6RHHUG3029582; Mon, 27 Jul 2009 10:17:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6RHA6GD027877; Mon, 27 Jul 2009 10:10:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 27 Jul 2009 17:10:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3659 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3659-submit@emacsbugs.donarmstrong.com id=B3659.124871417925940 (code B ref 3659); Mon, 27 Jul 2009 17:10:06 +0000 Original-Received: (at 3659) by emacsbugs.donarmstrong.com; 27 Jul 2009 17:02:59 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pantheon-po41.its.yale.edu (pantheon-po41.its.yale.edu [130.132.50.98]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6RH2sD2025921 for <3659@emacsbugs.donarmstrong.com>; Mon, 27 Jul 2009 10:02:55 -0700 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n6RH2lK8024967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 27 Jul 2009 13:02:48 -0400 Original-Received: by furry (Postfix, from userid 1000) id 46AB1C056; Mon, 27 Jul 2009 13:02:47 -0400 (EDT) In-Reply-To: <63C2A154B1708946B60726AFDBA00AC0067E980A@ukmailemea01.misys.global.ad> (Simon Marshall's message of "Mon, 27 Jul 2009 17:42:11 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 27 Jul 2009 13:17:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29662 Archived-At: Also, could you check if this has any effect? Thanks. *** emacs/src/xfont.c.~1.30.~ 2009-05-21 12:36:30.000000000 -0400 --- emacs/src/xfont.c 2009-07-27 13:01:10.000000000 -0400 *************** *** 411,417 **** continue; entity = font_make_entity (); xfont_decode_coding_xlfd (indices[i], -1, buf); ! font_parse_xlfd (buf, entity); ASET (entity, FONT_TYPE_INDEX, Qx); /* Avoid auto-scaled fonts. */ if (XINT (AREF (entity, FONT_DPI_INDEX)) != 0 --- 411,418 ---- continue; entity = font_make_entity (); xfont_decode_coding_xlfd (indices[i], -1, buf); ! if (font_parse_xlfd (buf, entity) < 0) ! continue; ASET (entity, FONT_TYPE_INDEX, Qx); /* Avoid auto-scaled fonts. */ if (XINT (AREF (entity, FONT_DPI_INDEX)) != 0