Description of problem: I typed Ctrl+Shift+e to enter an emoji Version-Release number of selected component: ibus-1.5.16-6.fc26 Additional info: reporter: libreport-2.9.1 backtrace_rating: 3 cmdline: /usr/libexec/ibus-ui-gtk3 crash_function: ibus_emojier_get_selected_string executable: /usr/libexec/ibus-ui-gtk3 journald_cursor: s=fd6df7f5caa34218873213c7811a268a;i=3bc5b;b=d943800e9b9c420ba968c1564b7d3c91;m=7a5738f4e;t=5589b93a965bc;x=334d992dd60e5312 kernel: 4.12.9-300.fc26.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 ibus_emojier_get_selected_string at emojier.c:5622 #1 panel_emojier_focus_commit at panel.c:5597 #2 panel_show_emojier at panel.c:3654 #3 panel_handle_emoji_typing at panel.c:3684 #4 keybinding_manager_event_handler at keybindingmanager.c:687 #5 _keybinding_manager_event_handler_gdk_event_func at keybindingmanager.c:157 #6 _gdk_event_emit at gdkevents.c:73 #12 gtk_main at gtkmain.c:1322 #13 application_run at application.c:201 #14 application_main at application.c:272
Created attachment 1323271 [details] File: backtrace
Created attachment 1323272 [details] File: cgroup
Created attachment 1323273 [details] File: core_backtrace
Created attachment 1323274 [details] File: cpuinfo
Created attachment 1323275 [details] File: dso_list
Created attachment 1323276 [details] File: environ
Created attachment 1323277 [details] File: exploitable
Created attachment 1323278 [details] File: limits
Created attachment 1323279 [details] File: maps
Created attachment 1323280 [details] File: open_fds
Created attachment 1323281 [details] File: proc_pid_status
Created attachment 1323282 [details] File: var_log_messages
I cannot reproduce the backtrace but I think this problem might happen and a patch could avoid it.
The tentative patch is not agreed in upstream. - public string get_selected_string() { + public string? get_selected_string() { + if (!(this is IBusEmojier)) + return null; return m_result; }
Cannot reproduce. Feel free to reopen if anyone can reproduce this issue with "How to reproduce steps".