From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Marshall, Simon" Newsgroups: gmane.emacs.bugs Subject: bug#3659: FW: 23.0.95; crash on set-frame-font Date: Mon, 27 Jul 2009 10:48:40 +0100 Message-ID: <63C2A154B1708946B60726AFDBA00AC0067E8F2F@ukmailemea01.misys.global.ad> 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><874ot2cd6w.fsf@cyd.mit.edu><63C2A154B1708946B60726AFDBA00AC00676DFB6@ukmailemea01.misys.global.ad> <87hbwz44qu.fsf@stupidc! hicken.co m> Reply-To: "Marshall, Simon" , 3659@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248689877 20615 80.91.229.12 (27 Jul 2009 10:17:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2009 10:17:57 +0000 (UTC) Cc: 3659@emacsbugs.donarmstrong.com To: "Chong Yidong" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 12: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 1MVNHA-0002TS-0E for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2009 12:17:49 +0200 Original-Received: from localhost ([127.0.0.1]:50876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVNH9-0000xq-5y for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2009 06:17:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVNH2-0000w9-Nt for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 06:17:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVNGx-0000qS-2L for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 06:17:39 -0400 Original-Received: from [199.232.76.173] (port=39442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVNGw-0000qH-Vy for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 06:17:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43149) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVNGw-0003qy-2p for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2009 06: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 n6RAHUNL018588; Mon, 27 Jul 2009 03:17:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6RA04RO014763; Mon, 27 Jul 2009 03:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Marshall, Simon" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 27 Jul 2009 10:00: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.124868830713768 (code B ref 3659); Mon, 27 Jul 2009 10:00:04 +0000 Original-Received: (at 3659) by emacsbugs.donarmstrong.com; 27 Jul 2009 09:51:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6R9pem6013756 for <3659@emacsbugs.donarmstrong.com>; Mon, 27 Jul 2009 02:51:42 -0700 Original-Received: from rly11g.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly11g.srv.mailcontrol.com (MailControl) with ESMTP id n6R9oafP004323 for <3659@emacsbugs.donarmstrong.com>; Mon, 27 Jul 2009 10:51:39 +0100 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly11g.srv.mailcontrol.com (MailControl) id n6R9npvk028956 for <3659@emacsbugs.donarmstrong.com>; Mon, 27 Jul 2009 10:49:51 +0100 Original-Received: from mailemea01.misys.global.ad ([195.81.243.44]) by rly11g-eth0.srv.mailcontrol.com (envelope-sender ) (MIMEDefang) with ESMTP id n6R9niYg027213; Mon, 27 Jul 2009 10:49:51 +0100 (BST) Original-Received: from ukmailemea01.misys.global.ad ([10.80.55.11]) by mailemea01.misys.global.ad with Microsoft SMTPSVC(6.0.3790.3959); Mon, 27 Jul 2009 10:48:41 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message In-Reply-To: <87hbwz44qu.fsf@stupidchicken.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: 23.0.95; crash on set-frame-font Thread-Index: AcoOKLUER/u0R8QvQzOUlxl2ZPEvQgAdbu+w X-OriginalArrivalTime: 27 Jul 2009 09:48:41.0626 (UTC) FILETIME=[6C7DE7A0:01CA0E9F] X-Scanned-By: MailControl A-09-20-00 (www.mailcontrol.com) on 10.71.1.121 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 27 Jul 2009 06: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:29655 Archived-At: > What happens if you do the following? >=20 > (This is not a final fix, but it might be good enough for 23.1). >=20 > *** emacs/src/charset.c.~1.179.2.1.~ 2009-07-07 09:40:19.000000000 -0400 > --- emacs/src/charset.c 2009-07-26 15:33:32.000000000 -0400 > *************** > *** 654,660 **** > map =3D CHARSET_UNIFY_MAP (charset); > if (STRINGP (map)) > load_charset_map_from_file (charset, map, control_flag); > ! else > load_charset_map_from_vector (charset, map, control_flag); > } >=20=20=20 > --- 654,660 ---- > map =3D CHARSET_UNIFY_MAP (charset); > if (STRINGP (map)) > load_charset_map_from_file (charset, map, control_flag); > ! else if (VECTORP (map)) > load_charset_map_from_vector (charset, map, control_flag); > } =20=20 Unfortunately, it still dies on M-x set-frame-font with a CFLAGS=3D-g build, though it no longer seems to go into Fsignal with a CFLAGS=3D-g -O2 build. The CFLAGS=3D-g build is similar to the way it was with 2009-05-21 builds: Program received signal SIGSEGV, Segmentation fault. 0x000e6380 in encode_char (charset=3D0x369f68, c=3D192) at charset.c:1819 1819 code_index =3D GET_TEMP_CHARSET_WORK_ENCODER (c); (gdb) where #0 0x000e6380 in encode_char (charset=3D0x369f68, c=3D192) at charset.c:1819 #1 0x003337f8 in xfont_chars_supported (chars=3D9656829, xfont=3D0xc55b80,= =20 encoding=3D0x369f68, repertory=3D0x0) at xfont.c:238 #2 0x003345c0 in xfont_supported_scripts (display=3D0xa0e000,=20 fontname=3D0xc83dfb "--------0------", props=3D5454596, encoding=3D0x369f68) at xfont.c:328 #3 0x00334e64 in xfont_list_pattern (display=3D0xa0e000,=20 pattern=3D0xffbeca84 "-*-*-*-*-*-*-*-*-*-*-*-*-*-*", registry=3D5314561, script=3D5314561) at xfont.c:466 #4 0x00335240 in xfont_list (frame=3D7075332, spec=3D5454852) at xfont.c:512 #5 0x002a6fc8 in font_list_entities (frame=3D7075332, spec=3D12894212) at font.c:2882 #6 0x002ad38c in Flist_fonts (font_spec=3D12894212, frame=3D7075332, num=3D5314561,=20 prefer=3D12894212) at font.c:4314 #7 0x00146e8c in Fx_list_fonts (pattern=3D4221827, face=3D5314561, frame=3D7075332,=20 maximum=3D5314561, width=3D5314561) at xfaces.c:1904 #8 0x002830f4 in Feval (form=3D4221813) at eval.c:2390 #9 0x00282f24 in Feval (form=3D4221773) at eval.c:2361 #10 0x0027f738 in FletX (args=3D4221717) at eval.c:1028 #11 0x00282d7c in Feval (form=3D4221709) at eval.c:2323 #12 0x0027a668 in Fcall_interactively (function=3D10049921, record_flag=3D5314609,=20 keys=3D5348100) at callint.c:364 #13 0x002849c0 in Ffuncall (nargs=3D4, args=3D0xffbed578) at eval.c:3051 #14 0x00284160 in call3 (fn=3D5521529, arg1=3D10049921, arg2=3D5314609, arg3=3D5314561) at eval.c:2871 #15 0x001c2b00 in Fcommand_execute (cmd=3D10049921, record_flag=3D5314609,= =20 keys=3D5314561, special=3D5314561) at keyboard.c:10524 #16 0x001c3074 in Fexecute_extended_command (prefixarg=3D5314561) at keyboard.c:10637 #17 0x00284930 in Ffuncall (nargs=3D2, args=3D0xffbed888) at eval.c:3045 #18 0x0027ce5c in Fcall_interactively (function=3D5378625, record_flag=3D5314561,=20 keys=3D5348100) at callint.c:868 #19 0x002849c0 in Ffuncall (nargs=3D4, args=3D0xffbedb40) at eval.c:3051 #20 0x00284160 in call3 (fn=3D5521529, arg1=3D5378625, arg2=3D5314561, arg3=3D5314561) at eval.c:2871 #21 0x001c2b00 in Fcommand_execute (cmd=3D5378625, record_flag=3D5314561,= =20 keys=3D5314561, special=3D5314561) at keyboard.c:10524 #22 0x001ab868 in command_loop_1 () at keyboard.c:1903 #23 0x00280aa4 in internal_condition_case (bfun=3D0x1a9170 ,=20 handlers=3D5385361, hfun=3D0x1a85f8 ) at eval.c:1512 #24 0x001a8c58 in command_loop_2 () at keyboard.c:1359 #25 0x00280214 in internal_catch (tag=3D5378409, func=3D0x1a8c2c ,=20 arg=3D5314561) at eval.c:1248 #26 0x001a8bd0 in command_loop () at keyboard.c:1338 #27 0x001a7e88 in recursive_edit_1 () at keyboard.c:953 #28 0x001a8148 in Frecursive_edit () at keyboard.c:1015 #29 0x001a597c in main (argc=3D2, argv=3D0xffbee394) at emacs.c:1854 Lisp Backtrace: "x-list-fonts" (0xffbecf14) "completing-read" (0xffbed07c) "let*" (0xffbed234) "call-interactively" (0xffbed57c) "execute-extended-command" (0xffbed88c) "call-interactively" (0xffbedb44) (gdb)=20 I'll try Kenichi Handa's suggestion soon. "Misys" is the trade name for Misys plc (registered in England and Wales). = Registration Number: 01360027. Registered office: One Kingdom Street, Londo= n W2 6BL, United Kingdom. For a list of Misys group operating companies ple= ase go to http://www.misys.com/corp/About_Us/misys_operating_companies.html= . This email and any attachments have been scanned for known viruses using = multiple scanners. This email message is intended for the named recipient o= nly. It may be privileged and/or confidential. If you are not the named rec= ipient of this email please notify us immediately and do not copy it or use= it for any purpose, nor disclose its contents to any other person. This em= ail does not constitute the commencement of legal relations between you and= Misys plc. Please refer to the executed contract between you and the relev= ant member of the Misys group for the identity of the contracting party wit= h which you are dealing.=20