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: Mon, 27 Jul 2009 10:44:23 +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> <63C2A154B1708946B60726AFDBA00AC00668060C@ukmailemea01.misys.global.ad> <6 3C2A154B1708 946B60726AFDBA00AC00676D571@ukmailemea01.misys.global.ad> <63C2A154B1708946B60726AFDBA00AC00676DA9E@ukmailemea01.misys.global.ad> <63C2A154B1708946B60726AFDBA00AC00676DBAF@ukmailemea01.misys.global.ad> Reply-To: Kenichi Handa , 3659@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1248659874 12229 80.91.229.12 (27 Jul 2009 01:57:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2009 01:57:54 +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 Mon Jul 27 03:57:47 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 1MVFTF-0007zq-Q8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2009 03:57:46 +0200 Original-Received: from localhost ([127.0.0.1]:51554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVFTE-0005Ij-IA for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jul 2009 21:57:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVFT8-0005HK-P6 for bug-gnu-emacs@gnu.org; Sun, 26 Jul 2009 21:57:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVFT4-0005D8-Qz for bug-gnu-emacs@gnu.org; Sun, 26 Jul 2009 21:57:38 -0400 Original-Received: from [199.232.76.173] (port=45689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVFT4-0005D3-FZ for bug-gnu-emacs@gnu.org; Sun, 26 Jul 2009 21:57:34 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59862) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVFT3-0000qI-PD for bug-gnu-emacs@gnu.org; Sun, 26 Jul 2009 21:57: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 n6R1vUcV001621; Sun, 26 Jul 2009 18:57:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6R1o6Xv000314; Sun, 26 Jul 2009 18:50:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 27 Jul 2009 01:50: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.124865907331933 (code B ref 3659); Mon, 27 Jul 2009 01:50:06 +0000 Original-Received: (at 3659) by emacsbugs.donarmstrong.com; 27 Jul 2009 01:44:33 +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 n6R1iRdR031928 for <3659@emacsbugs.donarmstrong.com>; Sun, 26 Jul 2009 18:44:29 -0700 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n6R1iPil000673; Mon, 27 Jul 2009 10:44:25 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n6R1iO55005574; Mon, 27 Jul 2009 10:44:24 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id n6R1iN13006948; Mon, 27 Jul 2009 10:44:23 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MVFGJ-0002lc-C9; Mon, 27 Jul 2009 10:44:23 +0900 In-reply-to: <63C2A154B1708946B60726AFDBA00AC00676DBAF@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: Sun, 26 Jul 2009 21:57:38 -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:29645 Archived-At: In article <63C2A154B1708946B60726AFDBA00AC00676DBAF@ukmailemea01.misys.global.ad>, "Marshall, Simon" writes: > Breakpoint 3, Fsignal (error_symbol=5385409, data=6603597) at > eval.c:1641 > 1641 register struct handler *allhandlers = handlerlist; > (gdb) where > #0 Fsignal (error_symbol=5385409, data=6603597) at eval.c:1641 > #1 0x002813e8 in xsignal (error_symbol=5385409, data=6603597) at > eval.c:1751 > #2 0x00281480 in xsignal2 (error_symbol=5385409, arg1=5385985, > arg2=5314561) at eval.c:1775 > #3 0x00259ab0 in wrong_type_argument (predicate=5385985, value=5314561) > at data.c:115 > #4 0x000df1c8 in load_charset_map_from_vector (charset=0x369f30, > vec=5314561, control_flag=2) > at charset.c:608 > #5 0x000df57c in load_charset (charset=0x369f30, control_flag=2) at > charset.c:658 > #6 0x000e61b8 in encode_char (charset=0x369f30, c=192) at > charset.c:1807 Ok, so the Fsignal call is because "*charset" is completely broken (according to your previous mail). > #7 0x003337c4 in xfont_chars_supported (chars=9656829, xfont=0xbf4200, > encoding=0x369f30, > repertory=0x0) at xfont.c:238 > #8 0x0033458c in xfont_supported_scripts (display=0xa0e000, > fontname=0xc83dfb "--------0------", > props=5454596, encoding=0x369f30) at xfont.c:328 Your previous backtrace didn't show that xfont_supported_scripts is called. It may be because the previous backtrace was made by the emacs compiled with -O2. Anyway, the above fontname has a strange format. For such a fontname, xfont_supported_scripts should not be called from xfont_list_pattern. > #9 0x00334e30 in xfont_list_pattern (display=0xa0e000, > pattern=0xffbeca84 "-*-*-*-*-*-*-*-*-*-*-*-*-*-*", registry=5314561, > script=5314561) > at xfont.c:466 Please set the breakpoint at xfont.c:414 with conditional: buf[1]=='-' && buf[2]=='-' && buf[3]=='-' && buf[4]=='-' (I think that is enough for matching with "--------0------") When emacs stops at that breakpoint, execute the code one line by one (by "n" command) until the line 466 (i.e. the call of xfont_supported_scripts) while checking why none of "if" conditions that leads to "continue" aren't satisfied. --- Kenichi Handa handa@m17n.org