Skip to content

The thunar “GLib-GIO:ERROR” after glib2 2.74.3-1 update to glib2 2.74.4-1

Experience:

The thunar file manager is shutting down immediately after start with the error:


❯ thunar
**
GLib-GIO:ERROR:../glib/gio/gmenuexporter.c:275:g_menu_exporter_menu_items_changed: assertion failed: (added < G_MENU_EXPORTER_MAX_SECTION_SIZE)
Bail out! GLib-GIO:ERROR:../glib/gio/gmenuexporter.c:275:g_menu_exporter_menu_items_changed: assertion failed: (added < G_MENU_EXPORTER_MAX_SECTION_SIZE)
Aborted (core dumped)

Steps to reproduce:

  1. Upgrade glib2.
  2. Reboot.
  3. Open thunar.

Environment:

EndeavourOS build 2022.09.10 Gtk 3.24.36 Kernel 6.1.1-arch1-1 XFCE 4.18 Arc Dark Theme with vala-plugin-appmenu

What I have already tried:

  1. Reinstall OS from scratch. Thunar was working for 1 day. On the second day the same error.
  2. Trying to find the solution on “gmenuexporter github” page. Without any clues.
  3. Reinstall thunar with all dependencies.
  4. Tried sudo thunar and it works. But do not know what to derive from it. I can't use it all the time in a superuser mode.