From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Clemente <n142857@gmail.com>
Cc: 71289@debbugs.gnu.org
Subject: bug#71289: 30.0.50; cmcheckmagic aborts when tty_write_glyphs writes "Garbage collecting..." in some cases
Date: Thu, 06 Jun 2024 17:53:12 +0300 [thread overview]
Message-ID: <86bk4egm1z.fsf@gnu.org> (raw)
In-Reply-To: <CAJKAhPAnKEn5GOajzLYEOhy=qfeH+A4ouj+fM68t_QdW3Piyyw@mail.gmail.com> (message from Daniel Clemente on Thu, 6 Jun 2024 12:34:34 +0000)
> From: Daniel Clemente <n142857@gmail.com>
> Date: Thu, 6 Jun 2024 12:34:34 +0000
> Cc: 71289@debbugs.gnu.org
>
> The key to reproduce it to have 2 Emacs windows inside the frame:
> 1. Open emacs (no need for emacsclient) with -Q. No need to set
> garbage-collection-messages to t
> 2. Do C-x 2 to have 2 windows, one above one below
> 3. Resize the X window to make it very small, (1 line or so)
> 4. It should immediately crash.
>
> (gdb) bt full
> #0 terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:443
> No locals.
> #1 0x00005555556bd41b in emacs_abort () at sysdep.c:2391
> No locals.
> #2 0x000055555558cb33 in check_matrix_pointers (window_matrix=0x5555588efa10,
> frame_matrix=0x5555595855c0) at dispnew.c:3129
> i = 0
> j = 0
> #3 0x000055555558ca52 in check_window_matrix_pointers (w=0x5555591f66b8)
> at dispnew.c:3098
> f = 0x555558008768
> #4 0x000055555558c9df in check_window_matrix_pointers (w=0x555559452b90)
> at dispnew.c:3094
> No locals.
> #5 0x000055555558c9df in check_window_matrix_pointers (w=0x55555960d2d8)
> at dispnew.c:3094
> No locals.
> #6 0x000055555558d10e in update_frame (f=0x555558008768, force_p=true,
> inhibit_hairy_id_p=false) at dispnew.c:3359
> paused_p = false
> root_window = 0x55555960d2d8
I see a different abort, for which I've now installed a fix. To try
to fix the above one, I need some additional data:
(gdb) frame 2
(gdb) p window_matrix->rows->glyphs[0]
(gdb) p frame_matrix->rows->glyphs[0]
(gdb) p frame_matrix->rows->glyphs[2]
(gdb) p window_matrix->nrows
(gdb) p frame_matrix->nrows
next prev parent reply other threads:[~2024-06-06 14:53 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-31 10:18 bug#71289: 30.0.50; cmcheckmagic aborts when tty_write_glyphs writes "Garbage collecting..." in some cases Daniel Clemente
2024-05-31 11:17 ` Eli Zaretskii
2024-05-31 17:07 ` Daniel Clemente
2024-05-31 18:17 ` Eli Zaretskii
2024-06-03 15:35 ` Daniel Clemente
2024-06-03 16:21 ` Eli Zaretskii
2024-05-31 17:09 ` Daniel Clemente
2024-05-31 18:26 ` Eli Zaretskii
2024-06-03 15:56 ` Daniel Clemente
2024-06-03 16:03 ` Eli Zaretskii
2024-06-03 16:28 ` Daniel Clemente
2024-06-03 16:36 ` Eli Zaretskii
2024-06-03 16:51 ` Daniel Clemente
2024-06-03 17:44 ` Eli Zaretskii
2024-06-05 13:51 ` Daniel Clemente
2024-06-06 7:55 ` Eli Zaretskii
2024-06-03 15:36 ` Daniel Clemente
2024-06-03 16:25 ` Eli Zaretskii
2024-06-03 16:55 ` Daniel Clemente
2024-06-03 17:39 ` Eli Zaretskii
2024-06-05 13:50 ` Daniel Clemente
2024-06-05 15:06 ` Eli Zaretskii
2024-06-05 16:43 ` Eli Zaretskii
2024-06-06 12:36 ` Daniel Clemente
2024-06-06 12:34 ` Daniel Clemente
2024-06-06 14:53 ` Eli Zaretskii [this message]
2024-06-06 15:23 ` Daniel Clemente
2024-06-06 16:13 ` Eli Zaretskii
2024-06-06 16:44 ` Daniel Clemente
2024-06-06 18:06 ` Daniel Clemente
2024-06-07 6:11 ` Eli Zaretskii
2024-06-07 6:42 ` Daniel Clemente
2024-06-07 6:47 ` Eli Zaretskii
2024-09-04 6:09 ` Daniel Clemente
2024-09-04 6:21 ` Daniel Clemente
2024-09-04 11:59 ` Eli Zaretskii
2024-06-05 13:52 ` Daniel Clemente
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86bk4egm1z.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71289@debbugs.gnu.org \
--cc=n142857@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).