GNU bug report logs - #79193
31.0.50; feature/igc: crashes with no gui frame

Previous Next

Package: emacs;

Reported by: john muhl <jm <at> pub.pink>

Date: Thu, 7 Aug 2025 17:10:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: john muhl <jm <at> pub.pink>, Helmut Eller <eller.helmut <at> gmail.com>,
 79193 <at> debbugs.gnu.org
Subject: Re: bug#79193: 31.0.50; feature/igc: crashes with no gui frame
Date: Thu, 07 Aug 2025 20:04:50 +0200
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:

> Pip Cet <pipcet <at> protonmail.com> writes:
>
>> Could you show glyph->frame, f, *glyph->frame, and *f in this stack
>> frame?
>>
>> Is it possible we're simply failing to trace glyph->frame in
>> fix_glyph_matrix? 
>
> IIRC, the idea was to not trace the glyph::frame in fix_matrix because
> that is not enough in the tty case because not everything is a window in
> that case. That lead to fix_glyph_pool and fix_glyph_matrix in the tty
> windows could be a nop because window matrices on ttys are sub-allocated
> from the pools.
>
> No, for some reason I did
>
>   a19e818265e ; Fix last change
>
> which removed the frame from fix_glyph_pool but left the braces which I
> normally dislike if it's only a single statement.
>
> And secondly, I don't check for window-system frames in
> fix_glyph_matrix.

I take that back, I just did is differently:

igc.c<cl-packages>:
 2365     if (w->current_matrix && !w->current_matrix->pool)
 2366       IGC_FIX_CALL (ss, fix_glyph_matrix (ss, w->current_matrix));

the pool is null on window systems. So that's okay.But the frame is
missing.





This bug report was last modified 8 days ago.

Previous Next


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