Bug 2372839 - cinnamon-screensaver segfault with uim-1.9.6.
Summary: cinnamon-screensaver segfault with uim-1.9.6.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: uim
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-14 13:10 UTC by Taichi Yanagiya
Modified: 2026-05-06 13:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
full journal logs. (26.62 KB, text/plain)
2025-06-14 13:14 UTC, Taichi Yanagiya
no flags Details

Description Taichi Yanagiya 2025-06-14 13:10:26 UTC
Cinnamon-screensaver does not work after updating to uim-1.9.6.
The following logs are output to journal:
--------
systemd[2183]: Started dbus-:1.2-org.cinnamon.ScreenSaver.
cinnamon-screensaver[5935]: CsNotificationWatcher: Could not add match rule to bus - GDBus.Error:org.freedesktop.DBus.Error.MatchRuleInvalid: Invalid match rule
cinnamon-screensaver[5935]: Loading AccountsService
cinnamon-screensaver[5935]: Fractional scaling active: False
cinnamon-screensaver[5935]: Trying to connect to logind...
cinnamon-screensaver[5935]: Starting screensaver...
cinnamon-screensaver[5935]: Cinnamon Screensaver support not found in current theme - adding some...
audit[5935]: ANOM_ABEND auid=1001 uid=1001 gid=1001 ses=3 pid=5935 comm="cinnamon-screen" exe="/usr/bin/python3.13" sig=11 res=1
kernel: cinnamon-screen[5935]: segfault at a6e ip 00007f27627571dd sp 00007ffdedc4a278 error 4 in libc.so.6[1491dd,7f276260e000+16f000] likely on CPU 5 (core 2, socket 0)
kernel: Code: 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 33 01 00 00 <c5> fd 74 0f c5 fd d7 c1 85 c0 74 57 f3 0f bc c0 c5 f8 77 c3 66 66
kernel: audit: type=1701 audit(1749905665.970:333): auid=1001 uid=1001 gid=1001 ses=3 pid=5935 comm="cinnamon-screen" exe="/usr/bin/python3.13" sig=11 res=1
    (snip)
--------

Reproducible: Always

Steps to Reproduce:
1. Log in to cinnamon session.
  (The following versions)
    uim-1.9.6-1.fc42.x86_64
    uim-anthy-1.9.6-1.fc42.x86_64
    uim-gtk3-1.9.6-1.fc42.x86_64
    cinnamon-6.4.9-1.fc42.x86_64
    cinnamon-screensaver-6.4.0-2.fc42.x86_64

2. Make sure you have selected uim as the input method.
  $ imsettings-info
  Xinput file: /etc/X11/xinit/xinput.d/uim.conf
  GTK+ immodule: uim
  Qt immodule: xim
  XMODIFIERS: @im=uim
  XIM server: /usr/bin/uim-xim
  Preferences: /usr/bin/uim-pref-gtk3
  Auxiliary: /usr/bin/uim-toolbar-gtk3-systray
  Short Description: UIM
  Long Description:
  Icon file: /usr/share/uim/pixmaps/uim-icon.png
  Is system default: FALSE
  Is user default: TRUE
  Is XIM server: FALSE

3. Press Alt-Ctl-L. (or /usr/bin/cinnamon-screensaver-command --lock)

Actual Results:
The screensaver does not work.


Expected Results:
The screensaver works.


Additional Information:
Cinnamon-screensaver works when downgrades to uim-1.8.9.


[Workarrounds]
Set environment variables so that cinnamon-screensaver uses input methods other than uim.

# diff -u /usr/bin/cinnamon-screensaver.orig /usr/bin/cinnamon-screensaver
--- /usr/bin/cinnamon-screensaver.orig  2025-01-16 09:00:00.000000000 +0900
+++ /usr/bin/cinnamon-screensaver       2025-06-15 11:50:16.904924151 +0900
@@ -7,5 +7,7 @@

 export GI_TYPELIB_PATH="/usr/libexec/cinnamon-screensaver/girepository-1.0"
 export LD_LIBRARY_PATH="/usr/libexec/cinnamon-screensaver"
+export GTK_IM_MODULE=gtk-im-context-simple
+export QT_IM_MODULE=xim

 exec /usr/share/cinnamon-screensaver/cinnamon-screensaver-main.py "$@"

Comment 1 Taichi Yanagiya 2025-06-14 13:14:01 UTC
Created attachment 2093978 [details]
full journal logs.

Comment 2 Fedora Release Engineering 2026-05-06 13:14:36 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.


Note You need to log in before you can comment on or make changes to this bug.