[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11813: bug#11850: crash (null font) running emacs built from git
From: |
Eli Zaretskii |
Subject: |
bug#11813: bug#11850: crash (null font) running emacs built from git |
Date: |
Sun, 08 Jul 2012 18:56:42 +0300 |
> From: Chong Yidong <cyd@gnu.org>
> Cc: Left Right <olegsivokon@gmail.com>, Yotam Medini יותם מדיני
> <yotam.medini@gmail.com>,
> 11850@debbugs.gnu.org, 11813@debbugs.gnu.org
> Date: Sun, 08 Jul 2012 22:20:01 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > OK, then does the following patch fix the problem?
> >
> > --- src/xdisp.c 2012-07-05 16:28:34 +0000
> > +++ src/xdisp.c 2012-07-05 16:51:53 +0000
> > @@ -22604,7 +22604,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++;
>
> This patch is correct, please commit it.
Done in revision 108954 on the trunk.
> I'm not sure why font loading fails in the reporter's specific case, but
> it's very likely a system misconfiguration.
I was astonished to see glyphless glyphs on the mode line(!).
I hope some font expert could find the reason for this. It's not just
a rare misconfiguration, since 2 people reported the same crash.
I'm not closing the bug yet, to allow information about the font
configuration to be collected and maybe additional changes made as
result of that.
- bug#11850: crash (null font) running emacs built from git, (continued)
- bug#11850: crash (null font) running emacs built from git, Eli Zaretskii, 2012/07/04
- bug#11850: bug#11813: bug#11850: crash (null font) running emacs built from git, Eli Zaretskii, 2012/07/04
- bug#11813: bug#11850: crash (null font) running emacs built from git, Left Right, 2012/07/05
- bug#11813: bug#11850: crash (null font) running emacs built from git, Eli Zaretskii, 2012/07/05
- bug#11850: bug#11813: bug#11850: crash (null font) running emacs built from git, Left Right, 2012/07/05
- bug#11813: bug#11850: crash (null font) running emacs built from git, Eli Zaretskii, 2012/07/05
- bug#11813: bug#11850: crash (null font) running emacs built from git, Left Right, 2012/07/07
- bug#11813: bug#11850: crash (null font) running emacs built from git, Left Right, 2012/07/07
- bug#11813: bug#11850: crash (null font) running emacs built from git, Eli Zaretskii, 2012/07/07
- bug#11813: bug#11850: crash (null font) running emacs built from git, Chong Yidong, 2012/07/08
- bug#11813: bug#11850: crash (null font) running emacs built from git,
Eli Zaretskii <=
- bug#11813: bug#11850: crash (null font) running emacs built from git, Left Right, 2012/07/08
- bug#11813: bug#11850: crash (null font) running emacs built from git, Jan Djärv, 2012/07/08
- bug#11813: bug#11850: crash (null font) running emacs built from git, Chong Yidong, 2012/07/09
- bug#11813: bug#11850: crash (null font) running emacs built from git, Left Right, 2012/07/11
- bug#11850: bug#11813: bug#11850: crash (null font) running emacs built from git, Chong Yidong, 2012/07/12
- Message not available
- Message not available
- bug#11850: crash (null font) running emacs built from git, Yotam Medini יותם מדיני, 2012/07/08
- bug#11850: crash (null font) running emacs built from git, Eli Zaretskii, 2012/07/08
bug#11850: crash (null font) running emacs built from git, Eli Zaretskii, 2012/07/03