GNU bug report logs - #77046
31.0.50; Emacs sometimes crashes

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Sun, 16 Mar 2025 09:56:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Markus Triska <triska <at> metalevel.at>
Cc: gerd.moellmann <at> gmail.com, pipcet <at> protonmail.com, 77046 <at> debbugs.gnu.org
Subject: Re: bug#77046: 31.0.50; Emacs sometimes crashes
Date: Sat, 22 Mar 2025 17:39:45 +0200
> From: Markus Triska <triska <at> metalevel.at>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  gerd.moellmann <at> gmail.com,  77046 <at> debbugs.gnu.org
> Date: Sat, 22 Mar 2025 15:19:09 +0100
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x000055555559de87 in first_enabled_row (matrix=0x0) at dispnew.c:3499
> 3499	  for (int i = 0; i < matrix->nrows; ++i)
> #0  0x000055555559de87 in first_enabled_row (matrix=0x0) at dispnew.c:3499
> #1  0x000055555559deb9 in make_matrix_current (f=0x555555c57ae8) at dispnew.c:3511
> #2  0x000055555559e719 in copy_child_glyphs (root=0x555555b15660, child=0x555555c57ae8) at dispnew.c:3715
> #3  0x000055555559f5ba in combine_updates_for_frame (f=0x555555b15660, inhibit_scrolling=false) at dispnew.c:4020
> #4  0x000055555559f944 in combine_updates (roots=XIL(0x7ffff7345eb3)) at dispnew.c:4073
> #5  0x00005555556021e4 in redisplay_internal () at xdisp.c:17748

That's exactly the crash that I fixed with commit 412a6fad98e7 a week
ago, after which I could no longer reproduce the problem.  So either
your source tree is out of sync with the master branch, or some other
factor is at work here.  Or maybe this backtrace is from Emacs before
my fix?

What does the below produce in GDB?

  (gdb) frame 1
  (gdb) print f->after_make_frame




This bug report was last modified 84 days ago.

Previous Next


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