Bug 2444787

Summary: [abrt] ibus-panel: g_utf8_pointer_to_offset(): ibus-ui-gtk3 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: markoloko1223 <mmakowski985>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: i18n-bugs, mmakowski985, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/998284dcdf8c8dd622c5778d1a7546281133e12
Whiteboard: abrt_hash:4c9239b94f10bfb4d9d83e6c4d0a4cb93d3cc6bf;VARIANT_ID=kde;
Fixed In Version: ibus-1.5.34-2.fc44 ibus-1.5.33-6.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-05 04:26:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: exploitable
none
File: dso_list
none
File: var_log_messages
none
File: backtrace none

Description markoloko1223 2026-03-05 08:37:24 UTC
Description of problem:
i do not know what caused this problem but one thing i can say is that i was switching keyboard layout from russian translit to polish

Version-Release number of selected component:
ibus-panel-1.5.33-5.fc43

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         ibus-ui-gtk3 killed by SIGSEGV
journald_cursor: s=6f5faf66e4c44139b8cc0749a0d86681;i=545a36;b=c6e2780fc3344068a0f3d8390d025efa;m=540bc83e;t=64c42b85f0548;x=4bb4b35b46bb8916
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/session.slice/plasma-kwin_wayland.service
rootdir:        /
uid:            1000
kernel:         6.18.13-200.fc43.x86_64
package:        ibus-panel-1.5.33-5.fc43
runlevel:       /bin/sh: line 1: runlevel: command not found
xsession_errors: 
comment:        i do not know what caused this problem but one thing i can say is that i was switching keyboard layout from russian translit to polish
backtrace_rating: 4
crash_function: g_utf8_pointer_to_offset

Truncated backtrace:
Thread no. 1 (17 frames)
 #0 g_utf8_pointer_to_offset at ../glib/gutf8.c:426
 #1 handle_surrounding_text at ../../client/wayland/ibuswaylandim.c:726
 #2 ffi_call_unix64 at ../src/x86/unix64.S:104
 #3 ffi_call_int at ../src/x86/ffi64.c:676
 #4 ffi_call at ../src/x86/ffi64.c:713
 #5 wl_closure_invoke at ../src/connection.c:1241
 #6 dispatch_event at ../src/wayland-client.c:1707
 #7 dispatch_queue at ../src/wayland-client.c:1853
 #8 wl_display_dispatch_queue_pending at ../src/wayland-client.c:2190
 #9 wl_display_dispatch_pending at ../src/wayland-client.c:2253
 #10 _gdk_wayland_display_queue_events at ../gdk/wayland/gdkeventsource.c:201
 #11 gdk_display_get_event at ../gdk/gdkdisplay.c:442
 #14 g_main_context_dispatch_unlocked at ../glib/gmain.c:4425
 #15 g_main_context_iterate_unlocked at ../glib/gmain.c:4490
 #17 gtk_main at ../gtk/gtkmain.c:1332
 #18 application_run at /usr/src/debug/ibus-1.5.33-5.fc43.x86_64/ui/gtk3/application.vala:90
 #19 application_main at /usr/src/debug/ibus-1.5.33-5.fc43.x86_64/ui/gtk3/application.vala:406

Comment 1 markoloko1223 2026-03-05 08:37:27 UTC
Created attachment 2132114 [details]
File: proc_pid_status

Comment 2 markoloko1223 2026-03-05 08:37:29 UTC
Created attachment 2132115 [details]
File: maps

Comment 3 markoloko1223 2026-03-05 08:37:30 UTC
Created attachment 2132116 [details]
File: limits

Comment 4 markoloko1223 2026-03-05 08:37:31 UTC
Created attachment 2132117 [details]
File: environ

Comment 5 markoloko1223 2026-03-05 08:37:32 UTC
Created attachment 2132118 [details]
File: open_fds

Comment 6 markoloko1223 2026-03-05 08:37:33 UTC
Created attachment 2132119 [details]
File: mountinfo

Comment 7 markoloko1223 2026-03-05 08:37:35 UTC
Created attachment 2132120 [details]
File: os_info

Comment 8 markoloko1223 2026-03-05 08:37:36 UTC
Created attachment 2132121 [details]
File: cpuinfo

Comment 9 markoloko1223 2026-03-05 08:37:38 UTC
Created attachment 2132122 [details]
File: core_backtrace

Comment 10 markoloko1223 2026-03-05 08:37:39 UTC
Created attachment 2132123 [details]
File: exploitable

Comment 11 markoloko1223 2026-03-05 08:37:40 UTC
Created attachment 2132124 [details]
File: dso_list

Comment 12 markoloko1223 2026-03-05 08:37:41 UTC
Created attachment 2132125 [details]
File: var_log_messages

Comment 13 markoloko1223 2026-03-05 08:37:43 UTC
Created attachment 2132126 [details]
File: backtrace

Comment 14 fujiwara 2026-05-21 11:51:05 UTC
`context_surrounding_text_v1` is used in KDE only at the moment and I assume you used KDE.
It sends a wrong anchor=595010448 value. I'm not sure which IBus engine you used but the error should be detected by IBus.


(In reply to markoloko1223 from comment #13)
> Created attachment 2132126 [details]
> File: backtrace

#0  g_utf8_pointer_to_offset (str=str@entry=0x7f9fb0017dcc "", pos=pos@entry=0x7f9fd378a15c "\246\303\246K\003\002\002\002\003\032\032\032\003\342\237\231\004j\303\246K\003\002\002\002\003\032\032\032\003\342\226\273\003\303\246K\002\002\002\002\032\032\003\342\237\215\005\303\210\303\246K\003\002\002\002\003\032\032\032\003\342\235\241\004\303\246\305\212\002\002\002\002\032\032\003\342\237\234\005\303\246\305\212J\003\002\002\002\003\032\032\032\003\342\237\236\003\304\233R\002\002\002\002\033\032\003\342\242\244\005\303\210\304\233R\003\002\002\002\003\032\033\032\003\342\235\242\005\303\246\304\233R\003\002\002\002\003\033\033\032\003\342\237\233\005\302\237\304\233R\003\002\002\002\003\033\033\032\003\342\232\231\004\304\255Rs\003\002\002\002\003\032\032\032\003\342\243\265\006\304\255Rs\305\212\004\002\002\002\002\004\032\032\032\032"...) at ../glib/gutf8.c:426
        s = 0x7f9fb0021000 ""
        offset = 37168
#1  0x0000560c1bda93d7 in handle_surrounding_text (data=<optimized out>, text=0x7f9fb0017dcc "", cursor=0, anchor=595010448, context=<optimized out>) at ../../client/wayland/ibuswaylandim.c:726
#2  0x00007f9fd67f8056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#3  0x00007f9fd67f3d16 in ffi_call_int (cif=cif@entry=0x7ffdeaa95370, fn=fn@entry=0x560c1bda9410 <context_surrounding_text_v1>, rvalue=<optimized out>, rvalue@entry=0x0, avalue=avalue@entry=0x7ffdeaa95440, closure=closure@entry=0x0) at ../src/x86/ffi64.c:676

Comment 15 markoloko1223 2026-05-21 16:05:53 UTC
(In reply to fujiwara from comment #14)
> `context_surrounding_text_v1` is used in KDE only at the moment and I assume
> you used KDE.
> It sends a wrong anchor=595010448 value. I'm not sure which IBus engine you
> used but the error should be detected by IBus.

I was using russian transliteration if that's what you mean by IBus engine

I'm no longer using Fedora KDE Plasma edition and switched to a different distribution so I can't do any follow up reports

Comment 16 Fedora Update System 2026-06-03 03:52:23 UTC
FEDORA-2026-10f5bc0cbb (ibus-1.5.34-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-10f5bc0cbb

Comment 17 Fedora Update System 2026-06-04 01:52:50 UTC
FEDORA-2026-10f5bc0cbb has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-10f5bc0cbb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-10f5bc0cbb

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

Comment 18 Fedora Update System 2026-06-04 03:39:15 UTC
FEDORA-2026-d10598ec24 (ibus-1.5.33-6.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d10598ec24

Comment 19 Fedora Update System 2026-06-05 04:26:29 UTC
FEDORA-2026-10f5bc0cbb (ibus-1.5.34-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2026-06-05 05:14:23 UTC
FEDORA-2026-d10598ec24 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d10598ec24`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d10598ec24

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

Comment 21 Fedora Update System 2026-06-20 01:06:46 UTC
FEDORA-2026-d10598ec24 (ibus-1.5.33-6.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.