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


Message #55 received at 33885 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: wl <at> gnu.org, 33885 <at> debbugs.gnu.org
Subject: Re: bug#33885: 27.0.50; PUA character makes emacs crash
Date: Sat, 12 Feb 2022 10:57:50 +0200
> Resent-From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
> Resent-CC: bug-gnu-emacs <at> gnu.org
> Resent-Sender: help-debbugs <at> gnu.org
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Sat, 12 Feb 2022 09:42:16 +0100
> Cc: 33885 <at> debbugs.gnu.org
> 
> Werner LEMBERG <wl <at> gnu.org> writes:
> 
> > 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'm going through old bug reports that unfortunately weren't resolved
> at the time.)
> 
> I vaguely recall a similar problem being fixed recently (but not with
> this specific character).  Would it be possible for you to try Emacs 28/29
> and see whether the problem is still present there?

Yes, we now do

      if (it->ascent < 0)
	it->ascent = 0;
      if (it->descent < 0)
	it->descent = 0;

so I think this assertion violation should not happen anymore.  (And
in a production build, the assertion goes away anyway.)




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.