GNU bug report logs - #33885
27.0.50; PUA character makes emacs crash

Previous Next

Package: emacs;

Reported by: Werner LEMBERG <wl <at> gnu.org>

Date: Thu, 27 Dec 2018 08:56:01 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: 33885 <at> debbugs.gnu.org, wl <at> gnu.org
Subject: bug#33885: 27.0.50; PUA character makes emacs crash
Date: Thu, 27 Dec 2018 13:33:36 +0200
On December 27, 2018 12:36:14 PM GMT+02:00, Eli Zaretskii <eliz <at> gnu.org> wrote:
> On December 27, 2018 10:54:59 AM GMT+02:00, Werner LEMBERG
> <wl <at> gnu.org> wrote:
> > 
> > Loading the attached file `bug.el' (containing the single PUA
> > character U+E6A3) with
> > 
> >   emacs -Q bug.el
> > 
> > causes a crash:
> > 
> >   xdisp.c:28955:
> >     Emacs fatal error:
> >       assertion failed:
> >         it->ascent >= 0 && it->descent >= 0
> > 
> > I've also attached the output of `bt full'.
> 
> 
> Thanks.
> 
> Do you have some custom font setup, which is supposed to display this
> PUA character?  Because on my system, there's no font for this
> codepoint (as I'd expect), and therefore Emacs displays it as
> "glyphless" character, showing a box with the character's code in hex,
> and that avoids the assertion violation.
> 
> So please step through x_produce_glyphs when Emacs needs to produce a
> glyph for this character, and tell how you end up with both ascent and
> descent values zero.  It isn't supposed to happen with valid fonts.

Sorry, I meant these values should be non-negatve.  It seems like in your case, descent is -5?  How come?




This bug report was last modified 3 years and 73 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.