Very long strart of GTK applications

Hello,

After the last update several days ago I faced with problem that some applications, such as Firefox, Telegram Desktop and lot of GKT applications such as mousepad, gnome-calculator are taking very much time to start. E.g. I run mousepad and it takes about 30s to appear a window.

I used strace -k to search for system call the applications stucks. It’s a poll.

Here a backtrace of stuck point of the gnome-calculator:

poll([{fd=12, events=POLLIN}], 1, 24994) = 0 (Timeout)
 > /usr/lib/libc.so.6(poll+0x4f) [0xfdc0f]
 > /usr/lib/libglib-2.0.so.0.7600.4(g_io_channel_new_file+0x11df) [0xb7c2f]
 > /usr/lib/libglib-2.0.so.0.7600.4(g_main_loop_run+0x6f) [0x59fef]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_dbus_proxy_set_interface_info+0x162e) [0x115efe]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_initable_new_valist+0x57) [0x75447]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_initable_new+0x9e) [0x7552e]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_dbus_proxy_new_sync+0xec) [0x11612c]
 > /usr/lib/libgtk-4.so.1.1000.4(gtk_print_unix_dialog_get_type+0x224f) [0x30525f]
 > /usr/lib/libgtk-4.so.1.1000.4(gtk_print_unix_dialog_set_manual_capabilities+0x1a1f) [0x30c24f]
 > /usr/lib/libgtk-4.so.1.1000.4(gtk_application_set_accels_for_action+0x694) [0xbb314]
 > /usr/lib/libadwaita-1.so.0(adw_action_row_activate+0x29e) [0x2e18e]
 > /usr/bin/gnome-calculator(math_buttons_set_mode+0xd0a) [0x215da]
 > /usr/lib/libgobject-2.0.so.0.7600.4(g_signal_emit_valist+0x1209) [0x33bc9]
 > /usr/lib/libgobject-2.0.so.0.7600.4(g_signal_emit+0x94) [0x33d34]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_application_register+0x485) [0xdd575]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_application_register+0xa40) [0xddb30]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_application_run+0x10c) [0xdde6c]
 > /usr/bin/gnome-calculator(main+0xb5) [0x18195]
 > /usr/lib/libc.so.6(__libc_init_first+0x90) [0x23850]
 > /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x2390a]
 > /usr/bin/gnome-calculator(_start+0x25) [0x181f5]

And here is a backtrace of stuck point of the mousepad

poll([{fd=11, events=POLLIN}], 1, 24996) = 0 (Timeout)
 > /usr/lib/libc.so.6(poll+0x4f) [0xfdc0f]
 > /usr/lib/libglib-2.0.so.0.7600.4(g_io_channel_new_file+0x11df) [0xb7c2f]
 > /usr/lib/libglib-2.0.so.0.7600.4(g_main_loop_run+0x6f) [0x59fef]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_dbus_proxy_set_interface_info+0x162e) [0x115efe]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_initable_new_valist+0x57) [0x75447]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_initable_new+0x9e) [0x7552e]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_dbus_proxy_new_sync+0xec) [0x11612c]
 > /usr/lib/libgtk-3.so.0.2406.32(gtk_socket_add_id+0x1caf) [0x40099f]
 > /usr/lib/libgtk-3.so.0.2406.32(gtk_socket_add_id+0x7745) [0x406435]
 > /usr/lib/libgtk-3.so.0.2406.32(gtk_application_get_menu_by_id+0x371) [0xab4f1]
 > /usr/lib/libmousepad.so.0.0.0(mousepad_history_init+0x112) [0x25b12]
 > /usr/lib/libgobject-2.0.so.0.7600.4(g_signal_emit_valist+0x1209) [0x33bc9]
 > /usr/lib/libgobject-2.0.so.0.7600.4(g_signal_emit+0x94) [0x33d34]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_application_register+0x485) [0xdd575]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_application_register+0xa40) [0xddb30]
 > /usr/lib/libgio-2.0.so.0.7600.4(g_application_run+0x10c) [0xdde6c]
 > /usr/bin/mousepad(main+0x8f) [0x10af]
 > /usr/lib/libc.so.6(__libc_init_first+0x90) [0x23850]
 > /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x2390a]
 > /usr/bin/mousepad(_start+0x25) [0x10f5]

The common part starts from calling the g_dbus_proxy_new_sync.

Versions:

  • Kernel: 5.10.186-1-MANJARO #1 SMP PREEMPT Wed Jun 28 09:44:56 UTC 2023 x86_64 GNU/Linux
  • glibc: 2.37-3
  • dbus: 1.14.8-1
  • dbus-glib: 0.112-3
  • Mousepad: 0.6.1-2
  • gnome-calculator: 44.0-1

Did anybody faced with suck problem? Are there any ideas what the problem is?

Appreciate your help.

P.S.
I am not sure that “XFCE” is a appropriate section of the forum, because I am running discontinued community edition with Awesome WM, but this distro is highly based on Manjaro XFCE.

pacman -Qs xdg-desktop-portal-gnome && sudo pacman -Rdd xdg-desktop-portal-gnome && sudo pacman -Syu xdg-desktop-portal-gtk || echo "Its something else!"

I think he also have to remove xdg-desktop-portal-gnome besides installing xdg-desktop-portal-gtk? Or i don’t understand the one liner? Or maybe you mean pacman -Rs?

Ah, you are right … I skipped the remove part :stuck_out_tongue:
Thanks.
(fixed now)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.