unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Steven Allen <steven@stebalien.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 74902@debbugs.gnu.org
Subject: bug#74902: 31.0.50; Segfault when deleting frames
Date: Tue, 07 Jan 2025 10:43:32 +0100	[thread overview]
Message-ID: <874j2bj6wr.fsf@gmail.com> (raw)
In-Reply-To: <877c7fg6gn.fsf@stebalien.com> (Steven Allen's message of "Tue, 31 Dec 2024 08:31:04 -0800")

>>>>> On Tue, 31 Dec 2024 08:31:04 -0800, Steven Allen <steven@stebalien.com> said:

    Steven> Eli Zaretskii <eliz@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

gui_consider_frame_title looks at Vframe_list, so removing the
to-be-deleted frame from it should be enough (unless this crash was
with my patch applied?)

Robert
-- 





  reply	other threads:[~2025-01-07  9:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-15 22:01 bug#74902: 31.0.50; Segfault when deleting frames Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-16 15:50 ` Eli Zaretskii
2024-12-16 16:12   ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-16 17:20     ` Robert Pluim
2024-12-28 11:35       ` Eli Zaretskii
2024-12-28 23:23         ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-29  6:50           ` Eli Zaretskii
2024-12-31 16:31             ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-07  9:43               ` Robert Pluim [this message]
2024-12-31 16:53       ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-04 12:02         ` Eli Zaretskii

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=874j2bj6wr.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=74902@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=steven@stebalien.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).