From a9da1c08f3f28d6b673d74decefff96153b65883 Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: May 23 2022 13:14:12 +0000 Subject: Resolves: #1936777 abrt ibus_bus_connect_async(): ibus-x11 --- diff --git a/ibus-1385349-segv-bus-proxy.patch b/ibus-1385349-segv-bus-proxy.patch index 91ca4a7..7a2b140 100644 --- a/ibus-1385349-segv-bus-proxy.patch +++ b/ibus-1385349-segv-bus-proxy.patch @@ -1,6 +1,6 @@ -From 41c325dfb32269c9aadfeedb4df44656aac4d883 Mon Sep 17 00:00:00 2001 +From fd69784c0ed45fe11b801f3a563231735920896a Mon Sep 17 00:00:00 2001 From: fujiwarat -Date: Fri, 20 Nov 2020 09:53:54 +0900 +Date: Mon, 23 May 2022 21:50:16 +0900 Subject: [PATCH] Fix SEGV in bus_panel_proxy_focus_in() rhbz#1350291 SEGV in BUS_IS_CONNECTION(skip_connection) in @@ -21,7 +21,8 @@ If the mutex is not unlocked, g_mutex_clear() causes assert. rhbz#1767691 SEGV in client/x11/main.c:_sighandler(). Do not call atexit functions in _sighandler(). -rhbz#1795499 SEGV in ibus_bus_get_bus_address() because of no _bus->priv. +rhbz#1795499 rhbz#1936777 SEGV in ibus_bus_get_bus_address() because of +no _bus->priv. _changed_cb() should not be called after ibus_bus_destroy() is called. rhbz#1771238 SEGV in assert(m_loop == null) in switcher.vala. @@ -43,10 +44,10 @@ BUG=rhbz#1797120 bus/dbusimpl.c | 47 ++++++++++++++++++++++++--- bus/engineproxy.c | 51 ++++++++++++++++++++++------- client/x11/main.c | 8 ++++- - src/ibusbus.c | 5 +++ + src/ibusbus.c | 6 ++++ ui/gtk3/extension.vala | 4 +++ ui/gtk3/switcher.vala | 73 +++++++++++++++++++++++++----------------- - 6 files changed, 141 insertions(+), 47 deletions(-) + 6 files changed, 142 insertions(+), 47 deletions(-) diff --git a/bus/dbusimpl.c b/bus/dbusimpl.c index 59787a80..af2fbde2 100644 @@ -238,10 +239,10 @@ index 2d98995c..bbbe5532 100644 /* FIXME: set destroy callback ? */ g_task_return_pointer (data->task, engine, NULL); diff --git a/client/x11/main.c b/client/x11/main.c -index c9ee174d..768b91f0 100644 +index fe30c1d6..49595b6d 100644 --- a/client/x11/main.c +++ b/client/x11/main.c -@@ -40,6 +40,7 @@ +@@ -45,6 +45,7 @@ #include #include #include @@ -249,7 +250,7 @@ index c9ee174d..768b91f0 100644 #include -@@ -1104,7 +1105,12 @@ _atexit_cb () +@@ -1121,7 +1122,12 @@ _atexit_cb () static void _sighandler (int sig) { @@ -264,10 +265,10 @@ index c9ee174d..768b91f0 100644 static void diff --git a/src/ibusbus.c b/src/ibusbus.c -index b7ffbb47..668c8a26 100644 +index 47400cb8..c9fbe492 100644 --- a/src/ibusbus.c +++ b/src/ibusbus.c -@@ -689,6 +689,11 @@ ibus_bus_destroy (IBusObject *object) +@@ -708,6 +708,12 @@ ibus_bus_destroy (IBusObject *object) _bus = NULL; if (bus->priv->monitor) { @@ -276,6 +277,7 @@ index b7ffbb47..668c8a26 100644 + */ + g_signal_handlers_disconnect_by_func (bus->priv->monitor, + (GCallback) _changed_cb, bus); ++ g_file_monitor_cancel (bus->priv->monitor); g_object_unref (bus->priv->monitor); bus->priv->monitor = NULL; } @@ -399,5 +401,5 @@ index a4529c88..29a70dd5 100644 #if VALA_0_34 seat.ungrab(); -- -2.24.1 +2.35.1 diff --git a/ibus.spec b/ibus.spec index e145dd9..3805239 100644 --- a/ibus.spec +++ b/ibus.spec @@ -39,7 +39,7 @@ Name: ibus Version: 1.5.26 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Intelligent Input Bus for Linux OS License: LGPLv2+ URL: https://github.com/ibus/%name/wiki @@ -54,6 +54,7 @@ Patch1: %{name}-1385349-segv-bus-proxy.patch # Use mutter window manager in RHEL CI Patch2: %{name}-xx-desktop-testing-mutter.patch %endif +Patch3: ibus-xx-debug.patch BuildRequires: gettext-devel BuildRequires: libtool @@ -522,6 +523,9 @@ dconf update || : %{_datadir}/installed-tests/ibus %changelog +* Mon May 23 2022 Takao Fujiwara - 1.5.26-5 +- Resolves: #1936777 abrt ibus_bus_connect_async(): ibus-x11 + * Wed Apr 20 2022 Takao Fujiwara - 1.5.26-4 - Resolves: #2076596 Disable XKB engines in Plasma Wayland