From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: crash in font-get Date: Thu, 27 Jan 2011 15:56:18 -0500 Message-ID: Reply-To: sds@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296203663 29618 80.91.229.12 (28 Jan 2011 08:34:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Jan 2011 08:34:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 28 09:34:13 2011 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.69) (envelope-from ) id 1PijmV-0004o9-I1 for ged-emacs-devel@m.gmane.org; Fri, 28 Jan 2011 09:34:11 +0100 Original-Received: from localhost ([127.0.0.1]:46830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pijh6-0001b7-6n for ged-emacs-devel@m.gmane.org; Fri, 28 Jan 2011 03:28:36 -0500 Original-Received: from [140.186.70.92] (port=48939 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiisO-00052F-MX for emacs-devel@gnu.org; Fri, 28 Jan 2011 02:36:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiisN-0003U6-3J for emacs-devel@gnu.org; Fri, 28 Jan 2011 02:36:12 -0500 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:34588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiisG-0003RF-Rj; Fri, 28 Jan 2011 02:36:04 -0500 Original-Received: by qwa26 with SMTP id 26so2911701qwa.0 for ; Thu, 27 Jan 2011 23:36:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:user-agent :mail-copies-to:return-receipt-to:reply-to:x-attribution :x-disclaimer:date:message-id:mime-version:content-type; bh=huhId4lEyDDCZ8eUINSK95MCenxm+znfAPqS+HwoOjo=; b=f+5ai5M35w/yRr1Hx6J22Ox40rFWMkPcQRoGXiqL8dAEebGGhNbMkUpRAgH/5wlgtX SdZbbKfHc1vW7UPqq2qYa5i4ewRImn2Em7L8jhgBgmO+vcWZHpbJpzNxUKIxEJwB4rwX fUPD4gX0PHqjh7JafO1f5FZbNOV5fVSOSW4Xc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:user-agent:mail-copies-to:return-receipt-to :reply-to:x-attribution:x-disclaimer:date:message-id:mime-version :content-type; b=oN9+tsNIJhRKgBsM7g6/H9CrbZhYmTiiXa+67z3MyUnSHoAzFjrOW3z4NODicB+coe ndERgdWT2CpWH/69v3dUMGiBqX6z8seuWUQZG1izOVmRJ8WFiBecHpn4CZFU1UftjGNC aJD6rtr7wuKCp+wgriWg/hsaYH4hwesBxqzQE= Original-Received: by 10.229.213.146 with SMTP id gw18mr1945039qcb.211.1296161781465; Thu, 27 Jan 2011 12:56:21 -0800 (PST) Original-Received: from tbox.m2.algo (rrcs-24-103-48-205.nyc.biz.rr.com [24.103.48.205]) by mx.google.com with ESMTPS id w12sm11010411qco.44.2011.01.27.12.56.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 27 Jan 2011 12:56:20 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.41 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:135126 Archived-At: GNU Emacs 24.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2011-01-27 on tbox emacs -Q -fn "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-koi8-r" evaluate in *scratch*: (let ((f (font-at (point)))) (dolist (k '(:family :weight :slant :width :foundry :adstyle :registry :size :name :script :otf)) (print (cons k (font-get f k))))) Program received signal SIGSEGV, Segmentation fault. 0x00000000004be149 in x_draw_glyph_string_background (s=0x7fff4bbada40, force_p=1) at xterm.c:1179 1179 else if (FONT_HEIGHT (s->font) < s->height - 2 * box_line_width (gdb) where #0 0x00000000004be149 in x_draw_glyph_string_background (s=0x7fff4bbada40, force_p=1) at xterm.c:1179 #1 0x00000000004bf51a in x_draw_glyph_string (s=0x7fff4bbada40) at xterm.c:2736 #2 0x000000000044cd7e in draw_glyphs (w=0x114e850, x=1, row=0xde5d70, area=TEXT_AREA, start=140734463924984, end=16561552, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:21424 #3 0x0000000000450363 in x_write_glyphs (start=, len=66) at xdisp.c:23002 #4 0x0000000000419e43 in update_window_line (w=0x114e850, vpos=29, mouse_face_overwritten_p=0x7fff4bbae17c) at dispnew.c:3839 #5 0x000000000041b3ce in update_window (w=0x114e850, force_p=0) at dispnew.c:3642 #6 0x000000000041c7cc in update_window_tree (w=0x114e850, force_p=0) at dispnew.c:3403 #7 0x000000000041cea9 in update_frame (f=0x114e600, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3330 #8 0x0000000000444a15 in redisplay_internal ( preserve_echo_area=) at xdisp.c:11931 #9 0x0000000000504f6c in command_loop_1 () at keyboard.c:1550 #10 0x0000000000563a01 in internal_condition_case ( bfun=0x504b60 , handlers=11794930, hfun=0x4ff100 ) at eval.c:1408 #11 0x00000000004fed7a in command_loop_2 (ignore=) at keyboard.c:1129 #12 0x0000000000563af8 in internal_catch (tag=, func=0x4fed60 , arg=11742818) at eval.c:1152 #13 0x00000000004fef33 in command_loop () at keyboard.c:1108 #14 0x00000000004ff2d8 in recursive_edit_1 () at keyboard.c:731 #15 0x00000000004ff42f in Frecursive_edit () at keyboard.c:793 #16 0x00000000004f2b27 in main (argc=, argv=0x7fff4bbb04e8) at emacs.c:1684 (gdb) p s $3 = (struct glyph_string *) 0x7fff4bbada40 (gdb) p *s $4 = { x = 49, y = 328, ybase = 344, width = 192, background_width = 192, height = 23, left_overhang = 0, right_overhang = 0, f = 0x114e600, w = 0x114e850, display = 0x113b730, window = 12583032, row = 0xde5d70, area = TEXT_AREA, char2b = 0x0, nchars = 12, hl = DRAW_NORMAL_TEXT, face = 0xdaf240, font = 0x0, cmp = 0x0, cmp_id = 0, cmp_from = 0, cmp_to = 0, extends_to_end_of_line_p = 0, background_filled_p = 0, two_byte_p = 0, font_not_found_p = 0, stippled_p = 0, for_overlaps = 0, padding_p = 0, gc = 0x1d3f3980, first_glyph = 0xfcb590, img = 0x0, slice = { x = 0, y = 0, width = 0, height = 0 }, clip_head = 0x0, clip_tail = 0x0, clip = {{ x = 0, y = 328, width = 516, height = 23 }, { x = 0, y = 0, width = 0, height = 0 }}, num_clips = 1, underline_position = 0, underline_thickness = 0, next = 0x7fff4bbad940, prev = 0x7fff4bbadbe0 } (gdb) p s->font $5 = (struct font *) 0x0 -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) http://honestreporting.com http://ffii.org http://www.memritv.org http://iris.org.il http://dhimmi.com http://openvotingconsortium.org He who laughs last thinks slowest.