From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: divide-by-zero during redisplay Date: Mon, 26 May 2008 19:58:46 +0900 Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211800354 6276 80.91.229.12 (26 May 2008 11:12:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2008 11:12:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 26 13:13:14 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K0acs-0005sw-A6 for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 13:12:26 +0200 Original-Received: from localhost ([127.0.0.1]:52936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0ac7-0002op-6X for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 07:11:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0aPo-0005Qq-6N for emacs-devel@gnu.org; Mon, 26 May 2008 06:58:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0aPl-0005Q8-I3 for emacs-devel@gnu.org; Mon, 26 May 2008 06:58:54 -0400 Original-Received: from [199.232.76.173] (port=37280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0aPl-0005Q2-9l for emacs-devel@gnu.org; Mon, 26 May 2008 06:58:53 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:59184) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0aPg-0007zi-Lo; Mon, 26 May 2008 06:58:49 -0400 Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m4QAwlpQ000428; Mon, 26 May 2008 19:58:47 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay31.aps.necel.com with ESMTP; Mon, 26 May 2008 19:58:47 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay11.aps.necel.com with ESMTP; Mon, 26 May 2008 19:58:46 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id C91285CB; Mon, 26 May 2008 19:58:46 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Miles Bader's message of "Mon, 26 May 2008 19:43:37 +0900") Original-Lines: 113 X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97717 Archived-At: Ok, the problem also occurs while displaying the HELLO buffer. Here's some debugging prints in case it's useful: 0x081d9bc5 in xfont_open (f=0x8730600, entity=187898252, pixel_size=12) at /usr/local/src/emacs/miles/src/xfont.c:616 (gdb) p font $1 = (struct font *) 0xb3318b0 (gdb) p *font $2 = { size = 1075838994, next = 0x8875b38, props = {138058081, 140052105, 140052105, 141259337, 183594753, 205448, 205064, 205312, 96, 0, 0, 0, 137858329, 137858329, 184390795, 184390795, 137858329, 138058081}, max_width = 0, pixel_size = 12, height = 15, space_width = 0, average_width = 0, min_width = 0, ascent = 12, descent = 3, underline_thickness = 0, underline_position = 0, vertical_centering = 0, encoding_type = 0 '\0', baseline_offset = 0, relative_compose = 0, default_ascent = 0, font_encoder = 0x0, driver = 0x832fa80, encoding_charset = 2, repertory_charset = -1 } (gdb) p pcm $3 = (XCharStruct *) 0x0 (gdb) p props[0] No symbol "props" in current context. (gdb) p font->props[0] $4 = 138058081 (gdb) pr x (gdb) p font->props[1] $5 = 140052105 (gdb) pr wenquanyi (gdb) p font->props[2] $6 = 140052105 (gdb) pr wenquanyi (gdb) p font->props[3] $7 = 141259337 (gdb) pr (gdb) p font->props[4] $8 = 183594753 (gdb) pr gb18030\.2000-0 (gdb) p font->props[5] $9 = 205448 (gdb) pr 25681 (gdb) p font->props[6] $10 = 205064 (gdb) pr 25633 (gdb) p font->props[7] $11 = 205312 (gdb) pr 25664 (gdb) p font->props[8] $12 = 96 (gdb) pr 12 (gdb) p font->props[9] $13 = 0 (gdb) p font->props[10] $14 = 0 (gdb) p font->props[11] $15 = 0 (gdb) pr 0 (gdb) p font->props[12] $16 = 137858329 (gdb) pr nil (gdb) p font->props[13] $17 = 137858329 (gdb) pr nil (gdb) p font->props[14] $18 = 184390795 (gdb) pr "-wenquanyi-wenquanyi-medium-r-normal--12-87-100-100-p-120-gb18030.2000-0" (gdb) p font->props[15] $19 = 184390795 (gdb) pr "-wenquanyi-wenquanyi-medium-r-normal--12-87-100-100-p-120-gb18030.2000-0" (gdb) p font->props[16] $20 = 137858329 (gdb) pr nil (gdb) p font->props[17] $21 = 138058081 (gdb) pr x (gdb) p font->props[18] $22 = 0 (gdb) -Miles -- Accordion, n. An instrument in harmony with the sentiments of an assassin.