Bug 31550

Summary: Gajim is broken since upgrade to GTK4
Product: Mageia Reporter: Denis Robel <denis.robel>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: lewyssmith
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: gajim-1.6.1-1.mga9.src.rpm, dino-0.4.0-1.mga9.src.rpm CVE:
Status comment:

Description Denis Robel 2023-02-15 13:57:12 CET
Description of problem:

after the latest cocker upgrades gajim and dino are broken.

Starting ends with segvault

Error code:
[code]
[denis@LAP-Denis ~]$ gajim
No plugin translation path available
14.02.2023 19:20:54 (W) gajim.p.manager            Unable to load manifest: Not a plugin path: /home/denis/.local/share/gajim/plugins/plugin_installer
14.02.2023 19:20:54 (W) gajim.p.manager            Unable to load manifest: Not a plugin path: /home/denis/.local/share/gajim/plugins/locale
14.02.2023 19:20:54 (W) gajim.p.manager            Unable to load manifest: Not a plugin path: /home/denis/.local/share/gajim/plugins/url_image_preview
14.02.2023 19:20:54 (W) gajim.p.manager            Unable to load manifest: Not a plugin path: /home/denis/.local/share/gajim/plugins/plugins_translations
14.02.2023 19:20:54 (W) gajim.p.manager            Unable to load manifest: Not a plugin path: /home/denis/.local/share/gajim/plugins/po
14.02.2023 19:20:54 (W) gajim.p.manager            Error while loading module: No module named 'gajim.gui'
14.02.2023 19:20:54 (E) gajim.c.dbus.system_style  Couldn’t read the color-scheme setting: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.portal.Desktop" does not exist
14.02.2023 19:20:54 (W) gajim.gtk.emoji_data_gtk   Null codepoint for short name "light skin tone", not found
14.02.2023 19:20:54 (W) gajim.gtk.emoji_data_gtk   Null codepoint for short name "medium-light skin tone", not found
14.02.2023 19:20:54 (W) gajim.gtk.emoji_data_gtk   Null codepoint for short name "medium skin tone", not found
14.02.2023 19:20:54 (W) gajim.gtk.emoji_data_gtk   Null codepoint for short name "medium-dark skin tone", not found
14.02.2023 19:20:54 (W) gajim.gtk.emoji_data_gtk   Null codepoint for short name "dark skin tone", not found

(org.gajim.Gajim:1855912): GLib-GIO-ERROR **: 19:20:54.917: Settings schema 'org.gnome.system.proxy' is not installed
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)
[/code]

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Lewis Smith 2023-02-15 20:35:59 CET
Trying this on a Cauldron system (Xfce) up-to-date to yesterday, but not today's bunch, I installed both programs as noted in Source SRPM field.

 $ gajim
No plugin translation path available
creating /home/lewis/.config/gajim directory
creating /home/lewis/.cache/gajim directory
creating /home/lewis/.local/share/gajim directory
creating /home/lewis/.local/share/gajim/cert_store directory
creating /home/lewis/.local/share/gajim/debug directory
creating /home/lewis/.local/share/gajim/plugins_data directory
creating /home/lewis/.config/gajim/pluginsconfig directory
creating /home/lewis/.cache/gajim/plugins_download directory
creating /home/lewis/.cache/gajim/plugins_images directory
creating /home/lewis/.local/share/gajim/plugins directory
creating /home/lewis/.cache/gajim/avatars directory
creating /home/lewis/.cache/gajim/bob directory
creating /home/lewis/.config/gajim/theme directory

(org.gajim.Gajim:16214): Gdk-CRITICAL **: 20:26:31.391: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

but it displayed the GUI OK and that responded sensibly as a first usage.

 $ dino
behaved similarly apparently OK as a first usage.

These are the GTK4 pkgs I seem to have:
gtk4.0-4.9.2-2.mga9
gtk4-update-icon-cache-4.9.2-2.mga9
lib64colord-gtk4-0.3.0-1.mga9
lib64gtk4_1-4.9.2-2.mga9
lib64javascriptcoregtk4.0_18-2.38.4-2.mga9
lib64javascriptcoregtk4.1_0-2.38.4-2.mga9
lib64nma-gtk4_0-1.10.6-1.mga9
lib64portal-gtk4_1-0.6-2.mga9
lib64vte-gtk4_2.91_0-0.70.2-2.mga9
lib64webkit2gtk4.0_37-2.38.4-2.mga9
lib64webkit2gtk4.1_0-2.38.4-2.mga9
webkit2gtk4.0-2.38.4-2.mga9
webkit2gtk4.1-2.38.4-2.mga9

I will try the two applications again after the current updates are done.

Source RPM: (none) => gajim-1.6.1-1.mga9.src.rpm, dino-0.4.0-1.mga9.src.rpm
Ever confirmed: 1 => 0
Status: NEW => UNCONFIRMED

Comment 2 Lewis Smith 2023-02-15 20:45:15 CET
After the latest updates, but not re-booted for the new kernel, no crashes again:

$ gajim
No plugin translation path available
(org.gajim.Gajim:98343): Gdk-CRITICAL **: 20:39:41.109: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

Quitting the initial GUI left it in Systray, and a running process:
 $ ps ax | grep gajim
  98343 pts/0    Sl+    0:04 /usr/bin/python3 -s /usr/bin/gajim

 $ dino
seemed to work as before, no console output at all.

CC: (none) => lewyssmith

Comment 3 Jani Välimaa 2023-02-16 19:12:48 CET
Probably relative of bug 31565, and caused by a glib2.0 2.75.2 which was removed from the mirrors and reverted back to 2.74.1, and later upgraded to 2.74.5.

What's the output of:
$ rpm -qa glib2.0-common
Comment 4 Lewis Smith 2023-02-16 21:26:00 CET
For myself,
 glib2.0-common-2.75.2-1.mga9
so I am not seeing the downgrade. Cauldron is showing
 glib2.0-2.74.5-3.mga9.src.rpm
Can/should I try the downgrade with
 urpmi --downgrade glib2.0-2.74.5-3

@Denis Please reply on this.
Comment 5 Denis Robel 2023-02-16 22:59:29 CET
(In reply to Lewis Smith from comment #4)
> For myself,
>  glib2.0-common-2.75.2-1.mga9
> so I am not seeing the downgrade. Cauldron is showing
>  glib2.0-2.74.5-3.mga9.src.rpm
> Can/should I try the downgrade with
>  urpmi --downgrade glib2.0-2.74.5-3
> 
> @Denis Please reply on this.

after downgrading it's working again.

Thank you for your advises.
Comment 6 Lewis Smith 2023-02-17 21:41:55 CET
Thank you for your +ve feedback.

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => FIXED