GNU bug report logs -
#33885
27.0.50; PUA character makes emacs crash
Previous Next
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
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.
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.