Bug 2122832

Summary: uim breaks emacs by floating the system with infinite processes
Product: [Fedora] Fedora Reporter: Edgar Hoch <edgar.hoch>
Component: uimAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 36CC: i18n-bugs, tagoh
Target Milestone: ---Flags: pnemade: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: uim-1.8.9-1.fc36 uim-1.8.9-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-06 15:14:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edgar Hoch 2022-08-30 23:03:20 UTC
Description of problem:
Package uim contains files for emacs in /usr/share/emacs/site-lisp/uim-el/ .

When uim is installed, and emacs is started, emacs does not respond to keyboard input or mouse klicks. There is a message in the message line (see below in buffer "*Messages*").

The computer gets slow, the fan of the desktop pc becomes louder, and when I check the processes with "ps -ef|grep emacs", then I get a list of processes like the following:

/usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-63616c6c2d6c6173742d6b62642d6d6163726f_call_last_kbd_macro_0-Sa5oIO.el

There are many of such processes, and when I count them with "ps -ef|grep emacs|wc", and repeat the command, I see that the number of processes is increasing each time I repeat the command.

I have to kill them with "pkill -f '/usr/bin/emacs --batch'" to get rid of them.

After I have killed these processes, emacs continues the initialization and responds to input. I checked the buffers.


In buffer "*Messages*" there are the following messages:


../../usr/share/emacs/site-lisp/uim-el/uim-key.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-preedit.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-candidate.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-candidate.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-candidate.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-candidate.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-candidate.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-helper.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim-helper.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda nil \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'
../../usr/share/emacs/site-lisp/uim-el/uim.el: Warning: (lambda (x) \\.\\.\\.) quoted with ' rather than with #'



Version-Release number of selected component (if applicable):
uim-1.8.8-10.20200828git0c2fbfa6.fc36.x86_64
emacs-28.1-2.fc36.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Install packages emacs, uim.
2. Start emacs.


Actual results:
Emacs unresponsive, creates a increasing number of processes.

Expected results:
Normal start of emacs.

Additional info:
I have to remove package uim to use emacs.

Comment 1 Fedora Update System 2022-09-28 06:56:51 UTC
FEDORA-2022-4c9aac80c7 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4c9aac80c7

Comment 2 Fedora Update System 2022-09-28 06:56:51 UTC
FEDORA-2022-f7767e6dae has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f7767e6dae

Comment 3 Fedora Update System 2022-09-29 04:17:17 UTC
FEDORA-2022-f7767e6dae has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f7767e6dae`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f7767e6dae

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-09-29 04:39:08 UTC
FEDORA-2022-4c9aac80c7 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-4c9aac80c7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4c9aac80c7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-10-06 15:14:43 UTC
FEDORA-2022-f7767e6dae has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-11-10 22:08:03 UTC
FEDORA-2022-4c9aac80c7 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.