You are not logged in.

#1 2025-03-16 11:51:30

fredbezies
Member
Registered: 2011-07-28
Posts: 372

Since gtk4 update to version 4.18.x, Gnome Console crashes on start

Hello.

I noticed that Gnome-console starting is broken since gtk 4.18 (or one of its component?) landed on extra-testing.

Here is the error log I got:

(kgx:4712): Gdk-ERROR **: 12:50:48.150: gdk_display_manager_get() was called before gtk_init()
[1]    4712 trace trap (core dumped)  kgx

I tried downgrading gtk4, but the bug is still alive. Any idea?

Thanks!

Offline

#2 2025-03-16 12:43:03

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,088
Website

Re: Since gtk4 update to version 4.18.x, Gnome Console crashes on start

Could you post a backtrace of the crash? https://gitlab.archlinux.org/-/snippets/3742

Offline

#3 2025-03-16 13:00:25

akiirui
Member
Registered: 2019-07-25
Posts: 4

Re: Since gtk4 update to version 4.18.x, Gnome Console crashes on start

gromit wrote:

Could you post a backtrace of the crash? https://gitlab.archlinux.org/-/snippets/3742

Here is backtrace https://fars.ee/9eHB

Offline

#4 2025-03-16 13:08:42

akiirui
Member
Registered: 2019-07-25
Posts: 4

Re: Since gtk4 update to version 4.18.x, Gnome Console crashes on start

Offline

#5 2025-03-17 19:29:43

tekstryder
Member
Registered: 2013-02-14
Posts: 293

Re: Since gtk4 update to version 4.18.x, Gnome Console crashes on start

gnome-console 47.2 was tagged containing the commit that was supposed to fix this:
https://gitlab.gnome.org/GNOME/console/ … 07480cd37e

However, it still crashes, and the developer didn't sound so sure about it...

gnome-console 47.2 release notes wrote:

Includes a small workaround for Gtk deciding to break applications, whilst
this should be sufficient to avoid the crash it is recommended to either use
48.0.1 or patch/downgrade Gtk.

Not much point trying to shoehorn this in, and gnome-console 48.0.1 does indeed resolve the crash with GTK 4.18.x.

Online

#6 2025-03-20 17:30:03

fredbezies
Member
Registered: 2011-07-28
Posts: 372

Re: Since gtk4 update to version 4.18.x, Gnome Console crashes on start

Bug is fixed. Migrating to Gnome 48 - on testing right now - grabbed Gnome Console 48.0.1 which is working.

Offline

Board footer

Powered by FluxBB