GNU bug report logs - #53160
29.0.50; fcitx5 will freeze Emacs with pre-edited text enabled

Previous Next

Package: emacs;

Reported by: Eason Huang <aqua0210 <at> foxmail.com>

Date: Mon, 10 Jan 2022 14:37:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53160 in the body.
You can then email your comments to 53160 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Mon, 10 Jan 2022 14:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eason Huang <aqua0210 <at> foxmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 10 Jan 2022 14:37:02 GMT) Full text and rfc822 format available.

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

From: Eason Huang <aqua0210 <at> foxmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; fcitx5 will freeze Emacs with pre-edited text enabled
Date: Mon, 10 Jan 2022 21:49:41 +0800
With latest version of Emacs 29.0.50, @Po Lu implement a nice feature to
support showing pre-edited text of Fcitx5(A Chinese input method).

But when I enable this new feature, Fcitx5 will freeze Emacs sometimes.
Fcitx5 works well on gedit.

Can anyone help to fixed this issue?


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4)
 of 2022-01-10 built on lilydjwg
Repository revision: d5cf772cad1773f5e40f85c51199632721050f65
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-sound=alsa --with-modules --without-libotf --without-m17n-flt
 --without-gconf --without-gsettings --with-sound=no --with-xwidgets
 --without-gpm '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2
LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP
SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM XWIDGETS
GTK3 ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=fcitx5
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date seq gv
subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget keymap hashtable-print-readable backquote threads
xwidget-internal dbusbind inotify lcms2 dynamic-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 46456 9465)
 (symbols 48 5691 1)
 (strings 32 15696 1943)
 (string-bytes 1 505668)
 (vectors 16 11774)
 (vector-slots 8 163372 16707)
 (floats 8 21 52)
 (intervals 56 400 4)
 (buffers 992 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Tue, 11 Jan 2022 00:44:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 53160 <at> debbugs.gnu.org
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Tue, 11 Jan 2022 08:43:31 +0800
Eason Huang <aqua0210 <at> foxmail.com> writes:

> With latest version of Emacs 29.0.50, @Po Lu implement a nice feature to
> support showing pre-edited text of Fcitx5(A Chinese input method).
>
> But when I enable this new feature, Fcitx5 will freeze Emacs sometimes.
> Fcitx5 works well on gedit.
>
> Can anyone help to fixed this issue?

Thanks.  Some important questions:

  - Does this still happen under emacs -Q?  (You can set manually
    `x-gtk-use-native-input' to t there for testing.)

  - Could this perhaps be related to GC?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Tue, 11 Jan 2022 15:20:02 GMT) Full text and rfc822 format available.

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

From: Eason Huang <aqua0210 <at> foxmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53160 <at> debbugs.gnu.org
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Tue, 11 Jan 2022 21:56:06 +0800
Po Lu <luangruo <at> yahoo.com> writes:

>> I forget how to make Emacs show messages when GC happened, so I
>> can't test it now. Do you have any suggestions for testing GC?
>
> [Sorry for the webmail, but Yahoo's SMTP is wedged; I hope Reply All
> worked and this reaches the bug tracker]
 Thanks for reminding.

> You can (setq garbage-collection-messages t) -- it will display a
> message in the echo area upon garbage collection.

I test it again with (setq garbage-collection-messages t), but I didn't
see any messages about GC when the issues occured.


-----
From Eason Huang




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Wed, 12 Jan 2022 00:53:01 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 53160 <at> debbugs.gnu.org
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Wed, 12 Jan 2022 08:51:42 +0800
Eason Huang <aqua0210 <at> foxmail.com> writes:

> I test it again with (setq garbage-collection-messages t), but I didn't
> see any messages about GC when the issues occured.

Odd... do the issues still happen under emacs -Q?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Wed, 12 Jan 2022 03:31:02 GMT) Full text and rfc822 format available.

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

From: Eason Huang <aqua0210 <at> foxmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53160 <at> debbugs.gnu.org
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Wed, 12 Jan 2022 11:30:20 +0800
Po Lu <luangruo <at> yahoo.com> writes:

> Odd... do the issues still happen under emacs -Q?

Yes, the issues still happen under emacs -Q.



from Eason Huang




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Thu, 13 Jan 2022 02:14:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 53160 <at> debbugs.gnu.org
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Thu, 13 Jan 2022 10:13:22 +0800
Eason Huang <aqua0210 <at> foxmail.com> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> Odd... do the issues still happen under emacs -Q?
>
> Yes, the issues still happen under emacs -Q.

Please see if the problem has been resolved on master.  Thanks.




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 13 Jan 2022 08:59:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Sun, 16 Jan 2022 04:13:01 GMT) Full text and rfc822 format available.

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

From: Eason Huang <aqua0210 <at> foxmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53160 <53160 <at> debbugs.gnu.org>
Subject: Re:  bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Sun, 16 Jan 2022 12:11:40 +0800
>> Po Lu <luangruo <at> yahoo.com> writes:
>>
>>> Odd... do the issues still happen under emacs -Q?
>>
>> Yes, the issues still happen under emacs -Q.

> Please see if the problem has been resolved on master.  Thanks.

 sorry for the delay respond.

 I tested again with latest emacs-git on Arch linux. but the issue still
 exist.

 The repostitory revision is: 791694c5fe86b8c9ab5cb593bd5e050aa185aa3a


----
From Eason Huang





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Sun, 16 Jan 2022 05:33:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 53160 <53160 <at> debbugs.gnu.org>
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Sun, 16 Jan 2022 13:32:36 +0800
Eason Huang <aqua0210 <at> foxmail.com> writes:

>  sorry for the delay respond.
>
>  I tested again with latest emacs-git on Arch linux. but the issue still
>  exist.
>
>  The repostitory revision is: 791694c5fe86b8c9ab5cb593bd5e050aa185aa3a

Thanks for testing.  Precisely how often does the problem occur?  I
tried typing continuously for 2 minutes, but didn't see anything after
the fix.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Sun, 16 Jan 2022 16:53:02 GMT) Full text and rfc822 format available.

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

From: Eason Huang <aqua0210 <at> foxmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53160 <53160 <at> debbugs.gnu.org>
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Mon, 17 Jan 2022 00:52:22 +0800
Po Lu <luangruo <at> yahoo.com> writes:

> Eason Huang <aqua0210 <at> foxmail.com> writes:
>
>>  sorry for the delay respond.
>>
>>  I tested again with latest emacs-git on Arch linux. but the issue still
>>  exist.
>>
>>  The repostitory revision is: 791694c5fe86b8c9ab5cb593bd5e050aa185aa3a
>
> Precisely how often does the problem occur?

About 5 words will trigger the issue.

> tried typing continuously for 2 minutes, but didn't see anything after
> the fix.

May be it is caused by my Fcitx5 configuration. I will try to dig more
infomations.

----
From Eason Huang




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53160; Package emacs. (Mon, 17 Jan 2022 00:32:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 53160 <53160 <at> debbugs.gnu.org>
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Mon, 17 Jan 2022 08:31:13 +0800
Eason Huang <aqua0210 <at> foxmail.com> writes:

>>> Po Lu <luangruo <at> yahoo.com> writes:
>>>
>>>> Odd... do the issues still happen under emacs -Q?
>>>
>>> Yes, the issues still happen under emacs -Q.
>
>> Please see if the problem has been resolved on master.  Thanks.
>
>  sorry for the delay respond.
>
>  I tested again with latest emacs-git on Arch linux. but the issue still
>  exist.

Could you please try master now, and see if the problem persists?




Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Sat, 22 Jan 2022 04:35:02 GMT) Full text and rfc822 format available.

Notification sent to Eason Huang <aqua0210 <at> foxmail.com>:
bug acknowledged by developer. (Sat, 22 Jan 2022 04:35:02 GMT) Full text and rfc822 format available.

Message #39 received at 53160-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Eason Huang <aqua0210 <at> foxmail.com>
Cc: 53160-done <at> debbugs.gnu.org
Subject: Re: bug#53160: 29.0.50; fcitx5 will freeze Emacs with pre-edited
 text enabled
Date: Sat, 22 Jan 2022 12:34:33 +0800
Eason said that the problem was resolved by changing the font used by
the fcitx pre-edit popup, so I'm closing this report, since it's a
problem with fcitx and not Emacs.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Feb 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 67 days ago.

Previous Next


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