unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Joey Green <mycityofsky@gmail.com>
Cc: 45927@debbugs.gnu.org
Subject: bug#45927: Emacs hangs every few week due to xim
Date: Sun, 17 Jan 2021 16:33:10 +0200	[thread overview]
Message-ID: <83mtx78wgp.fsf@gnu.org> (raw)
In-Reply-To: <CALktmaDgT1EEwt0XA9JQFGXPdfGk=9N4CWUZoeJEe__UGu1FZA@mail.gmail.com> (message from Joey Green on Sun, 17 Jan 2021 10:18:01 +0800)

> From: Joey Green <mycityofsky@gmail.com>
> Date: Sun, 17 Jan 2021 10:18:01 +0800
> 
> Seems like it's due to xim. I tried to disable xim by adding the following line to ~/.Xresources
> 
> emacs*useXIM: false
> 
> The hanging doesn't occur again. But I cannot input with my input method(fcitx) as well, this is a huge
> problem for me. I want to see if there's a solution for it. Even a method to unblock it is helpful, otherwise I
> have to kill Emacs and recover-session each time, which sometimes can cause data loss.
> 
> My related installed packages info:
> 
> fcitx
> - fcitx 4.2.9.8-1
> - fcitx-configtool 0.4.10-4
> - fcitx-sogoupinyin 2.4.0.2732-1
> 
> ArchLinuxLinux
> - ArchLinux 5.10.6-arch1-1 #1 SMP PREEMPT Sat, 09 Jan 2021 18:22:35 +0000 x86_64 GNU/Linux
> 
> Here are some related issues I found online about this, seems to be an old bug:
> - https://bugzilla.redhat.com/show_bug.cgi?id=452849
> - https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-07/msg00520.html

The bugzilla report has some details regarding the reasons for the
hang.  Can you verify that what it describes is indeed what happens,
i.e. both Emacs and XIM are waiting for each other?  And if so, can
you suggest how to modify the logic on our side to avoid this
deadlock?

Thanks.





  reply	other threads:[~2021-01-17 14:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17  2:18 bug#45927: Emacs hangs every few week due to xim Joey Green
2021-01-17 14:33 ` Eli Zaretskii [this message]
     [not found]   ` <CALktmaACAz-vfFrSmbfq-COR8R2cK+5W+qdSJH0DEMzAAt_Ntg@mail.gmail.com>
2021-01-18 16:55     ` 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=83mtx78wgp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=45927@debbugs.gnu.org \
    --cc=mycityofsky@gmail.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).