From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#3659: FW: 23.0.95; crash on set-frame-font Date: Thu, 23 Jul 2009 20:09:46 +0900 Message-ID: References: <63C2A154B1708946B60726AFDBA00AC005E5EC5A@ukmailemea01.misys.global.ad><87iqinxbs7.fsf@stupidchicken.com><63C2A154B1708946B60726AFDBA00AC005EABBA6@ukmailemea01.misys.global.ad><87fxdp4ssu.fsf@stupidchicken.com> <87eit9ugs9.fsf@stupidchicken.com> <63C2A154B1708946B60726AFDBA00AC00628E9C2@ukmailemea01.misys.global.ad><87y6qyeykd.fsf@stupidchicken.com><63C2A154B1708946B60726AFDBA00AC0066199FB@ukmailemea01.misys.global.ad> <87ljmgkeev.fsf@cyd.mit.edu> <63C2A154B1708946B60726AFDBA00AC006680307@ukmailemea01.misys.global.ad> Reply-To: Kenichi Handa , 3659@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1248347877 7490 80.91.229.12 (23 Jul 2009 11:17:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 11:17:57 +0000 (UTC) Cc: cyd@stupidchicken.com, 3659@emacsbugs.donarmstrong.com To: "Marshall, Simon" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 23 13:17:50 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 1MTwIz-0003aX-Kc for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jul 2009 13:17:45 +0200 Original-Received: from localhost ([127.0.0.1]:39170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTwIy-0006oz-T8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jul 2009 07:17:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTwIt-0006ol-Df for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 07:17:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTwIn-0006fI-Dz for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 07:17:37 -0400 Original-Received: from [199.232.76.173] (port=35228 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTwIn-0006fC-7Z for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 07:17:33 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41381) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTwIm-0004fb-Mu for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 07:17:33 -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 n6NBHTZA017726; Thu, 23 Jul 2009 04:17:30 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6NBF4AF017073; Thu, 23 Jul 2009 04:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 23 Jul 2009 11:15:04 +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.124834739416193 (code B ref 3659); Thu, 23 Jul 2009 11:15:04 +0000 Original-Received: (at 3659) by emacsbugs.donarmstrong.com; 23 Jul 2009 11:09:54 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 n6NB9mmE016181 for <3659@emacsbugs.donarmstrong.com>; Thu, 23 Jul 2009 04:09:50 -0700 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n6NB9lXT012138; Thu, 23 Jul 2009 20:09:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n6NB9lxJ016638; Thu, 23 Jul 2009 20:09:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id n6NB9kki029755; Thu, 23 Jul 2009 20:09:46 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MTwBG-0006IL-Sz; Thu, 23 Jul 2009 20:09:46 +0900 In-reply-to: <63C2A154B1708946B60726AFDBA00AC006680307@ukmailemea01.misys.global.ad> (Simon.Marshall@misys.com) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 23 Jul 2009 07:17:37 -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:29567 Archived-At: In article <63C2A154B1708946B60726AFDBA00AC006680307@ukmailemea01.misys.global.ad>, "Marshall, Simon" writes: > Guys, I can confirm it is this change that started the problem: > 2009-05-21 Kenichi Handa > * fontset.c (Qlatin): Don't make it static. > * xfont.c (xfont_chars_supported, xfont_supported_scripts): > New functions. > (xfont_scripts_cache, xfont_scratch_props): New variables. > (Qlatin, Vscalable_fonts_allowed): Extern it. > (xfont_list_pattern): Argument changed. Callers changed. > Check Vscalable_fonts_allowed. Check the support of a script. > (xfont_list): Don't reject a font spec with :script property. > (xfont_has_char): Fix setting of encoding. > (syms_of_xfont): Staticpro and initialize xfont_scripts_cache > and > xfont_scratch_props. > These were made at revisions 1.172 of src/fontset.c and 1.29 of > src/xfont.c. Thank you for tracking down the problem to here. > If you need more info, what would you like me to do? > The core dump is: [...] > Program received signal SIGSEGV, Segmentation fault. > 0x0009890c in encode_char (charset=0xffbed244, c=192) at charset.c:1804 > 1804 deunifier = CHARSET_DEUNIFIER (charset); > (gdb) where > #0 0x0009890c in encode_char (charset=0xffbed244, c=192) at > charset.c:1804 > #1 0x001bf1b0 in xfont_chars_supported (chars=8343645, xfont=0x866680, > encoding=, repertory=) at > xfont.c:275 Please show me the output of this gdb command. (gdb) p *charset (gdb) xcharset charset->id Note that you must run gdb in the directory where the executable Emacs was made. --- Kenichi Handa handa@m17n.org