FS#76413 - [glib2] 2.74.0 and newer breaks XFCE and most GUI applications (unable to start)
Attached to Project:
Arch Linux
Opened by Jimi Bove (Jimi-James) - Thursday, 03 November 2022, 23:42 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 16 November 2022, 10:05 GMT
Opened by Jimi Bove (Jimi-James) - Thursday, 03 November 2022, 23:42 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 16 November 2022, 10:05 GMT
|
Details
After days of troubleshooting I've figured out that, on this
specific system,upgrading glib2 to 2.74.0 or any newer
version (from the newest working version, 2.72.3-3) results
in XFCE being unable to start from either lightdm or SDDM or
even just plain startx. I am still able to start KDE from
SDDM with no issues--only XFCE is affected.
It crashes instantly and silently. I can't spot any meaningful error message in either journalctl -u sddm.service or /var/log/Xorg.0.log, though I'm happy to share both logs. I'm on Arch Linux, LTS kernel, and this issue seems to be consistent on every recent version of the LTS kernel. My unique hardware combination (which I imagine must have something to do with this, since I can't find any mention of this issue online) is: AMD Ryzen R7 2700X CPU, R9 Fury 4GB GPU, and an X470 chipset motherboard. Possibly related behavior is, whenever I upgrade glib2 to a problematic version, it's not just that I cannot start XFCE on the following boot. Also, immediately on the current session as soon as the package is upgraded, most GUI applications including all GTK-based applications fail silently to open. I've gone on #xfce-dev to report this and ask which component of XFCE I should report this to. They suggested this might not be specifically an XFCE bug, thanks to the previous paragraph. I'm also submitting this bug upstream in case that's where the problem is: |
This task depends upon
Closed by Antonio Rojas (arojas)
Wednesday, 16 November 2022, 10:05 GMT
Reason for closing: Not a bug
Wednesday, 16 November 2022, 10:05 GMT
Reason for closing: Not a bug
Also relevant: 3 seconds after xfce4-session's termination, /usr/lib/xdg-desktop-portal-kde terminates with SIGABRT if using SDDM, or /usr/bin/lightdm-gtk-greeter with SIGTRAP if using lightdm.
The xfce4-session coredump ZST is >2MB, so here's a link to its upload on the GLib report: https://gitlab.gnome.org/GNOME/glib/uploads/c9b210943ed3be286567b758b493aadd/core.xfce4-session.1000.63382e1a229846a8a663e1bf59b1af5a.1469.1667516249000000.zst
coredumpctl-info-geany (11.4 KiB)
coredumpctl-info-xfce4-session (23.9 KiB)
1. ensure your system is fully up-to-date - without this the symbols won't work
2. run gdb like this:
`DEBUGINFOD_URLS="https://debuginfod.archlinux.org/" coredumpctl gdb'
3. Answer y when it asks to enable debuginfod for this session
4. `set logging enabled on'
5. `bt full'
Post gdb.txt
coredumpctl-info-geany (3.9 KiB)
coredumpctl-geany-gdb.txt (10.4 KiB)
However, I really hate the modern file chooser, so I still need to try to fix this. ~~So I've filed this bug with gtk3-classic instead~~ it has already been filed and solved: https://github.com/lah7/gtk3-classic/issues/79