xfce4-session segmentation faults after glib2 update
Hi. I am an Arch Linux user (on a very old Dell laptop), and since I updated the Arch glib2 package to 2.76.0-1 my xfce4-session crashes after a few minutes. There are no clear triggers, I do not need to put the system under any load for example. I posted details about my dumped cores to the Arch Linux forum: https://bbs.archlinux.org/viewtopic.php?id=284285
I already created an issue at the GNOME Gtilab: https://gitlab.gnome.org/GNOME/glib/-/issues/2941 – it was suggested there that I report to you instead. As I’m not a developer, I can only hope that one side or the other will be able to make sense of what is happening. Of course I’ll do my best to provide any further details you may need.
Backtrace from Arch forum for reference:
Core was generated by `xfce4-session'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 remove_clients_for_connection (service_name=0x7fb178013690 ":1.91383", manager=0x56018cf30010)
at /usr/src/debug/xfce4-session/xfce4-session-4.18.1/xfce4-session/xfsm-manager.c:2079
2079 XfsmClient *client = XFSM_CLIENT (lp->data);
[Current thread is 1 (Thread 0x7fb1921b49c0 (LWP 499228))]
(gdb) bt
#0 remove_clients_for_connection (service_name=0x7fb178013690 ":1.91383", manager=0x56018cf30010)
at /usr/src/debug/xfce4-session/xfce4-session-4.18.1/xfce4-session/xfsm-manager.c:2079
#1 on_name_owner_notify
(connection=<optimized out>, sender_name=<optimized out>, object_path=<optimized out>, interface_name=<optimized out>, signal_name=<optimized out>, parameters=<optimized out>, user_data=0x56018cf30010)
at /usr/src/debug/xfce4-session/xfce4-session-4.18.1/xfce4-session/xfsm-manager.c:2104
#2 0x00007fb193650f68 in emit_signal_instance_in_idle_cb (data=0x7fb1780123c0) at ../glib/gio/gdbusconnection.c:3800
#3 0x00007fb193400afb in g_main_dispatch (context=0x56018ceca460) at ../glib/glib/gmain.c:3460
#4 g_main_context_dispatch (context=0x56018ceca460) at ../glib/glib/gmain.c:4200
#5 0x00007fb19345d5d9 in g_main_context_iterate.constprop.0 (context=0x56018ceca460, block=1, dispatch=1, self=<optimized out>)
at ../glib/glib/gmain.c:4276
#6 0x00007fb1934000cf in g_main_loop_run (loop=0x56018cf9c430) at ../glib/glib/gmain.c:4479
#7 0x00007fb193bd8e4f in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#8 0x000056018c071188 in main (argc=<optimized out>, argv=<optimized out>)
at /usr/src/debug/xfce4-session/xfce4-session-4.18.1/xfce4-session/main.c:369
Edited by Gaël Bonithon