I have xfdesktop-4.13.1 installed on Gentoo Linux. I have several core dumps from recent days. The stacktraces seems always same, pointing to glib-2.52.3. I think the crashes happen when I attach an external monitor and raise 'xfce4-display-settings --minimal' via Fn+F1. # gdb /usr/bin/xfdesktop core.xfdesktop.10007 GNU gdb (Gentoo 7.12 vanilla) 7.12 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/xfdesktop...(no debugging symbols found)...done. [New LWP 10007] [New LWP 10009] [New LWP 10008] [New LWP 11270] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `xfdesktop --display :0.0 --sm-client-id 23b4192bd-0afe-4c1a-968e-3c42445ed2c9'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f2d43df3895 in g_type_check_instance_is_fundamentally_a (type_instance=0x690027726564616f, fundamental_type=80) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gobject/gtype.c:4023 4023 if (!type_instance || !type_instance->g_class) [Current thread is 1 (Thread 0x7f2d46b1c900 (LWP 10007))] (gdb) where #0 0x00007f2d43df3895 in g_type_check_instance_is_fundamentally_a (type_instance=0x690027726564616f, fundamental_type=80) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gobject/gtype.c:4023 #1 0x00007f2d43dd9a55 in g_object_ref (_object=0x690027726564616f) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gobject/gobject.c:3051 #2 0x00007f2d440bdbf3 in g_task_new (source_object=0x1c818f0, cancellable=0x690027726564616f, callback=0x7f2d44085813 <async_ready_callback_wrapper>, callback_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gtask.c:695 #3 0x00007f2d440873ab in g_input_stream_real_read_async (stream=0x1c818f0, buffer=0x64616f4c66756278, count=32768, io_priority=300, cancellable=0x690027726564616f, callback=0x7f2d44085813 <async_ready_callback_wrapper>, user_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/ginputstream.c:1383 #4 0x00007f2d44085b29 in g_input_stream_read_async (stream=0x1c818f0, buffer=0x64616f4c66756278, count=32768, io_priority=300, cancellable=0x690027726564616f, callback=0x41fdf0 <xfce_backdrop_file_input_stream_ready_cb>, user_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/ginputstream.c:633 #5 0x000000000041fe8d in xfce_backdrop_file_input_stream_ready_cb () #6 0x00007f2d44085869 in async_ready_callback_wrapper (source_object=0x1c818f0, res=0x199d360, user_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/ginputstream.c:532 #7 0x00007f2d440be77f in g_task_return_now (task=0x199d360) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gtask.c:1145 #8 0x00007f2d440be7c7 in complete_in_idle_cb (task=0x199d360) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gtask.c:1159 #9 0x00007f2d438d3ac4 in g_idle_dispatch (source=0x7f2d3000ffb0, callback=0x7f2d440be7af <complete_in_idle_cb>, user_data=0x199d360) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:5586 #10 0x00007f2d438d0f4c in g_main_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234 #11 0x00007f2d438d1e72 in g_main_context_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 #12 0x00007f2d438d2066 in g_main_context_iterate (context=0x1930650, block=1, dispatch=1, self=0x1927260) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 #13 0x00007f2d438d24a1 in g_main_loop_run (loop=0x1a44bb0) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4168 #14 0x00007f2d45090e65 in gtk_main () from /usr/lib64/libgtk-3.so.0 #15 0x00000000004279c2 in xfdesktop_application_start () #16 0x0000000000427d64 in cb_wait_for_window_manager_destroyed () #17 0x00007f2d438cf605 in g_source_callback_unref (cb_data=0x19a2060) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:1566 #18 0x00007f2d438cedab in g_source_destroy_internal (source=0x19a21f0, context=0x1930650, have_lock=1) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:1255 #19 0x00007f2d438d1037 in g_main_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3258 #20 0x00007f2d438d1e72 in g_main_context_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 #21 0x00007f2d438d2066 in g_main_context_iterate (context=0x1930650, block=1, dispatch=1, self=0x1927260) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 #22 0x00007f2d438d213e in g_main_context_iteration (context=0x1930650, may_block=1) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033 #23 0x00007f2d440dba5f in g_application_run (application=0x192d150, argc=5, argv=0x7ffda935d188) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gapplication.c:2381 #24 0x0000000000417e02 in main () (gdb) bt full #0 0x00007f2d43df3895 in g_type_check_instance_is_fundamentally_a (type_instance=0x690027726564616f, fundamental_type=80) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gobject/gtype.c:4023 node = 0x1c0b2e0 #1 0x00007f2d43dd9a55 in g_object_ref (_object=0x690027726564616f) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gobject/gobject.c:3051 object = 0x690027726564616f old_val = 4 __FUNCTION__ = "g_object_ref" #2 0x00007f2d440bdbf3 in g_task_new (source_object=0x1c818f0, cancellable=0x690027726564616f, callback=0x7f2d44085813 <async_ready_callback_wrapper>, callback_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gtask.c:695 task = 0x199d6a0 source = 0x1c401a0 #3 0x00007f2d440873ab in g_input_stream_real_read_async (stream=0x1c818f0, buffer=0x64616f4c66756278, count=32768, io_priority=300, cancellable=0x690027726564616f, callback=0x7f2d44085813 <async_ready_callback_wrapper>, user_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/ginputstream.c:1383 task = 0x1c818f0 op = 0x1c401a0 #4 0x00007f2d44085b29 in g_input_stream_read_async (stream=0x1c818f0, buffer=0x64616f4c66756278, count=32768, io_priority=300, cancellable=0x690027726564616f, callback=0x41fdf0 <xfce_backdrop_file_input_stream_ready_cb>, user_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/ginputstream.c:633 class = 0x1a3c6e0 error = 0x0 __FUNCTION__ = "g_input_stream_read_async" #5 0x000000000041fe8d in xfce_backdrop_file_input_stream_ready_cb () No symbol table info available. #6 0x00007f2d44085869 in async_ready_callback_wrapper (source_object=0x1c818f0, res=0x199d360, user_data=0x19fde50) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/ginputstream.c:532 stream = 0x1c818f0 #7 0x00007f2d440be77f in g_task_return_now (task=0x199d360) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gtask.c:1145 No locals. #8 0x00007f2d440be7c7 in complete_in_idle_cb (task=0x199d360) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gtask.c:1159 No locals. #9 0x00007f2d438d3ac4 in g_idle_dispatch (source=0x7f2d3000ffb0, callback=0x7f2d440be7af <complete_in_idle_cb>, user_data=0x199d360) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:5586 again = 1 #10 0x00007f2d438d0f4c in g_main_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234 dispatch = 0x7f2d438d3a78 <g_idle_dispatch> prev_source = 0x0 was_in_call = 0 user_data = 0x199d360 callback = 0x7f2d440be7af <complete_in_idle_cb> cb_funcs = 0x7f2d43baba80 <g_source_callback_funcs> cb_data = 0x7f2d30010f80 need_destroy = 2 source = 0x7f2d3000ffb0 current = 0x1999e50 i = 0 __FUNCTION__ = "g_main_dispatch" #11 0x00007f2d438d1e72 in g_main_context_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 No locals. #12 0x00007f2d438d2066 in g_main_context_iterate (context=0x1930650, block=1, dispatch=1, self=0x1927260) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 max_priority = 300 timeout = 0 some_ready = 1 nfds = 6 allocated_nfds = 6 fds = 0x1bf6200 #13 0x00007f2d438d24a1 in g_main_loop_run (loop=0x1a44bb0) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4168 self = 0x1927260 __FUNCTION__ = "g_main_loop_run" #14 0x00007f2d45090e65 in gtk_main () from /usr/lib64/libgtk-3.so.0 No symbol table info available. #15 0x00000000004279c2 in xfdesktop_application_start () No symbol table info available. #16 0x0000000000427d64 in cb_wait_for_window_manager_destroyed () No symbol table info available. #17 0x00007f2d438cf605 in g_source_callback_unref (cb_data=0x19a2060) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:1566 callback = 0x19a2060 #18 0x00007f2d438cedab in g_source_destroy_internal (source=0x19a21f0, context=0x1930650, have_lock=1) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:1255 tmp_list = 0x19a21f0 old_cb_data = 0x19a2060 old_cb_funcs = 0x7f2d43baba80 <g_source_callback_funcs> #19 0x00007f2d438d1037 in g_main_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3258 dispatch = 0x7f2d438d2df3 <g_timeout_dispatch> prev_source = 0x0 was_in_call = 0 user_data = 0x1993360 callback = 0x4276d0 <cb_wait_for_window_manager> cb_funcs = 0x7f2d43baba80 <g_source_callback_funcs> cb_data = 0x19a2060 need_destroy = 1 source = 0x19a21f0 current = 0x1999e50 i = 0 __FUNCTION__ = "g_main_dispatch" #20 0x00007f2d438d1e72 in g_main_context_dispatch (context=0x1930650) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 No locals. #21 0x00007f2d438d2066 in g_main_context_iterate (context=0x1930650, block=1, dispatch=1, self=0x1927260) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 max_priority = 2147483647 timeout = 50 some_ready = 1 nfds = 3 allocated_nfds = 3 fds = 0x192c880 #22 0x00007f2d438d213e in g_main_context_iteration (context=0x1930650, may_block=1) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033 ---Type <return> to continue, or q <return> to quit--- retval = 1 #23 0x00007f2d440dba5f in g_application_run (application=0x192d150, argc=5, argv=0x7ffda935d188) at /scratch/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gio/gapplication.c:2381 arguments = 0x1930570 status = 0 context = 0x1930650 acquired_context = 1 __FUNCTION__ = "g_application_run" #24 0x0000000000417e02 in main () No symbol table info available. (gdb)
Can you test with a xfdesktop debug build (compile with --enable-debug), then xfdesktop -e , and try to trigger the crash ? Can you also test with xfdesktop git master ? I don't have a 2nd screen to test the bug.
I know this bug is older than Bug 14609, but I'm closing this because the latter has a bit more of information and is already flagged as a 4.14 blocker. *** This bug has been marked as a duplicate of bug 14609 ***