Bug 2195895

Summary: [abrt] ibus: ibus_input_context_set_cursor_location(): ibus-x11 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: 822028533
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: i18n-bugs, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1e51ce0f9945cf53edd0ad844afabb20310abf9
Whiteboard: abrt_hash:309ba62c0d9212ef3f69685439c2fd76372eebe9;VARIANT_ID=workstation;
Fixed In Version: ibus-1.5.28-5.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-27 01:18:02 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

Description 822028533 2023-05-06 09:18:12 UTC
Description of problem:
null

Version-Release number of selected component:
ibus-1.5.28-4.fc38

Additional info:
reporter:       libreport-2.17.9
type:           CCpp
reason:         ibus-x11 killed by SIGSEGV
journald_cursor: s=6fbc6584e5e44c95bb2b903441054551;i=45dd60;b=be6a404bc70f4958901a8e24f8f955db;m=36c46cd1b;t=5faea909e4683;x=bad043aaacb5e48b
executable:     /usr/libexec/ibus-x11
cmdline:        /usr/libexec/ibus-x11
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.SettingsDaemon.XSettings.service
rootdir:        /
uid:            1000
kernel:         6.2.14-300.fc38.x86_64
package:        ibus-1.5.28-4.fc38
runlevel:       N 5
dso_list:       /usr/libexec/ibus-x11 ibus-1.5.28-4.fc38.x86_64 (Fedora Project) 1683110050
backtrace_rating: 4
crash_function: ibus_input_context_set_cursor_location
comment:        null

Truncated backtrace:
Thread no. 1 (24 frames)
 #0 ibus_input_context_set_cursor_location at /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/src/ibusinputcontext.c:1024
 #1 _xim_set_cursor_location at /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:840
 #2 _xim_forward_key_event_done at /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:475
 #3 _process_key_event_reply_done at /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:565
 #4 g_task_return_now at ../gio/gtask.c:1309
 #5 g_task_return at ../gio/gtask.c:1378
 #7 reply_cb at ../gio/gdbusproxy.c:2571
 #8 g_task_return_now at ../gio/gtask.c:1309
 #9 g_task_return at ../gio/gtask.c:1378
 #11 g_dbus_connection_call_done at ../gio/gdbusconnection.c:5885
 #12 g_task_return_now at ../gio/gtask.c:1309
 #13 complete_in_idle_cb at ../gio/gtask.c:1323
 #17 g_main_context_iterate.isra.0 at ../glib/gmain.c:4276
 #18 g_main_context_iteration at ../glib/gmain.c:4343
 #19 xim_forward_event at /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:657
 #20 ims_protocol_handler at /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:948
 #21 ForwardEventMessageProc at ../../util/IMdkit/i18nPtHdr.c:1224
 #22 _Xi18nMessageHandler at ../../util/IMdkit/i18nPtHdr.c:1898
 #23 WaitXIMProtocol at ../../util/IMdkit/i18nX.c:524
 #24 _gdk_x11_display_queue_events at ../gdk/x11/gdkeventsource.c:337
 #25 gdk_display_get_event at ../gdk/gdkdisplay.c:442
 #26 gdk_event_source_dispatch.lto_priv at ../gdk/x11/gdkeventsource.c:354
 #29 g_main_context_iterate.isra.0 at ../glib/gmain.c:4276
 #31 ibus_main at /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/src/ibusshare.c:330

Comment 1 822028533 2023-05-06 09:18:17 UTC
Created attachment 1962747 [details]
File: proc_pid_status

Comment 2 822028533 2023-05-06 09:18:19 UTC
Created attachment 1962748 [details]
File: maps

Comment 3 822028533 2023-05-06 09:18:22 UTC
Created attachment 1962749 [details]
File: limits

Comment 4 822028533 2023-05-23 02:48:39 UTC
null


reporter:       libreport-2.17.10
type:           CCpp
reason:         ibus-x11 killed by SIGABRT
journald_cursor: s=5b44ffa1f9c24f47afd64957dd1f9679;i=5a9317;b=9e09b260ee7641d59342f0b6cb63aaf2;m=62b5b987;t=5fc52bcbf0505;x=fe78fe76a8f1d868
executable:     /usr/libexec/ibus-x11
cmdline:        /usr/libexec/ibus-x11
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.SettingsDaemon.XSettings.service
rootdir:        /
uid:            1000
kernel:         6.2.15-300.fc38.x86_64
package:        ibus-1.5.28-4.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: ibus_input_context_set_cursor_location
comment:        null

Comment 5 Fedora Update System 2023-05-25 23:58:56 UTC
FEDORA-2023-a0018a2225 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a0018a2225

Comment 6 Fedora Update System 2023-05-26 02:23:16 UTC
FEDORA-2023-a0018a2225 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a0018a2225`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a0018a2225

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

Comment 7 Fedora Update System 2023-05-27 01:18:02 UTC
FEDORA-2023-a0018a2225 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 David 2023-06-07 03:11:25 UTC
I was copy/pasting in Intellij Idea using CTRL+c and CTRL+v when this error generated and Intellij stopped responding - I had to kill that process.
This has happened several times over the past 2 months.

Intellij installed from their Snap repo:
IntelliJ IDEA 2023.1.2 (Ultimate Edition)
Build #IU-231.9011.34, built on May 16, 2023
Licensed to Playsafe IT Services SA (Pty) Ltd. / David Drazic
Subscription is active until June 27, 2023.
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.3.5-200.fc38.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 20480M
Cores: 20
Non-Bundled Plugins:
    plantuml-parser (0.0.5)
    org.intellij.plugins.hcl (231.8109.91)
    de.docs_as_co.intellij.plugin.diagramsnet (0.2.3)
    com.intellij.kubernetes (231.9011.4)
    com.jetbrains.jax.ws (231.8109.90)
    appland.appmap (0.35.0)
    PlantUML integration (6.2.2-IJ2022.2)
    org.asciidoctor.intellij.asciidoc (0.38.17)
    wl-spring-assistant (1.4.4.222.231)

Kotlin: 231-1.8.21-IJ9011.34
Current Desktop: GNOME


reporter:       libreport-2.17.10
type:           CCpp
reason:         ibus-x11 killed by SIGABRT
journald_cursor: s=b54df59cf9494d76b0763e571edf3d3e;i=258d1b;b=2fd464a130e04544bde07e7e67e43696;m=7d7765a2;t=5fd814ad0dff9;x=f1e9284d19373652
executable:     /usr/libexec/ibus-x11
cmdline:        /usr/libexec/ibus-x11
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.SettingsDaemon.XSettings.service
rootdir:        /
uid:            1000
kernel:         6.3.5-200.fc38.x86_64
package:        ibus-1.5.28-5.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: ibus_input_context_set_cursor_location

Comment 9 Lee Dan 2023-09-08 02:25:57 UTC
ibus crashes occasionally when input random chinese text in android studio with ibus-libpinyin

Android Studio Giraffe | 2022.3.1 Patch 1
Build #AI-223.8836.35.2231.10671973, built on August 17, 2023
Runtime version: 17.0.6+0-17.0.6b829.9-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.


reporter:       libreport-2.17.11
type:           CCpp
reason:         ibus-x11 killed by SIGABRT
journald_cursor: s=b9830f8ccac14debadeb385030602c18;i=e4127;b=d14cdf0d994e4fdba8f932072b8befe2;m=546591e6;t=604cf0d01fd1d;x=374b529981437b04
executable:     /usr/libexec/ibus-x11
cmdline:        /usr/libexec/ibus-x11
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.SettingsDaemon.XSettings.service
rootdir:        /
uid:            1000
kernel:         6.4.13-200.fc38.x86_64
package:        ibus-1.5.28-6.fc38
runlevel:       N 5
dso_list:       /usr/libexec/ibus-x11 ibus-1.5.28-6.fc38.x86_64 (Fedora Project) 1689351689
backtrace_rating: 4
crash_function: ibus_input_context_set_cursor_location

Comment 10 fujiwara 2023-09-08 03:26:54 UTC
(In reply to Lee Dan from comment #9)
> ibus crashes occasionally when input random chinese text in android studio
> with ibus-libpinyin
> 
> Android Studio Giraffe | 2022.3.1 Patch 1
> Build #AI-223.8836.35.2231.10671973, built on August 17, 2023
> Runtime version: 17.0.6+0-17.0.6b829.9-10027231 amd64
> VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
> 
> 
> reporter:       libreport-2.17.11
> type:           CCpp
> reason:         ibus-x11 killed by SIGABRT
> journald_cursor:
> s=b9830f8ccac14debadeb385030602c18;i=e4127;
> b=d14cdf0d994e4fdba8f932072b8befe2;m=546591e6;t=604cf0d01fd1d;
> x=374b529981437b04
> executable:     /usr/libexec/ibus-x11
> cmdline:        /usr/libexec/ibus-x11
> cgroup:        
> 0::/user.slice/user-1000.slice/user/session.slice/org.gnome.
> SettingsDaemon.XSettings.service
> rootdir:        /
> uid:            1000
> kernel:         6.4.13-200.fc38.x86_64
> package:        ibus-1.5.28-6.fc38
> runlevel:       N 5
> dso_list:       /usr/libexec/ibus-x11 ibus-1.5.28-6.fc38.x86_64 (Fedora
> Project) 1689351689
> backtrace_rating: 4
> crash_function: ibus_input_context_set_cursor_location


Since your ibus is newer than ibus-1.5.28-5.fc38, you need to report a new bug with a backtrace likes:

(In reply to 822028533 from comment #0)
> Truncated backtrace:
> Thread no. 1 (24 frames)
>  #0 ibus_input_context_set_cursor_location at
> /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/src/ibusinputcontext.c:1024
>  #1 _xim_set_cursor_location at
> /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:840
>  #2 _xim_forward_key_event_done at
> /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:475
>  #3 _process_key_event_reply_done at
> /usr/src/debug/ibus-1.5.28-4.fc38.x86_64/client/x11/main.c:565

Comment 11 Lee Dan 2023-11-20 03:27:28 UTC
seems when fast switching input method


reporter:       libreport-2.17.11
type:           CCpp
reason:         ibus-x11 killed by SIGABRT
journald_cursor: s=30c7d35f84464384a1ecd61ba129b906;i=1846fd;b=311b76c2d07f4003bdfcd0673c90058c;m=822bfeb68;t=60a5709242b27;x=c6bb73db6bb32abf
executable:     /usr/libexec/ibus-x11
cmdline:        /usr/libexec/ibus-x11
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/org.gnome.SettingsDaemon.XSettings.service
rootdir:        /
uid:            1000
kernel:         6.5.10-200.fc38.x86_64
package:        ibus-1.5.28-6.fc38
runlevel:       N 5
dso_list:       /usr/libexec/ibus-x11 ibus-1.5.28-6.fc38.x86_64 (Fedora Project) 1689351689
backtrace_rating: 4
crash_function: ibus_input_context_set_cursor_location
comment:        seems when fast switching input method