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 #71 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 21:34:34 +0200
> From: Markus Triska <triska <at> metalevel.at>
> Cc: pipcet <at> protonmail.com,  gerd.moellmann <at> gmail.com,  77046 <at> debbugs.gnu.org
> Date: Sat, 22 Mar 2025 19:08:48 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > 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?
> 
> In the example I posted, the crash still occurs also with a freshly
> compiled Emacs from today's master branch which includes your fix.
> 
> >
> > What does the below produce in GDB?
> >
> >   (gdb) frame 1
> >   (gdb) print f->after_make_frame
> 
> I get:
> 
>     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)
>     (gdb) frame 1
>     #1  0x000055555559deb9 in make_matrix_current (f=0x555555b9b520)
>         at dispnew.c:3511
>     3511      int first_row = first_enabled_row (f->desired_matrix);
>     (gdb) print f->after_make_frame
>     $1 = false

Thanks.  I don't understand how's that possible, but I installed a
couple of trivial band-aids.




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.