GNU bug report logs -
#73022
31.0.50; Crash in build_frame_matrix_from_leaf_window after C-x 2 and reducing terminal size
Previous Next
Full log
View this message in rfc822 format
> Cc: n142857 <at> gmail.com, 73022 <at> debbugs.gnu.org
> Date: Wed, 04 Sep 2024 15:21:16 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > Date: Wed, 4 Sep 2024 09:28:47 +0200
> > From: martin rudalics via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> >
> > > To reproduce:
> > > 1. Open emacs -Q
> > > 2. Press C-x 2 to split the frame (top/bottom)
> > > 3. Make the terminal very small (I slowly resize the X window that's
> > > running urxvt, to the minimum size, 1 row and 2 columns in my case).
> > > This shrinking process alone can produce the crash when the window is
> > > around 5 lines high
> > > 4. It always crashes in my case. If it doesn't, make the terminal
> > > larger again, and repeat the resizing for some seconds until it
> > > crashes
> > >
> > > Note that the C-x 2 is required. The problem doesn't happen with a
> > > left/right split (C-x 3). But it happens after a C-x 3 C-x 2.
> >
> > Kindly have a look at the fix I proposed here:
> >
> > https://lists.gnu.org/archive/html/emacs-devel/2024-09/msg00054.html
>
> Thanks, but could you tell how that change could have affected this
> assertion violation? AFAICT, adjust_frame_glyphs is not in the
> backtrace, so how could moving code inside of it affect what happens
> here?
In any case, I can cause the assertion violation even after making the
change you suggested above.
This bug report was last modified 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.