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: Fri, 24 Jul 2009 10:07:35 +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> Reply-To: Kenichi Handa , 3659@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1248398273 6456 80.91.229.12 (24 Jul 2009 01:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jul 2009 01:17:53 +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 Fri Jul 24 03:17:45 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 1MU9Pt-0004rO-6e for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jul 2009 03:17:45 +0200 Original-Received: from localhost ([127.0.0.1]:45511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MU9Ps-0004a0-3z for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jul 2009 21:17:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MU9Pm-0004Zh-Td for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 21:17:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MU9Pi-0004ZE-EL for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 21:17:38 -0400 Original-Received: from [199.232.76.173] (port=43089 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MU9Pi-0004ZB-Ah for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 21:17:34 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44369) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MU9Ph-0008IC-NF for bug-gnu-emacs@gnu.org; Thu, 23 Jul 2009 21: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 n6O1HUM8005364; Thu, 23 Jul 2009 18:17:30 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6O1F5pu004771; Thu, 23 Jul 2009 18:15:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 24 Jul 2009 01:15:05 +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.12483976633769 (code B ref 3659); Fri, 24 Jul 2009 01:15:05 +0000 Original-Received: (at 3659) by emacsbugs.donarmstrong.com; 24 Jul 2009 01:07:43 +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 n6O17cKu003754 for <3659@emacsbugs.donarmstrong.com>; Thu, 23 Jul 2009 18:07:40 -0700 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n6O17bg6009102; Fri, 24 Jul 2009 10:07:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n6O17aJD008274; Fri, 24 Jul 2009 10:07:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id n6O17ZQx010078; Fri, 24 Jul 2009 10:07:35 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MU9G3-0008Hv-HO; Fri, 24 Jul 2009 10:07:35 +0900 In-reply-to: <63C2A154B1708946B60726AFDBA00AC00668060C@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 21:17: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:29598 Archived-At: In article <63C2A154B1708946B60726AFDBA00AC00668060C@ukmailemea01.misys.global.ad>, "Marshall, Simon" writes: > (gdb) p *charset > $1 = { > id = 1, > hash_index = 3678208, > dimension = 1073758208, > code_space = {1294009101, 8830976, 1, 40, -4271696, 1, -4271232, 0, 0, > 1483848, 805306368, > 15794175, 3737601, 3737601, 1, 4}, Ummm, the content of this structure is completely broken, or "charset" points incorrect memory. > (gdb) xcharset charset->id > Attempt to extract a component of a value that is not a structure > pointer. > Was the last cmd wrong? Let me know what else I can do... It's a bug of old .gdbinit, and is now fixed both in the trunk and EMACS_23_1_RC branch. It seems that you are not using the latest emacs code, but as we already found the culprit change, we can debug using the latest code. Please recompile the latest code of the trunk or branch with % make CFLAGS=-g clean all When you get segfault with that code, please show me the backtrace again, and the results of these commands. (gdb) up 2 ;; go up to the function xfont_list_pattern (gdb) pp registry (gdb) pp script --- Kenichi Handa handa@m17n.org