GNU bug report logs - #45156
28.0.50; Segfault due to glyph_row being set to NULL

Previous Next

Package: emacs;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Thu, 10 Dec 2020 07:57:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.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: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: 45156 <at> debbugs.gnu.org
Subject: bug#45156: 28.0.50; Segfault due to glyph_row being set to NULL
Date: Thu, 10 Dec 2020 15:54:55 +0200
> From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
> Date: Thu, 10 Dec 2020 08:55:59 +0100
> 
> I see Emacs segfaulting when moving the cursor upwards in a LaTeX
> document while tex-fold-mode is active.  The starting position of the
> cursor is important.
> 
> I placed all files to reproduce the bug at
> <http://wilson.bronger.org/emacs-glyph_row-bug.tar>.  The TeX file needs
> to be put in /tmp.  tex-fold-mode must be present.  Furthermore, place
> .emacs and .emacs.desktop in the proper positions, start current Git
> Emacs, and press the "cursor up" button.  Then, Emacs crashes for me.
> 
> The subject of this bug is just to give it a name.  I do not know
> whether glyph_row is the issue.  However, I bisected the problem, and it
> started with commit f425a774, which sets glyph_row to NULL in two
> places.  If I revert this commit, the problem is gone.

Ouch! what a terrible blunder!  Sorry about that; I see the problem
and am working on a solution.




This bug report was last modified 4 years and 22 days ago.

Previous Next


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