From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 66151@debbugs.gnu.org, George P <georgepanagopo@gmail.com>
Subject: bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
Date: Fri, 19 Apr 2024 17:07:19 +0800 [thread overview]
Message-ID: <87r0f1iuuw.fsf@yahoo.com> (raw)
In-Reply-To: <86sezjdkdk.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Apr 2024 13:40:23 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: 66151@debbugs.gnu.org
>> From: George P <georgepanagopo@gmail.com>
>> Date: Sat, 13 Apr 2024 13:56:04 -0400
>>
>> Thanks a lot for your efforts, but unfortunately the crash persists. I
>> have attached the same backtraces as before but on commit 17e26cf57e1.
>>
>> Please let me know if you need more information.
>
> Thanks.
>
> Po Lu, how should we go about making some progress here?
Thanks. My hands are quite full and will remain so into the next week,
but if this crude attempt to sidestep the crash works, it should suffice
until I establish why dead frames are still being retained in
Vfontset_table. George?
diff --git a/src/fontset.c b/src/fontset.c
index d27fa22015e..d969e5f1180 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1366,10 +1366,11 @@ free_realized_fontsets (Lisp_Object base)
if (CHAR_TABLE_P (this) && EQ (FONTSET_BASE (this), base))
{
Fclear_face_cache (Qt);
- /* This is in case some Lisp calls this function and then
- proceeds with calling some other function, like font-at,
- which needs the basic faces. */
- recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
+ if (!FRAME_LIVE_P (XFRAME (FONTSET_FRAME (this))))
+ /* This is in case some Lisp calls this function and then
+ proceeds with calling some other function, like font-at,
+ which needs the basic faces. */
+ recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
break;
}
}
next prev parent reply other threads:[~2024-04-19 9:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-22 10:22 bug#66151: 29.1.50; daemon crashing after X forwarding disconnects Benjamin Schwehn
2023-09-22 12:22 ` Eli Zaretskii
2023-09-22 13:12 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-22 13:16 ` Eli Zaretskii
2023-09-22 14:28 ` Benjamin Schwehn
2023-09-22 15:07 ` Eli Zaretskii
2023-09-22 16:51 ` Benjamin Schwehn
2023-09-22 23:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-09 15:02 ` bug#66151: George P
2024-04-09 15:16 ` bug#66151: 29.1.50; daemon crashing after X forwarding disconnects George P
2024-04-09 17:28 ` George P
2024-04-10 2:02 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-10 15:42 ` George P
2024-04-11 0:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-12 2:03 ` George P
2024-04-13 1:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-13 7:46 ` George P
2024-04-13 11:45 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-13 17:56 ` George P
2024-04-18 10:40 ` Eli Zaretskii
2024-04-19 9:07 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-04-19 11:15 ` Eli Zaretskii
2024-04-19 12:00 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-27 8:37 ` Eli Zaretskii
2024-05-05 16:25 ` George P
2024-05-06 11:02 ` Eli Zaretskii
2024-05-07 0:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-09 20:36 ` George P
2024-05-07 20:26 ` Benjamin Schwehn
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=87r0f1iuuw.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=66151@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=georgepanagopo@gmail.com \
--cc=luangruo@yahoo.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 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.