GNU bug report logs - #76406
31.0.50; Crash with tty child frames

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Tue, 18 Feb 2025 21:08:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 76406 <at> debbugs.gnu.org
Subject: bug#76406: 31.0.50; Crash with tty child frames
Date: Sun, 23 Feb 2025 05:13:54 +0100
[Message part 1 (text/plain, inline)]
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:

> martin rudalics <rudalics <at> gmx.at> writes:
>
>>> So I guess I'm missing something important. Any ideas?
>>
>> Not really: I do the same but positioned the yellow frame more to the
>> left so that it is not obscured by the other two child frames.  Both
>> tty-child-frames.el ("/home/martin/temp/tm.el" is my location of your
>> tm.el) and my patch are attached.  I also attach a screenshot
>> immediately before clicking on the Buffer menu.  A complete transcript
>> of the debugging session is below.
>
> So, I think I have now exactly what you are using, and I eventually
> got a segfault somehow, and found out something:
>
> The root frame ended up containing glyphs from a dead menu frame. The
> dead frame's face cache was set to NULL because it had been freed. The
> series of events leading to this is still unclear to me. At least we
> never copy glyphs from a dead frame, that much I can say.
>
> Doesn't look like the assertion you are seeing, but maybe it's somehow
> related.
>
> More in the next round.

Could you please give this a try, Martin?

[0001-Enforce-redisplay-when-deleting-a-child-frame-bug-76.patch (text/x-patch, attachment)]

This bug report was last modified 83 days ago.

Previous Next


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