GNU bug report logs - #74902
31.0.50; Segfault when deleting frames

Previous Next

Package: emacs;

Reported by: Steven Allen <steven <at> stebalien.com>

Date: Sun, 15 Dec 2024 22:02:02 UTC

Severity: normal

Tags: fixed

Found in version 31.0.50

Fixed in version 31.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: steven <at> stebalien.com, 74902 <at> debbugs.gnu.org
Subject: Re: bug#74902: 31.0.50; Segfault when deleting frames
Date: Fri, 10 Jan 2025 14:44:13 +0200
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: Steven Allen <steven <at> stebalien.com>,  74902 <at> debbugs.gnu.org
> Date: Fri, 10 Jan 2025 12:26:50 +0100
> 
> >>>>> On Tue, 07 Jan 2025 10:43:32 +0100, Robert Pluim <rpluim <at> gmail.com> said:
> 
> >>>>> On Tue, 31 Dec 2024 08:31:04 -0800, Steven Allen <steven <at> stebalien.com> said:
>     Steven> Eli Zaretskii <eliz <at> gnu.org> writes:
>     >>> Thanks.  I guess we also need a FRAME_LIVE_P test in
>     >>> gui_consider_frame_title?
> 
>     Steven> I've attached a patch for that but note that it doesn't actually help in
>     Steven> this situation because the frame isn't deleted until:
> 
>     Steven> https://git.savannah.gnu.org/cgit/emacs.git/tree/src/frame.c?h=2f1052d9b0de551dc3a463ed54e21c63517497ab#n2536
> 
>     Steven> Whereas the crash happens here, 36 lines above:
> 
>     Steven> https://git.savannah.gnu.org/cgit/emacs.git/tree/src/frame.c?h=2f1052d9b0de551dc3a463ed54e21c63517497ab#n2500
> 
>     Robert> gui_consider_frame_title looks at Vframe_list, so removing the
>     Robert> to-be-deleted frame from it should be enough (unless this crash was
>     Robert> with my patch applied?)
> 
> Eli, did you still want me to push the change to master?

Yes, why not?

I don't really understand the last 2 exchanges.




This bug report was last modified 183 days ago.

Previous Next


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