From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 51007@debbugs.gnu.org, indrajeet.khandekar@taranawireless.com
Subject: bug#51007: 27.2; emacs hangs when using window-toggle-side-windows
Date: Sun, 10 Oct 2021 13:55:53 +0300 [thread overview]
Message-ID: <838rz1rvwm.fsf@gnu.org> (raw)
In-Reply-To: <e57fae76-097a-2dbd-8446-3ed819d1ecb8@gmx.at> (message from martin rudalics on Sun, 10 Oct 2021 10:58:12 +0200)
> Cc: indrajeet.khandekar@taranawireless.com, 51007@debbugs.gnu.org
> From: martin rudalics <rudalics@gmx.at>
> Date: Sun, 10 Oct 2021 10:58:12 +0200
>
> > What are the actual values of the data in this assertion:
> >
> > eassert (r->glyphs[TEXT_AREA] >= fr->glyphs[TEXT_AREA]
> > && r->glyphs[LAST_AREA] <= fr->glyphs[LAST_AREA]);
>
> How would I do that? These are structures like
>
> (gdb) p r->glyphs[TEXT_AREA]
> $1 = (struct glyph *) 0xe2df90
> (gdb) p fr->glyphs[TEXT_AREA]
> $2 = (struct glyph *) 0xe36690
These are the values I meant: the above shows the window's glyph
matrix and the frame's glyph matrix are unrelated. Not sure how that
happened; perhaps one of them was recently reallocated?
> BTW, the bug is easily reproducible using the following scenario: With
> a master emacs -Q in an -nw session I evaluate
So you want me to debug it?
> I suppose 'delete-other-windows-internal' mangles the window dimensions
> but the scenarios work on GUI frames and pass all internal checks here
> so it will take me some time to sort this out ...
On GUI frames, the window's glyph matrices are allocated separately
and there's no frame glyph matrix to begin with.
next prev parent reply other threads:[~2021-10-10 10:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 13:36 bug#51007: 27.2; emacs hangs when using window-toggle-side-windows Indrajeet Khandekar
2021-10-04 18:22 ` martin rudalics
[not found] ` <01944062-1C37-4B9A-98B9-F79F29D3B8F4@taranawireless.com>
2021-10-05 8:09 ` martin rudalics
2021-10-05 10:53 ` Indrajeet Khandekar
2021-10-05 12:37 ` martin rudalics
[not found] ` <6D2FC628-BF92-4C35-8552-FBBEF0C7FDDC@taranawireless.com>
2021-10-09 18:57 ` martin rudalics
2021-10-10 6:20 ` Eli Zaretskii
2021-10-10 8:58 ` martin rudalics
2021-10-10 9:48 ` martin rudalics
2021-10-10 10:55 ` Eli Zaretskii [this message]
2021-10-10 12:31 ` martin rudalics
2021-10-10 13:09 ` Eli Zaretskii
2021-10-10 17:16 ` martin rudalics
2021-10-12 8:11 ` martin rudalics
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=838rz1rvwm.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=51007@debbugs.gnu.org \
--cc=indrajeet.khandekar@taranawireless.com \
--cc=rudalics@gmx.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.