From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yotam Medini =?UTF-8?Q?=D7=99=D7=95=D7=AA=D7=9D_?= =?UTF-8?Q?=D7=9E=D7=93=D7=99=D7=A0=D7=99?= Newsgroups: gmane.emacs.bugs Subject: bug#11850: crash (null font) running emacs built from git Date: Wed, 4 Jul 2012 17:31:38 +0300 Message-ID: References: <831uks6bvy.fsf@gnu.org> <83y5n04wno.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04088ee58bf22b04c401e34e X-Trace: dough.gmane.org 1341412346 2335 80.91.229.3 (4 Jul 2012 14:32:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2012 14:32:26 +0000 (UTC) Cc: 11850@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 04 16:32:25 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SmQcy-0002ge-Hd for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jul 2012 16:32:24 +0200 Original-Received: from localhost ([::1]:38156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmQcx-00059b-IB for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jul 2012 10:32:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmQct-00059R-Hr for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2012 10:32:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmQcp-0001m4-Hn for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2012 10:32:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmQcp-0001ln-Bn for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2012 10:32:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SmQhR-0004yI-Nh for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2012 10:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yotam Medini =?UTF-8?Q?=D7=99=D7=95=D7=AA=D7=9D_?= =?UTF-8?Q?=D7=9E=D7=93=D7=99=D7=A0=D7=99?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jul 2012 14:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11850-submit@debbugs.gnu.org id=B11850.134141259019071 (code B ref 11850); Wed, 04 Jul 2012 14:37:01 +0000 Original-Received: (at 11850) by debbugs.gnu.org; 4 Jul 2012 14:36:30 +0000 Original-Received: from localhost ([127.0.0.1]:47989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmQgv-0004xX-KA for submit@debbugs.gnu.org; Wed, 04 Jul 2012 10:36:30 -0400 Original-Received: from mail-lb0-f172.google.com ([209.85.217.172]:39580) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmQgs-0004xP-KF for 11850@debbugs.gnu.org; Wed, 04 Jul 2012 10:36:27 -0400 Original-Received: by lbbgo11 with SMTP id go11so10307105lbb.3 for <11850@debbugs.gnu.org>; Wed, 04 Jul 2012 07:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=frk3Kn82m/lk5ONNDo7lQ0Sas0iKXkGIja3+n8QXp5s=; b=IpVioMnNW5zRFVu5w06tYXbAIO1JkMbVU+5QfyzuM0r24xgGNLc2y50Rbyt0BE1u4R h6iFs+0OEQPs4vHFdxboSL7IfkCsMOZ0+TrcItm6tzgD8RXABbVICaJqWduTbFoh2md8 roQygb42yFwPQp6Y6WuX0RwdAPGmp8VKW0qyf0iUIJkenijEpHlwR09r+8O2f/zURWQR R0BALoEoDYpuDLGK3Dqn6vF16X3JkxZj2oEf218MupCL8kgqfbqaM4uSq+GovpHTKV+E X28xNNhFBf8dEWHJP9c5UewMMJAevhH43jQvdWzC1rcs9NsZhwalqCSzMs1GL7ki033G JB2Q== Original-Received: by 10.152.113.199 with SMTP id ja7mr21979451lab.10.1341412298453; Wed, 04 Jul 2012 07:31:38 -0700 (PDT) Original-Received: by 10.114.29.100 with HTTP; Wed, 4 Jul 2012 07:31:38 -0700 (PDT) In-Reply-To: <83y5n04wno.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61568 Archived-At: --f46d04088ee58bf22b04c401e34e Content-Type: text/plain; charset=UTF-8 With the patch it still crashes immediately (on my office LinuxMint). But in a 'later' place. See following gdb-log: Program received signal SIGSEGV, Segmentation fault. 0x080feb2f in x_draw_glyphless_glyph_string_foreground (s=0xbfffd230) at xterm.c:1420 (gdb) where #0 0x080feb2f in x_draw_glyphless_glyph_string_foreground (s=0xbfffd230) at xterm.c:1420 #1 0x08102077 in x_draw_glyph_string (s=0xbfffd230) at xterm.c:2817 #2 0x0809a80a in draw_glyphs (w=0x86bf5c0, x=599, row=0x88cfe68, area=TEXT_AREA, start=0, end=53, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:23404 #3 0x0809fa99 in x_write_glyphs (start=0x88d5638, len=53) at xdisp.c:25046 #4 0x080559a4 in update_text_area (vpos=12, w=0x86bf5c0) at dispnew.c:3773 #5 update_window_line (w=0x86bf5c0, vpos=12, mouse_face_overwritten_p=0xbfffd75c) at dispnew.c:4014 #6 0x08056574 in update_window (w=0x86bf5c0, force_p=1) at dispnew.c:3633 #7 0x08058499 in update_window_tree (w=0x86bf5c0, force_p=1) at dispnew.c:3340 #8 0x0805b3a6 in update_frame (f=0x871e9d0, force_p=1, inhibit_hairy_id_p=0) at dispnew.c:3269 #9 0x080811ac in redisplay_internal () at xdisp.c:13403 #10 0x0807f331 in redisplay () at xdisp.c:12575 #11 0x0813b9e9 in read_char (commandflag=1, nmaps=3, maps=0xbfffecb0, prev_event=138768554, used_mouse_menu=0xbfffeda8, end_time=0x0) at keyboard.c:2452 #12 0x0813dc44 in read_key_sequence (keybuf=0xbfffee18, prompt=138768554, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1, bufsize=30) at keyboard.c:9338 #13 0x0813f43f in command_loop_1 () at keyboard.c:1450 #14 0x081a08fd in internal_condition_case (bfun=0x813f2b0 , handlers=138802082, hfun=0x81356e0 ) at eval.c:1333 #15 0x08134185 in command_loop_2 (ignore=138768554) at keyboard.c:1155 #16 0x081a0819 in internal_catch (tag=138800058, func=0x8134160 , arg=138768554) at eval.c:1090 #17 0x0813522a in command_loop () at keyboard.c:1134 #18 recursive_edit_1 () at keyboard.c:754 #19 0x0813551f in Frecursive_edit () at keyboard.c:818 #20 0x08051d9b in main (argc=2, argv=0x822099d) at emacs.c:1693 (gdb) p s->font $31 = (struct font *) 0x0 (gdb) p s->font $31 = (struct font *) 0x0 (gdb) shell gcc --version gcc (Debian 4.6.3-1) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (gdb) On Tue, Jul 3, 2012 at 7:49 PM, Eli Zaretskii wrote: > merge 11813 11850 > thanks > > This looks the same crash as in 11813, so I'm merging them. > --f46d04088ee58bf22b04c401e34e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
With the patch it still crashes immediately (on my office = LinuxMint).
But in a 'later' place. See following gdb-log:

Program received signal SIGSEGV, Segmentation fau= lt.
0x080feb2f in x_draw_glyphless_glyph_string_foreground (s=3D0xbfffd230= )
=C2=A0 =C2=A0 at xterm.c:1420
(gdb) where
#= 0 =C2=A00x080feb2f in x_draw_glyphless_glyph_string_foreground (s=3D0xbfffd= 230)
=C2=A0 =C2=A0 at xterm.c:1420
#1 =C2=A00x08102077 in x_draw_glyph= _string (s=3D0xbfffd230) at xterm.c:2817
#2 =C2=A00x0809a80a in d= raw_glyphs (w=3D0x86bf5c0, x=3D599, row=3D0x88cfe68,=C2=A0
=C2=A0= =C2=A0 area=3DTEXT_AREA, start=3D0, end=3D53, hl=3DDRAW_NORMAL_TEXT, overl= aps=3D0)
=C2=A0 =C2=A0 at xdisp.c:23404
#3 =C2=A00x0809fa99 in x_writ= e_glyphs (start=3D0x88d5638, len=3D53) at xdisp.c:25046
#4 =C2=A0= 0x080559a4 in update_text_area (vpos=3D12, w=3D0x86bf5c0) at dispnew.c:3773=
#5 =C2=A0update_window_line (w=3D0x86bf5c0, vpos=3D12,=C2=A0
=C2=A0 =C2=A0 mouse_face_overwritten_p=3D0xbfffd75c) at dispnew.c:4014=
#6 =C2=A00x08056574 in update_window (w=3D0x86bf5c0, force_p=3D1= ) at dispnew.c:3633
#7 =C2=A00x08058499 in update_window_tree (w= =3D0x86bf5c0, force_p=3D1)
=C2=A0 =C2=A0 at dispnew.c:3340
#8 =C2=A00x0805b3a6 in updat= e_frame (f=3D0x871e9d0, force_p=3D1, inhibit_hairy_id_p=3D0)
=C2= =A0 =C2=A0 at dispnew.c:3269
#9 =C2=A00x080811ac in redisplay_int= ernal () at xdisp.c:13403
#10 0x0807f331 in redisplay () at xdisp.c:12575
#11 0x0813b9e9 in= read_char (commandflag=3D1, nmaps=3D3, maps=3D0xbfffecb0,=C2=A0
= =C2=A0 =C2=A0 prev_event=3D138768554, used_mouse_menu=3D0xbfffeda8, end_tim= e=3D0x0)
=C2=A0 =C2=A0 at keyboard.c:2452
#12 0x0813dc44 in read_key_sequence (keybuf=3D0xbfffee18, prompt=3D138= 768554,=C2=A0
=C2=A0 =C2=A0 dont_downcase_last=3D0, can_return_sw= itch_frame=3D1, fix_current_buffer=3D1,=C2=A0
=C2=A0 =C2=A0 bufsi= ze=3D30) at keyboard.c:9338
#13 0x0813f43f in command_loop_1 () at keyboard.c:1450
#14 0x081a= 08fd in internal_condition_case (bfun=3D0x813f2b0 <command_loop_1>,= =C2=A0
=C2=A0 =C2=A0 handlers=3D138802082, hfun=3D0x81356e0 <c= md_error>) at eval.c:1333
#15 0x08134185 in command_loop_2 (ignore=3D138768554) at keyboard.c:11= 55
#16 0x081a0819 in internal_catch (tag=3D138800058,=C2=A0
=
=C2=A0 =C2=A0 func=3D0x8134160 <command_loop_2>, arg=3D138768554= ) at eval.c:1090
#17 0x0813522a in command_loop () at keyboard.c:1134
#18 rec= ursive_edit_1 () at keyboard.c:754
#19 0x0813551f in Frecursive_e= dit () at keyboard.c:818
#20 0x08051d9b in main (argc=3D2, argv= =3D0x822099d) at emacs.c:1693
(gdb) p s->font
$31 =3D (struct font *) 0x0
(gd= b) p s->font
$31 =3D (struct font *) 0x0
(gdb) shell= gcc --version
gcc (Debian 4.6.3-1) 4.6.3
Copyright (C)= 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. =C2=A0Th= ere is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A= PARTICULAR PURPOSE.

(gdb)=C2=A0
<= br>




On Tu= e, Jul 3, 2012 at 7:49 PM, Eli Zaretskii <eliz@gnu.org> wrote:
merge 11813 11850
thanks

This looks the same crash as in 11813, so I'm merging them.

--f46d04088ee58bf22b04c401e34e--