Bug 2342280 - [abrt] ibus-panel: ibus_wayland_im_constructor(): ibus-ui-gtk3 killed by SIGTRAP
Summary: [abrt] ibus-panel: ibus_wayland_im_constructor(): ibus-ui-gtk3 killed by SIGTRAP
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c0e5f8c0b7d00a64ab5f5c3848a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-27 16:02 UTC by Mike FABIAN
Modified: 2025-02-14 07:38 UTC (History)
3 users (show)

Fixed In Version: ibus-1.5.32~beta2-2.fc42
Clone Of:
Environment:
Last Closed: 2025-02-14 04:57:50 UTC
Type: ---
Embargoed:
petersen: mirror+


Attachments (Terms of Use)
File: proc_pid_status (1.47 KB, text/plain)
2025-01-27 16:02 UTC, Mike FABIAN
no flags Details
File: maps (3.92 KB, text/plain)
2025-01-27 16:02 UTC, Mike FABIAN
no flags Details
File: limits (1.29 KB, text/plain)
2025-01-27 16:02 UTC, Mike FABIAN
no flags Details
File: environ (3.55 KB, text/plain)
2025-01-27 16:02 UTC, Mike FABIAN
no flags Details
File: open_fds (1.62 KB, text/plain)
2025-01-27 16:02 UTC, Mike FABIAN
no flags Details
File: mountinfo (3.42 KB, text/plain)
2025-01-27 16:02 UTC, Mike FABIAN
no flags Details
File: os_info (795 bytes, text/plain)
2025-01-27 16:03 UTC, Mike FABIAN
no flags Details
File: cpuinfo (2.89 KB, text/plain)
2025-01-27 16:03 UTC, Mike FABIAN
no flags Details
File: backtrace (84.08 KB, text/plain)
2025-01-27 16:03 UTC, Mike FABIAN
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1476 0 None None None 2025-02-12 10:07:02 UTC

Description Mike FABIAN 2025-01-27 16:02:49 UTC
Description of problem:


Version-Release number of selected component:
ibus-panel-1.5.32~beta1-4.fc42

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         ibus-ui-gtk3 killed by SIGTRAP
journald_cursor: s=555256ee34574f5d9f6f1cfd111c9638;i=322a;b=16a55315f3b34518904dd5bd7da93f44;m=3172225a;t=62cb22af5684c;x=c05cbe7b38cffca9
executable:     /usr/libexec/ibus-ui-gtk3
cmdline:        /usr/libexec/ibus-ui-gtk3 --enable-wayland-im --exec-daemon --daemon-args $'--xim --panel disable'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/run-p3376-i3676.scope
rootdir:        /
uid:            1000
kernel:         6.13.0-0.rc7.20250114gitc45323b7560e.56.fc42.x86_64
package:        ibus-panel-1.5.32~beta1-4.fc42
runlevel:       N 5
dso_list:       /usr/libexec/ibus-ui-gtk3 ibus-panel-1.5.32~beta1-4.fc42.x86_64 (Fedora Project) 1737991918
backtrace_rating: 4
crash_function: ibus_wayland_im_constructor
comment:        

Truncated backtrace:
Thread no. 1 (7 frames)
 #4 ibus_wayland_im_constructor at ../../client/wayland/ibuswaylandim.c:2374
 #5 g_object_new_with_custom_constructor at ../gobject/gobject.c:2524
 #6 g_object_new_internal at ../gobject/gobject.c:2604
 #7 g_object_new_valist at ../gobject/gobject.c:2945
 #8 ibus_wayland_im_new.constprop.0 at ../../client/wayland/ibuswaylandim.c:2511
 #9 application_make_wayland_im at /usr/src/debug/ibus-1.5.32
 #10 application_main at /usr/src/debug/ibus-1.5.32


Potential duplicate: bug 2273767

Comment 1 Mike FABIAN 2025-01-27 16:02:52 UTC
Created attachment 2074033 [details]
File: proc_pid_status

Comment 2 Mike FABIAN 2025-01-27 16:02:53 UTC
Created attachment 2074034 [details]
File: maps

Comment 3 Mike FABIAN 2025-01-27 16:02:55 UTC
Created attachment 2074035 [details]
File: limits

Comment 4 Mike FABIAN 2025-01-27 16:02:56 UTC
Created attachment 2074036 [details]
File: environ

Comment 5 Mike FABIAN 2025-01-27 16:02:58 UTC
Created attachment 2074037 [details]
File: open_fds

Comment 6 Mike FABIAN 2025-01-27 16:02:59 UTC
Created attachment 2074038 [details]
File: mountinfo

Comment 7 Mike FABIAN 2025-01-27 16:03:01 UTC
Created attachment 2074039 [details]
File: os_info

Comment 8 Mike FABIAN 2025-01-27 16:03:03 UTC
Created attachment 2074040 [details]
File: cpuinfo

Comment 9 Mike FABIAN 2025-01-27 16:03:05 UTC
Created attachment 2074041 [details]
File: backtrace

Comment 10 Mike FABIAN 2025-01-27 16:05:56 UTC
That happens on current rawhide when I am logged in to Gnome Wayland and type `ibus restart`

ibus-1.5.32~beta1-4.fc42.x86_64

Installed from Fedora-Workstation-Live-x86_64-Rawhide-20250127.n.0.iso

Comment 11 Mike FABIAN 2025-01-27 16:06:36 UTC
It is reproducible, happens always when typing `ibus restart`.

Comment 12 Jens Petersen 2025-02-13 10:39:52 UTC
It also happens with `ibus start`

Comment 13 fujiwara 2025-02-13 11:18:36 UTC
(In reply to Mike FABIAN from comment #0)
> cmdline:        /usr/libexec/ibus-ui-gtk3 --enable-wayland-im --exec-daemon
> --daemon-args $'--xim --panel disable'

(In reply to Mike FABIAN from comment #10)
> That happens on current rawhide when I am logged in to Gnome Wayland and
> type `ibus restart`

It's curious why the Wayland IM 2 mode is running in GNOME Wayland session.

Does it mean GNOME 48 enables the Wayland input-method protocol v2?

The workaround is:
ibus exit
ibus start --type systemd

Can anyone show the log of `ibus start --verbose` in Fedora 42 GNOME Wayland?

I can reproduce the issue in Xorg desktops likes XFCE but not GNOME Wayland in Fedora 41.

Comment 14 Jens Petersen 2025-02-13 12:17:30 UTC
In latest F42 Live image, `ibus start --type systemd`.

But I don't see any error with `ibus start --verbose`, only with `ibus start`.

Comment 15 Jens Petersen 2025-02-13 12:18:17 UTC
(In reply to Jens Petersen from comment #14)
> In latest F42 Live image, `ibus start --type systemd`.

(works I mean) - thanks

Comment 16 Jens Petersen 2025-02-13 12:19:13 UTC
liveuser@localhost-live:~$ ibus start --verbose
Wl.RegistryListenerGlobal name:   1 interface: wl_compositor version: 6.
Wl.RegistryListenerGlobal name:   2 interface: wl_shm version: 2.
Wl.RegistryListenerGlobal name:   3 interface: wl_output version: 4.
Wl.RegistryListenerGlobal name:   4 interface: zxdg_output_manager_v1 version: 3.
Wl.RegistryListenerGlobal name:   5 interface: wl_data_device_manager version: 3.
Wl.RegistryListenerGlobal name:   6 interface: xdg_toplevel_drag_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:   7 interface: zwp_primary_selection_device_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:   8 interface: wl_subcompositor version: 1.
Wl.RegistryListenerGlobal name:   9 interface: xdg_wm_base version: 6.
Wl.RegistryListenerGlobal name:  10 interface: gtk_shell1 version: 5.
Wl.RegistryListenerGlobal name:  11 interface: wp_viewporter version: 1.
Wl.RegistryListenerGlobal name:  12 interface: wp_fractional_scale_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:  13 interface: zwp_pointer_gestures_v1 version: 3.
Wl.RegistryListenerGlobal name:  14 interface: zwp_tablet_manager_v2 version: 1.
Wl.RegistryListenerGlobal name:  15 interface: wl_seat version: 8.
Wl.RegistryListenerGlobal name:  16 interface: zwp_relative_pointer_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:  17 interface: zwp_pointer_constraints_v1 version: 1.
Wl.RegistryListenerGlobal name:  18 interface: zxdg_exporter_v2 version: 1.
Wl.RegistryListenerGlobal name:  19 interface: zxdg_importer_v2 version: 1.
Wl.RegistryListenerGlobal name:  20 interface: zxdg_exporter_v1 version: 1.
Wl.RegistryListenerGlobal name:  21 interface: zxdg_importer_v1 version: 1.
Wl.RegistryListenerGlobal name:  22 interface: zwp_linux_dmabuf_v1 version: 3.
Wl.RegistryListenerGlobal name:  23 interface: wp_single_pixel_buffer_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:  24 interface: zwp_keyboard_shortcuts_inhibit_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:  25 interface: zwp_text_input_manager_v3 version: 1.
Wl.RegistryListenerGlobal name:  26 interface: wp_presentation version: 1.
Wl.RegistryListenerGlobal name:  27 interface: xdg_activation_v1 version: 1.
Wl.RegistryListenerGlobal name:  28 interface: zwp_idle_inhibit_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:  29 interface: xdg_wm_dialog_v1 version: 1.
Wl.RegistryListenerGlobal name:  30 interface: xdg_system_bell_v1 version: 1.
Wl.RegistryListenerGlobal name:  31 interface: wp_drm_lease_device_v1 version: 1.
Wl.RegistryListenerGlobal name:  32 interface: wp_commit_timing_manager_v1 version: 1.
Wl.RegistryListenerGlobal name:  33 interface: wp_fifo_manager_v1 version: 1.
Cannot find the Wayland input-method protocol.
The session bus is generated.
NameAquired org.freedesktop.DBus:org.freedesktop.DBus
Your desktop session "GNOME" is not KDE
.The session bus is generated.
NameAquired org.freedesktop.DBus:org.freedesktop.DBus
Succeed to restart IBus daemon via IBus systemd service file "org.freedesktop.IBus.session.GNOME.service": "/org/freedesktop/systemd1/job/1016"
Succeed to get an object path "/org/freedesktop/systemd1/unit/org_2efreedesktop_2eIBus_2esession_2eGNOME_2eservice" for IBus systemd service file "org.freedesktop.IBus.session.GNOME.service".
systemd state is "activating" for an object path "/org/freedesktop/systemd1/unit/org_2efreedesktop_2eIBus_2esession_2eGNOME_2eservice".
systemd state is "active" for an object path "/org/freedesktop/systemd1/unit/org_2efreedesktop_2eIBus_2esession_2eGNOME_2eservice".

Comment 17 fujiwara 2025-02-13 23:56:59 UTC
(In reply to Jens Petersen from comment #16)
> liveuser@localhost-live:~$ ibus start --verbose
...
> Cannot find the Wayland input-method protocol.
...
> org_2efreedesktop_2eIBus_2esession_2eGNOME_2eservice".


Thank you for the log.
It means ibus is launched with systemd and it's a GNOME mode.


> cmdline:        /usr/libexec/ibus-ui-gtk3 --enable-wayland-im --exec-daemon
> --daemon-args $'--xim --panel disable'

so the Wayland mode should not happen.


(In reply to Jens Petersen from comment #14)
> But I don't see any error with `ibus start --verbose`, only with `ibus
> start`.

Seems you mean `ibus start` causes an error but `ibus start --verbose` has no errors and a timing issue.
Currently I'm cleaning old Fedora discs and will install Fedora 42 and also will try no debug ibus.

Comment 18 fujiwara 2025-02-14 04:41:19 UTC
(In reply to fujiwara from comment #17)
> Seems you mean `ibus start` causes an error but `ibus start --verbose` has
> no errors and a timing issue.
> Currently I'm cleaning old Fedora discs and will install Fedora 42 and also
> will try no debug ibus.

It's caused by a typo of the verbose option.

Comment 19 Jens Petersen 2025-02-14 07:38:48 UTC
Thanks I confirmed this fixes `ibus restart` in Gnome Wayland (Rawhide Workstation).

But still seeing `ibus start --type wayland` error on Sway: will open a new bug.


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