emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help needed for getting a backtrace ( multi-head emacs_abort on luci


From: Po Lu
Subject: Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
Date: Mon, 18 Apr 2022 18:29:16 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

andrés ramírez <rrandresf@gmail.com> writes:

> Hi. Po Lu.
>
>>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:
>
>     Po> Thanks.  Does this fix the problem?
>
>
> No. It does NOT fix the issue.
>
> [...]
>
> Best Regards

What about this?

diff --git a/src/xterm.c b/src/xterm.c
index 99269e3e92..62d27339c6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -23702,6 +23702,9 @@ x_delete_terminal (struct terminal *terminal)
       if (dpyinfo->xkb_desc)
        XkbFreeKeyboard (dpyinfo->xkb_desc, XkbAllComponentsMask, True);
 #endif
+#ifdef USE_CAIRO
+      x_catch_errors (dpyinfo->display);
+#endif
 #ifdef USE_GTK
       xg_display_close (dpyinfo->display);
 #else
@@ -23711,6 +23714,9 @@ x_delete_terminal (struct terminal *terminal)
       XCloseDisplay (dpyinfo->display);
 #endif
 #endif /* ! USE_GTK */
+#ifdef USE_CAIRO
+      x_uncatch_errors_after_check ();
+#endif
 
       if (dpyinfo->modmap)
        XFreeModifiermap (dpyinfo->modmap);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]