From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12050: 23.3; font trashes mode-line file name Date: Sun, 29 Jul 2012 20:25:34 +0300 Message-ID: <83ehnuh435.fsf@gnu.org> References: <2e244dfb827ebd8ba5e578bf011d1971.squirrel@server208.nhsdns.com> <831ujzkyv2.fsf@gnu.org> <83mx2jhdmt.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1343582881 3096 80.91.229.3 (29 Jul 2012 17:28:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2012 17:28:01 +0000 (UTC) Cc: 12050@debbugs.gnu.org To: joseph@photosessionsltd.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 29 19:27:59 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 1SvXHa-00010J-LV for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 19:27:58 +0200 Original-Received: from localhost ([::1]:39988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvXHZ-0000N3-Lp for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 13:27:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvXHW-0000Mp-Kt for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 13:27:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvXHV-0002Dk-H9 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 13:27:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvXHV-0002Dg-E1 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 13:27:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SvXOP-0000Z7-Qo for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 13:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jul 2012 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12050-submit@debbugs.gnu.org id=B12050.13435832552114 (code B ref 12050); Sun, 29 Jul 2012 17:35:01 +0000 Original-Received: (at 12050) by debbugs.gnu.org; 29 Jul 2012 17:34:15 +0000 Original-Received: from localhost ([127.0.0.1]:48997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvXNe-0000Y3-QP for submit@debbugs.gnu.org; Sun, 29 Jul 2012 13:34:15 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39011) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvXNc-0000Xv-88 for 12050@debbugs.gnu.org; Sun, 29 Jul 2012 13:34:13 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7X00C00N0N2T00@a-mtaout20.012.net.il> for 12050@debbugs.gnu.org; Sun, 29 Jul 2012 20:25:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7X00BH3N2AV460@a-mtaout20.012.net.il>; Sun, 29 Jul 2012 20:25:23 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:62572 Archived-At: > Date: Sun, 29 Jul 2012 07:44:16 -0400 > From: joseph@photosessionsltd.com > > with the gdb command > run -q -fn -adobe-times-bold-r-normal--0-0-0-0-p-0-iso8859-15 > the crash occurs at xterm.c:1216 > 1216 else if (FONT_HEIGHT (s->font) < s->height - 2 * box_line_width This is fixed in the development sources, patch below. > with the gdb command > run -q -fn -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-15 > the crash occurs at xfaces.c:4841 > 4841 if (! EQ (face->font->props[i], def_face->font->props[i])) Why does this crash? is def_face->font a NULL pointer or something? > recall that the times line crashes in 23.3 and 24.1 and the helvetica line > works fine in 23.3 and crashes in 24.1. Note that both fonts are bold. If you use the non-bold variant of the same font, does the problem go away? --- src/xdisp.c 2012-07-07 21:39:45 +0000 +++ src/xdisp.c 2012-07-08 15:49:39 +0000 @@ -22736,7 +22736,7 @@ fill_glyphless_glyph_string (struct glyp last = s->row->glyphs[s->area] + end; voffset = glyph->voffset; s->face = FACE_FROM_ID (s->f, face_id); - s->font = s->face->font; + s->font = s->face->font ? s->face->font : FRAME_FONT (s->f); s->nchars = 1; s->width = glyph->pixel_width; glyph++;