! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
dbus-related segfault in xfsettingsd on 'startx' startup
Status:
RESOLVED: WONTFIX
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description inactive 2020-04-18 17:14:16 CEST
This basically never happens, ie. impossible to repro.(?)

dmesg:
Apr 18 15:43:30 Z575 dbus-daemon[1412]: [session uid=1000 pid=1410] Successfully activated service 'org.freedesktop.Notifications'
Apr 18 15:43:30 Z575 dbus-daemon[532]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.18' (uid=1000 pid=1598 comm="/>
Apr 18 15:43:30 Z575 dbus-daemon[532]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Successfully called chroot.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Successfully dropped privileges.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Successfully limited resources.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Running.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Watchdog thread running.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Canary thread running.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Successfully made thread 1598 of process 1598 owned by '1000' high priority at nice level -11.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Supervising 1 threads of 1 processes of 1 users.
Apr 18 15:43:30 Z575 pkexec[1666]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Apr 18 15:43:30 Z575 systemd-journald[255]: Missed 64 kernel messages
Apr 18 15:43:30 Z575 kernel: xfsettingsd[1660]: segfault at 10 ip 00007f6d360c88d8 sp 00007fff61fcd6f0 error 4 in libglib-2.0.so.0.6400.2[7f6d3607c000+88000]
Apr 18 15:43:30 Z575 kernel: Code: 55 41 54 53 48 83 ec 08 48 89 fb 8b 47 18 85 c0 7e 58 49 89 f4 4c 8b 6f 20 4d 85 ed 74 34 4c 89 ef e8 6c 49 fb ff 48 8b 43 58 <4c> 3b 60 10 74 0a 4c 89 60 1>
Apr 18 15:43:30 Z575 kernel: potentially unexpected fatal signal 11.
Apr 18 15:43:30 Z575 kernel: CPU: 3 PID: 1660 Comm: xfsettingsd Kdump: loaded Tainted: G          I       5.6.5-gf07f08b09f05 #91
Apr 18 15:43:30 Z575 kernel: Hardware name: LENOVO Sabine/Torpedo, BIOS 54CN18WW 07/20/2011
Apr 18 15:43:30 Z575 kernel: RIP: 0033:0x7f6d360c88d8
Apr 18 15:43:30 Z575 kernel: Code: 55 41 54 53 48 83 ec 08 48 89 fb 8b 47 18 85 c0 7e 58 49 89 f4 4c 8b 6f 20 4d 85 ed 74 34 4c 89 ef e8 6c 49 fb ff 48 8b 43 58 <4c> 3b 60 10 74 0a 4c 89 60 1>
Apr 18 15:43:30 Z575 kernel: RSP: 002b:00007fff61fcd6f0 EFLAGS: 00010246
Apr 18 15:43:30 Z575 kernel: RAX: 0000000000000000 RBX: 00007f6d24009030 RCX: 0000000000000000
Apr 18 15:43:30 Z575 kernel: RDX: 00007f6d24009048 RSI: 0000000000000000 RDI: 0000558e38fcfe50
Apr 18 15:43:30 Z575 kernel: RBP: 00007fff61fcd710 R08: 00007f6d365d2e60 R09: 0000558e38fab520
Apr 18 15:43:30 Z575 kernel: R10: 00007f6d364d05ca R11: 00007f6d360c8540 R12: 0000000000000000
Apr 18 15:43:30 Z575 kernel: R13: 0000558e38fcfe50 R14: 0000558e38fab680 R15: 00007fff61fcd7d0
Apr 18 15:43:30 Z575 kernel: FS:  00007f6d32e179c0 GS:  0000000000000000
Apr 18 15:43:30 Z575 pkexec[1666]: user: Executing command [USER=root] [TTY=unknown] [CWD=/] [COMMAND=/usr/bin/xfpm-power-backlight-helper --set-brightness-switch 0]
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Supervising 1 threads of 1 processes of 1 users.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Successfully made thread 1677 of process 1598 owned by '1000' RT at priority 5.
Apr 18 15:43:30 Z575 rtkit-daemon[1661]: Supervising 2 threads of 1 processes of 1 users.
Apr 18 15:43:30 Z575 dbus-daemon[1667]: [session uid=1000 pid=1667] Activating service name='org.xfce.Xfconf' requested by ':1.3' (uid=1000 pid=1678 comm="/usr/lib/pulse/gsettings-helper ")
Apr 18 15:43:30 Z575 dbus-daemon[1667]: [session uid=1000 pid=1667] Successfully activated service 'org.xfce.Xfconf'
Apr 18 15:43:31 Z575 user[1756]: Not already root, re-executing '/home/user/bin/cpuvary' as root by using sudo.
Apr 18 15:43:31 Z575 sudo[1749]:     user : TTY=pts/2 ; PWD=/tmp ; USER=root ; COMMAND=/home/user/bin/cpuvary
Apr 18 15:43:31 Z575 sudo[1749]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 18 15:43:31 Z575 sudo[1783]:     root : TTY=pts/2 ; PWD=/tmp ; USER=root ; COMMAND=/usr/bin/tee /sys/devices/system/cpu/cpufreq/boost
Apr 18 15:43:31 Z575 sudo[1783]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 18 15:43:31 Z575 sudo[1783]: pam_unix(sudo:session): session closed for user root
Apr 18 15:43:32 Z575 systemd-coredump[1676]: Process 1660 (xfsettingsd) of user 1000 dumped core.
                                             
                                             Stack trace of thread 1660:
                                             #0  0x00007f6d360c88d8 g_source_set_ready_time (libglib-2.0.so.0 + 0x688d8)
                                             #1  0x00007f6d365d2e7f cancellable_source_cancelled (libgio-2.0.so.0 + 0x128e7f)
                                             #2  0x00007f6d361ab534 _g_closure_invoke_va (libgobject-2.0.so.0 + 0x23534)
                                             #3  0x00007f6d361acc6f g_signal_emit (libgobject-2.0.so.0 + 0x24c6f)
                                             #4  0x00007f6d365d44c9 g_cancellable_cancel (libgio-2.0.so.0 + 0x12a4c9)
                                             #5  0x00007f6d3650e4c7 _g_dbus_worker_close (libgio-2.0.so.0 + 0x644c7)
                                             #6  0x00007f6d365265e7 g_dbus_connection_close (libgio-2.0.so.0 + 0x7c5e7)
                                             #7  0x00007f6d36526770 g_dbus_connection_close_sync (libgio-2.0.so.0 + 0x7c770)
                                             #8  0x0000558e38b6f8b1 main (xfsettingsd + 0x88b1)
                                             #9  0x00007f6d35e970d6 __libc_start_main (libc.so.6 + 0x270d6)
                                             #10 0x0000558e38b6fa7e _start (xfsettingsd + 0x8a7e)
                                             
                                             Stack trace of thread 1671:
                                             #0  0x00007f6d35f67517 __GI___poll (libc.so.6 + 0xf7517)
                                             #1  0x00007f6d360d12fe g_main_context_poll (libglib-2.0.so.0 + 0x712fe)
                                             #2  0x00007f6d360d13d0 g_main_context_iteration (libglib-2.0.so.0 + 0x713d0)
                                             #3  0x00007f6d360d1431 glib_worker_main (libglib-2.0.so.0 + 0x71431)
                                             #4  0x00007f6d360a732e g_thread_proxy (libglib-2.0.so.0 + 0x4732e)
                                             #5  0x00007f6d3604759f start_thread (libpthread.so.0 + 0x959f)
                                             #6  0x00007f6d35f72633 __clone (libc.so.6 + 0x102633)
                                             
                                             Stack trace of thread 1673:
                                             #0  0x00007f6d35f6cf3d syscall (libc.so.6 + 0xfcf3d)
                                             #1  0x00007f6d3607d214 g_mutex_lock_slowpath (libglib-2.0.so.0 + 0x1d214)
                                             #2  0x00007f6d360d103d g_main_context_release (libglib-2.0.so.0 + 0x7103d)
                                             #3  0x00007f6d360d25c0 g_main_context_pop_thread_default (libglib-2.0.so.0 + 0x725c0)
                                             #4  0x00007f6d3656e792 complete_in_idle_cb (libgio-2.0.so.0 + 0xc4792)
                                             #5  0x00007f6d360cf208 g_main_dispatch (libglib-2.0.so.0 + 0x6f208)
                                             #6  0x00007f6d360d1388 g_main_context_iterate (libglib-2.0.so.0 + 0x71388)
                                             #7  0x00007f6d360d2403 g_main_loop_run (libglib-2.0.so.0 + 0x72403)
                                             #8  0x00007f6d36509c7e gdbus_shared_thread_func (libgio-2.0.so.0 + 0x5fc7e)
                                             #9  0x00007f6d360a732e g_thread_proxy (libglib-2.0.so.0 + 0x4732e)
                                             #10 0x00007f6d3604759f start_thread (libpthread.so.0 + 0x959f)
                                             #11 0x00007f6d35f72633 __clone (libc.so.6 + 0x102633)
Apr 18 15:44:28 Z575 gpg-agent[1481]: handler 0x7f92bca5d700 for fd 10 started
Apr 18 15:44:28 Z575 gpg-agent[1481]: handler 0x7f92bca5d700 for fd 10 terminated
Apr 18 15:45:28 Z575 gpg-agent[1481]: handler 0x7f92bd25e700 for fd 10 started
Apr 18 15:45:28 Z575 gpg-agent[1481]: handler 0x7f92bd25e700 for fd 10 terminated
Apr 18 15:46:28 Z575 gpg-agent[1481]: handler 0x7f92bca5d700 for fd 10 started
Apr 18 15:46:28 Z575 gpg-agent[1481]: handler 0x7f92bca5d700 for fd 10 terminated
Apr 18 15:47:28 Z575 gpg-agent[1481]: handler 0x7f92bd25e700 for fd 10 started
Apr 18 15:47:28 Z575 gpg-agent[1481]: handler 0x7f92bd25e700 for fd 10 terminated
Apr 18 15:48:28 Z575 gpg-agent[1481]: handler 0x7f92bca5d700 for fd 10 started
Apr 18 15:48:28 Z575 gpg-agent[1481]: handler 0x7f92bca5d700 for fd 10 terminated
Apr 18 15:49:28 Z575 gpg-agent[1481]: handler 0x7f92bd25e700 for fd 10 started
Apr 18 15:49:28 Z575 gpg-agent[1481]: handler 0x7f92bd25e700 for fd 10 terminated
Apr 18 15:50:09 Z575 systemd-journald[255]: Missed 28 kernel messages

but that's kinda useless, so here's stacktrace with code, after the fact:
$ coredumpctl  -r gdb
           PID: 1660 (xfsettingsd)
           UID: 1000 (user)
           GID: 1000 (user)
        Signal: 11 (SEGV)
     Timestamp: Sat 2020-04-18 15:43:30 CEST (1h 7min ago)
  Command Line: xfsettingsd
    Executable: /usr/bin/xfsettingsd
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (user)
       Boot ID: 8f3eb7e176054685877b3c5373203b22
    Machine ID: d5085e3ae51043e897b15a1939322324
      Hostname: Z575
       Storage: /var/lib/systemd/coredump/core.xfsettingsd.1000.8f3eb7e176054685877b3c5373203b22.1660.1587217410000000000000
       Message: Process 1660 (xfsettingsd) of user 1000 dumped core.
                
                Stack trace of thread 1660:
                #0  0x00007f6d360c88d8 g_source_set_ready_time (libglib-2.0.so.0 + 0x688d8)
                #1  0x00007f6d365d2e7f cancellable_source_cancelled (libgio-2.0.so.0 + 0x128e7f)
                #2  0x00007f6d361ab534 _g_closure_invoke_va (libgobject-2.0.so.0 + 0x23534)
                #3  0x00007f6d361acc6f g_signal_emit (libgobject-2.0.so.0 + 0x24c6f)
                #4  0x00007f6d365d44c9 g_cancellable_cancel (libgio-2.0.so.0 + 0x12a4c9)
                #5  0x00007f6d3650e4c7 _g_dbus_worker_close (libgio-2.0.so.0 + 0x644c7)
                #6  0x00007f6d365265e7 g_dbus_connection_close (libgio-2.0.so.0 + 0x7c5e7)
                #7  0x00007f6d36526770 g_dbus_connection_close_sync (libgio-2.0.so.0 + 0x7c770)
                #8  0x0000558e38b6f8b1 main (xfsettingsd + 0x88b1)
                #9  0x00007f6d35e970d6 __libc_start_main (libc.so.6 + 0x270d6)
                #10 0x0000558e38b6fa7e _start (xfsettingsd + 0x8a7e)
                
                Stack trace of thread 1671:
                #0  0x00007f6d35f67517 __GI___poll (libc.so.6 + 0xf7517)
                #1  0x00007f6d360d12fe g_main_context_poll (libglib-2.0.so.0 + 0x712fe)
                #2  0x00007f6d360d13d0 g_main_context_iteration (libglib-2.0.so.0 + 0x713d0)
                #3  0x00007f6d360d1431 glib_worker_main (libglib-2.0.so.0 + 0x71431)
                #4  0x00007f6d360a732e g_thread_proxy (libglib-2.0.so.0 + 0x4732e)
                #5  0x00007f6d3604759f start_thread (libpthread.so.0 + 0x959f)
                #6  0x00007f6d35f72633 __clone (libc.so.6 + 0x102633)
                
                Stack trace of thread 1673:
                #0  0x00007f6d35f6cf3d syscall (libc.so.6 + 0xfcf3d)
                #1  0x00007f6d3607d214 g_mutex_lock_slowpath (libglib-2.0.so.0 + 0x1d214)
                #2  0x00007f6d360d103d g_main_context_release (libglib-2.0.so.0 + 0x7103d)
                #3  0x00007f6d360d25c0 g_main_context_pop_thread_default (libglib-2.0.so.0 + 0x725c0)
                #4  0x00007f6d3656e792 complete_in_idle_cb (libgio-2.0.so.0 + 0xc4792)
                #5  0x00007f6d360cf208 g_main_dispatch (libglib-2.0.so.0 + 0x6f208)
                #6  0x00007f6d360d1388 g_main_context_iterate (libglib-2.0.so.0 + 0x71388)
                #7  0x00007f6d360d2403 g_main_loop_run (libglib-2.0.so.0 + 0x72403)
                #8  0x00007f6d36509c7e gdbus_shared_thread_func (libgio-2.0.so.0 + 0x5fc7e)
                #9  0x00007f6d360a732e g_thread_proxy (libglib-2.0.so.0 + 0x4732e)
                #10 0x00007f6d3604759f start_thread (libpthread.so.0 + 0x959f)
                #11 0x00007f6d35f72633 __clone (libc.so.6 + 0x102633)

GNU gdb (GDB) 10.0.50.20200302-git
Copyright (C) 2020 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:
<http://www.gnu.org/software/gdb/bugs/>.
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"...
State of pagination is off.
Reading symbols from /usr/bin/xfsettingsd...
[New LWP 1660]
[New LWP 1671]
[New LWP 1673]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `xfsettingsd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f6d360c88d8 in g_source_set_ready_time (source=0x7f6d24009030, ready_time=0) at ../glib/glib/gmain.c:1942
1942	../glib/glib/gmain.c: No such file or directory.
[Current thread is 1 (Thread 0x7f6d32e179c0 (LWP 1660))]
(gdb) cd /home/user/build/1packages/4used/glib2/makepkg_pacman/glib2/src/glib
Working directory /home/user/build/1packages/4used/glib2/makepkg_pacman/glib2/src/glib.
(gdb) bt2
executing: 'frame apply all -q frame'
#0  0x00007f6d360c88d8 in g_source_set_ready_time (source=0x7f6d24009030, ready_time=0) at ../glib/glib/gmain.c:1942
1942	  if (source->priv->ready_time == ready_time)
#1  0x00007f6d365d2e7f in cancellable_source_cancelled (cancellable=<optimized out>, user_data=0x7f6d24009030) at ../glib/gio/gcancellable.c:666
666	  g_source_set_ready_time (source, 0);
#2  0x00007f6d361ab534 in _g_closure_invoke_va (param_types=0x0, n_params=<optimized out>, args=0x7fff61fcd8d0, instance=0x558e38fab520, return_value=0x0, closure=0x7f6d240090d0) at ../glib/gobject/gclosure.c:873
873	      marshal (closure,
#3  g_signal_emit_valist (instance=0x558e38fab520, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff61fcd8d0) at ../glib/gobject/gsignal.c:3407
3407		      _g_closure_invoke_va (closure,
#4  0x00007f6d361acc6f in g_signal_emit (instance=instance@entry=0x558e38fab520, signal_id=<optimized out>, detail=detail@entry=0) at ../glib/gobject/gsignal.c:3554
3554	  g_signal_emit_valist (instance, signal_id, detail, var_args);
#5  0x00007f6d365d44c9 in g_cancellable_cancel (cancellable=0x558e38fab520) at ../glib/gio/gcancellable.c:509
509	  g_signal_emit (cancellable, signals[CANCELLED], 0);
#6  g_cancellable_cancel (cancellable=0x558e38fab520) at ../glib/gio/gcancellable.c:483
483	g_cancellable_cancel (GCancellable *cancellable)
#7  0x00007f6d3650e4c7 in _g_dbus_worker_close (worker=0x558e38fcfb40, task=<optimized out>) at ../glib/gio/gdbusprivate.c:1721
1721	  g_cancellable_cancel (worker->cancellable);
#8  0x00007f6d365265e7 in g_dbus_connection_close (user_data=0x7fff61fcda40, callback=0x7f6d3651c9a0 <sync_close_cb>, cancellable=<optimized out>, connection=0x558e38f8c200) at ../glib/gio/gdbusconnection.c:1464
1464	  _g_dbus_worker_close (connection->worker, task);
#9  g_dbus_connection_close (connection=0x558e38f8c200, cancellable=<optimized out>, callback=0x7f6d3651c9a0 <sync_close_cb>, user_data=0x7fff61fcda40) at ../glib/gio/gdbusconnection.c:1447
1447	g_dbus_connection_close (GDBusConnection     *connection,
#10 0x00007f6d36526770 in g_dbus_connection_close_sync (connection=0x558e38f8c200, cancellable=0x0, error=0x0) at ../glib/gio/gdbusconnection.c:1547
1547	      g_dbus_connection_close (connection, cancellable, sync_close_cb, &data);
#11 0x0000558e38b6f8b1 in main (argc=<optimized out>, argv=<optimized out>) at main.c:320
320	            g_dbus_connection_close_sync (dbus_connection, NULL, NULL);
(gdb) bt full
#0  0x00007f6d360c88d8 in g_source_set_ready_time (source=0x7f6d24009030, ready_time=0) at ../glib/glib/gmain.c:1942
        context = 0x558e38fcfe50
        __func__ = "g_source_set_ready_time"
#1  0x00007f6d365d2e7f in cancellable_source_cancelled (cancellable=<optimized out>, user_data=0x7f6d24009030) at ../glib/gio/gcancellable.c:666
        source = 0x7f6d24009030
#2  0x00007f6d361ab534 in _g_closure_invoke_va (param_types=0x0, n_params=<optimized out>, args=0x7fff61fcd8d0, instance=0x558e38fab520, return_value=0x0, closure=0x7f6d240090d0) at ../glib/gobject/gclosure.c:873
        marshal = <optimized out>
        marshal_data = <optimized out>
        in_marshal = 0
        real_closure = 0x7f6d240090b0
        return_accu = <optimized out>
        accu = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        accumulator = 0x0
        emission = {next = 0x0, instance = 0x558e38fab520, ihint = {signal_id = 164, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 0x558e38fcfc20 [None]}
        signal_id = 164
        instance_type = <optimized out>
        emission_return = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        rtype = 0x4
        static_scope = 0
        fastpath_handler = <optimized out>
        closure = <optimized out>
        run_type = <optimized out>
        hlist = <optimized out>
        l = <optimized out>
        fastpath = 1
        instance_and_params = <optimized out>
        signal_return_type = <optimized out>
        param_values = <optimized out>
        node = <optimized out>
        i = <optimized out>
        n_params = <optimized out>
        __func__ = "g_signal_emit_valist"
#3  g_signal_emit_valist (instance=0x558e38fab520, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff61fcd8d0) at ../glib/gobject/gsignal.c:3407
        return_accu = <optimized out>
        accu = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        accumulator = 0x0
        emission = {next = 0x0, instance = 0x558e38fab520, ihint = {signal_id = 164, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 0x558e38fcfc20 [None]}
        signal_id = 164
        instance_type = <optimized out>
        emission_return = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        rtype = 0x4
        static_scope = 0
        fastpath_handler = <optimized out>
        closure = <optimized out>
        run_type = <optimized out>
        hlist = <optimized out>
        l = <optimized out>
        fastpath = 1
        instance_and_params = <optimized out>
        signal_return_type = <optimized out>
        param_values = <optimized out>
        node = <optimized out>
        i = <optimized out>
        n_params = <optimized out>
        __func__ = "g_signal_emit_valist"
#4  0x00007f6d361acc6f in g_signal_emit (instance=instance@entry=0x558e38fab520, signal_id=<optimized out>, detail=detail@entry=0) at ../glib/gobject/gsignal.c:3554
        var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff61fcd9b0, reg_save_area = 0x7fff61fcd8f0}}
#5  0x00007f6d365d44c9 in g_cancellable_cancel (cancellable=0x558e38fab520) at ../glib/gio/gcancellable.c:509
        priv = 0x558e38fab500
#6  g_cancellable_cancel (cancellable=0x558e38fab520) at ../glib/gio/gcancellable.c:483
#7  0x00007f6d3650e4c7 in _g_dbus_worker_close (worker=0x558e38fcfb40, task=<optimized out>) at ../glib/gio/gdbusprivate.c:1721
#8  0x00007f6d365265e7 in g_dbus_connection_close (user_data=0x7fff61fcda40, callback=0x7f6d3651c9a0 <sync_close_cb>, cancellable=<optimized out>, connection=0x558e38f8c200) at ../glib/gio/gdbusconnection.c:1464
        task = 0x558e38fd21b0
        __func__ = "g_dbus_connection_close"
#9  g_dbus_connection_close (connection=0x558e38f8c200, cancellable=<optimized out>, callback=0x7f6d3651c9a0 <sync_close_cb>, user_data=0x7fff61fcda40) at ../glib/gio/gdbusconnection.c:1447
        __func__ = "g_dbus_connection_close"
#10 0x00007f6d36526770 in g_dbus_connection_close_sync (connection=0x558e38f8c200, cancellable=0x0, error=0x0) at ../glib/gio/gdbusconnection.c:1547
        context = 0x558e38fd0540
        data = {loop = 0x558e38fd0650, result = 0x0}
        ret = 0
        __func__ = "g_dbus_connection_close_sync"
#11 0x0000558e38b6f8b1 in main (argc=<optimized out>, argv=<optimized out>) at main.c:320
        error = 0x0
        context = <optimized out>
        s_data = {sm_client = 0x0, pointer_helper = 0x0, keyboards_helper = 0x0, accessibility_helper = 0x0, shortcuts_helper = 0x0, keyboard_layout_helper = 0x0, gtk_decorations_helper = 0x0, xsettings_helper = 0x0, clipboard_daemon = 0x0, displays_helper = 0x0, workspaces_helper = 0x0}
        i = <optimized out>
        dbus_connection = 0x558e38f8c200
        dbus_flags = <optimized out>
        name_owned = 1
        name_owned_variant = <optimized out>
(gdb) bt3
executing: 'frame apply all list *$pc' (but line numbers are a bit innacurate!)
#0  0x00007f6d360c88d8 in g_source_set_ready_time (source=0x7f6d24009030, ready_time=0) at ../glib/glib/gmain.c:1942
0x7f6d360c88d8 is in g_source_set_ready_time (../glib/glib/gmain.c:1942).
1937	  context = source->context;
1938	
1939	  if (context)
1940	    LOCK_CONTEXT (context);
1941	
1942	  if (source->priv->ready_time == ready_time)
1943	    {
1944	      if (context)
1945	        UNLOCK_CONTEXT (context);
1946	
#1  0x00007f6d365d2e7f in cancellable_source_cancelled (cancellable=<optimized out>, user_data=0x7f6d24009030) at ../glib/gio/gcancellable.c:666
0x7f6d365d2e7f is in cancellable_source_cancelled (../glib/gio/gcancellable.c:667).
662	{
663	  GSource *source = user_data;
664	
665	  g_source_ref (source);
666	  g_source_set_ready_time (source, 0);
667	  g_source_unref (source);
668	}
669	
670	static gboolean
671	cancellable_source_dispatch (GSource     *source,
#2  0x00007f6d361ab534 in _g_closure_invoke_va (param_types=0x0, n_params=<optimized out>, args=0x7fff61fcd8d0, instance=0x558e38fab520, return_value=0x0, closure=0x7f6d240090d0) at ../glib/gobject/gclosure.c:873
0x7f6d361ab534 is in g_signal_emit_valist (../glib/gobject/gclosure.c:294).
289		  ndata = closure->notifiers + offs + i;
290		  ndata->notify (ndata->data, closure);
291		}
292	      break;
293	    case POST_NOTIFY:
294	      i = closure->n_guards;
295	      offs = i;
296	      while (i--)
297		{
298		  ndata = closure->notifiers + offs + i;
#3  g_signal_emit_valist (instance=0x558e38fab520, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff61fcd8d0) at ../glib/gobject/gsignal.c:3407
0x7f6d361ab534 is in g_signal_emit_valist (../glib/gobject/gclosure.c:294).
289		  ndata = closure->notifiers + offs + i;
290		  ndata->notify (ndata->data, closure);
291		}
292	      break;
293	    case POST_NOTIFY:
294	      i = closure->n_guards;
295	      offs = i;
296	      while (i--)
297		{
298		  ndata = closure->notifiers + offs + i;
#4  0x00007f6d361acc6f in g_signal_emit (instance=instance@entry=0x558e38fab520, signal_id=<optimized out>, detail=detail@entry=0) at ../glib/gobject/gsignal.c:3554
0x7f6d361acc6f is in g_signal_emit (../glib/gobject/gsignal.c:3555).
3550	{
3551	  va_list var_args;
3552	
3553	  va_start (var_args, detail);
3554	  g_signal_emit_valist (instance, signal_id, detail, var_args);
3555	  va_end (var_args);
3556	}
3557	
3558	/**
3559	 * g_signal_emit_by_name:
#5  0x00007f6d365d44c9 in g_cancellable_cancel (cancellable=0x558e38fab520) at ../glib/gio/gcancellable.c:509
0x7f6d365d44c9 is in g_cancellable_cancel (../glib/gio/gcancellable.c:511).
506	  g_mutex_unlock (&cancellable_mutex);
507	
508	  g_object_ref (cancellable);
509	  g_signal_emit (cancellable, signals[CANCELLED], 0);
510	
511	  g_mutex_lock (&cancellable_mutex);
512	
513	  priv->cancelled_running = FALSE;
514	  if (priv->cancelled_running_waiting)
515	    g_cond_broadcast (&cancellable_cond);
#6  g_cancellable_cancel (cancellable=0x558e38fab520) at ../glib/gio/gcancellable.c:483
0x7f6d365d44c9 is in g_cancellable_cancel (../glib/gio/gcancellable.c:511).
506	  g_mutex_unlock (&cancellable_mutex);
507	
508	  g_object_ref (cancellable);
509	  g_signal_emit (cancellable, signals[CANCELLED], 0);
510	
511	  g_mutex_lock (&cancellable_mutex);
512	
513	  priv->cancelled_running = FALSE;
514	  if (priv->cancelled_running_waiting)
515	    g_cond_broadcast (&cancellable_cond);
#7  0x00007f6d3650e4c7 in _g_dbus_worker_close (worker=0x558e38fcfb40, task=<optimized out>) at ../glib/gio/gdbusprivate.c:1721
0x7f6d3650e4c7 is in _g_dbus_worker_close (../glib/gio/gdbusprivate.c:1722).
1717	
1718	  /* Don't set worker->close_expected here - we're in the wrong thread.
1719	   * It'll be set before the actual close happens.
1720	   */
1721	  g_cancellable_cancel (worker->cancellable);
1722	  g_mutex_lock (&worker->write_lock);
1723	  schedule_writing_unlocked (worker, NULL, NULL, close_data);
1724	  g_mutex_unlock (&worker->write_lock);
1725	}
1726	
#8  0x00007f6d365265e7 in g_dbus_connection_close (user_data=0x7fff61fcda40, callback=0x7f6d3651c9a0 <sync_close_cb>, cancellable=<optimized out>, connection=0x558e38f8c200) at ../glib/gio/gdbusconnection.c:1464
0x7f6d365265e7 is in g_dbus_connection_close (../glib/gio/gdbusconnection.c:1465).
1460	  g_assert (connection->worker != NULL);
1461	
1462	  task = g_task_new (connection, cancellable, callback, user_data);
1463	  g_task_set_source_tag (task, g_dbus_connection_close);
1464	  _g_dbus_worker_close (connection->worker, task);
1465	  g_object_unref (task);
1466	}
1467	
1468	/**
1469	 * g_dbus_connection_close_finish:
#9  g_dbus_connection_close (connection=0x558e38f8c200, cancellable=<optimized out>, callback=0x7f6d3651c9a0 <sync_close_cb>, user_data=0x7fff61fcda40) at ../glib/gio/gdbusconnection.c:1447
0x7f6d365265e7 is in g_dbus_connection_close (../glib/gio/gdbusconnection.c:1465).
1460	  g_assert (connection->worker != NULL);
1461	
1462	  task = g_task_new (connection, cancellable, callback, user_data);
1463	  g_task_set_source_tag (task, g_dbus_connection_close);
1464	  _g_dbus_worker_close (connection->worker, task);
1465	  g_object_unref (task);
1466	}
1467	
1468	/**
1469	 * g_dbus_connection_close_finish:
#10 0x00007f6d36526770 in g_dbus_connection_close_sync (connection=0x558e38f8c200, cancellable=0x0, error=0x0) at ../glib/gio/gdbusconnection.c:1547
0x7f6d36526770 is in g_dbus_connection_close_sync (../glib/gio/gdbusconnection.c:1548).
1543	      g_main_context_push_thread_default (context);
1544	      data.loop = g_main_loop_new (context, TRUE);
1545	      data.result = NULL;
1546	
1547	      g_dbus_connection_close (connection, cancellable, sync_close_cb, &data);
1548	      g_main_loop_run (data.loop);
1549	      ret = g_dbus_connection_close_finish (connection, data.result, error);
1550	
1551	      g_object_unref (data.result);
1552	      g_main_loop_unref (data.loop);
#11 0x0000558e38b6f8b1 in main (argc=<optimized out>, argv=<optimized out>) at main.c:320
0x558e38b6f8b1 is in main (main.c:321).
316	        g_variant_get(name_owned_variant, "(b)", &name_owned, NULL);
317	
318	        if(G_UNLIKELY (name_owned && !opt_replace)) {
319	            xfsettings_dbg (XFSD_DEBUG_XSETTINGS, "Another instance is already running. Leaving.");
320	            g_dbus_connection_close_sync (dbus_connection, NULL, NULL);
321	            return EXIT_SUCCESS;
322	        }
323	
324	        /* Allow the settings daemon to be replaced */
325	        dbus_flags = G_BUS_NAME_OWNER_FLAGS_NONE;
(gdb) 


This is the version that I was using:

$ pacman -Qo xfsettingsd
/usr/bin/xfsettingsd is owned by xfce4-settings 4.15.0.r4.g7ffb2537-1

commit 7ffb2537d3e18c3615349d59d6dacd113ac0df19 (HEAD -> makepkg, origin/master, origin/HEAD)
Author: José Vieira
Date:   Mon Jan 20 12:31:33 2020 +0100

(yes, I will update to latest after this, cheers)

Other stuff(because it probably matters):
local/glibc 2.31.9000.r308.ga9d42c09a32-1 (builtbydaddy base)
    GNU C Library
local/glib2 2.64.2-1 (builtbydaddy)
    Low level core library

$ pacman -Qs dbus; pacman -Qs systemd
local/dbus 1.12.16-5
    Freedesktop.org message bus system
local/dbus-glib 0.110-1
    GLib bindings for DBUS
local/libdbusmenu-qt5 0.9.3+16.04.20160218-4
    A library that provides a Qt implementation of the DBusMenu spec
local/xdg-dbus-proxy 0.1.2-1
    D-Bus proxy
local/netctl 1.21-2
    Profile based systemd network management
local/systemd 245.4-2 (builtbydaddy)
    system and service manager
local/systemd-libs 245.4-2 (builtbydaddy)
    systemd client libraries
local/systemd-sysvcompat 245.4-2 (builtbydaddy)
    sysvinit compat for systemd

$ pacman -Qs xfce4
local/exo 0.12.11-1 (xfce4)
    Application library for Xfce
local/garcon 0.6.4-1 (xfce4)
    Implementation of the freedesktop.org menu specification
local/libxfce4ui 4.15.1-1 (builtbydaddy)
    Commonly used Xfce widgets among Xfce applications
local/libxfce4util 4.15.0.r2.gbbf9317-1 (builtbydaddy xfce4-git)
    Basic utility non-GUI functions for Xfce
local/mousepad 0.4.2.r121.gcda3bc5-1 (builtbydaddy xfce4-goodies)
    Simple text editor for Xfce git version
local/orage 4.12.1-4 (xfce4-goodies)
    A simple calendar application with reminders for Xfce
local/thunar 1.8.14.r974.gd9acc52f-1 (builtbydaddy xfce4-git)
    file manager for xfce
local/xfce4-appfinder 4.14.0.r6.gf55f2f9-1 (builtbydaddy xfce4)
    An application finder for Xfce (GIT checkout)
local/xfce4-battery-plugin 1.1.3-1 (xfce4-goodies)
    A battery monitor plugin for the Xfce panel
local/xfce4-clipman-plugin 1.6.1-1 (xfce4-goodies)
    A clipboard plugin for the Xfce4 panel
local/xfce4-cpufreq-plugin 1.2.1-1 (xfce4-goodies)
    CPU frequency plugin for the Xfce4 panel
local/xfce4-cpugraph-plugin 1.1.0-1 (xfce4-goodies)
    CPU graph plugin for the Xfce4 panel
local/xfce4-dev-tools 4.14.0.r1.gc62f6be-1 (builtbydaddy)
    The Xfce development tools
local/xfce4-diskperf-plugin 2.6.2-1 (xfce4-goodies)
    Plugin for the Xfce4 panel displaying instant disk/partition performance
local/xfce4-genmon-plugin 4.0.2-1 (xfce4-goodies)
    plugin that monitors customizable programs stdout for the Xfce4 panel
local/xfce4-netload-plugin 1.3.2-1 (xfce4-goodies)
    A netload plugin for the Xfce panel
local/xfce4-notifyd 0.6.0.r1.g8c9a6f3-1 (builtbydaddy xfce4-goodies)
    notification daemon for the xfce desktop - git checkout
local/xfce4-panel 4.15.1.r40.g9fa58946-1 (builtbydaddy xfce4-git)
    Panel for the Xfce desktop environment - git checkout
local/xfce4-power-manager 1.7.0+3+gca7a5e28-1 (builtbydaddy xfce4)
    Power manager for Xfce desktop
local/xfce4-screensaver 0.1.10-1 (xfce4-goodies)
    Xfce Screensaver
local/xfce4-screenshooter 1.9.7-1 (xfce4-goodies)
    Plugin that makes screenshots for the Xfce panel
local/xfce4-sensors-plugin 1.3.92.49.g97f5ecb-1 (builtbydaddy xfce4-goodies)
    A lm_sensors plugin for the Xfce panel
local/xfce4-session 4.14.0.r94.gd7be9e9-1 (builtbydaddy xfce4)
    Xfce session manager - git checkout
local/xfce4-settings 4.15.0.r4.g7ffb2537-1 (builtbydaddy xfce4)
    Settings manager for the Xfce desktop, git version
local/xfce4-systemload-plugin 1.2.3-1 (xfce4-goodies)
    A system load plugin for the Xfce4 panel
local/xfce4-taskmanager 1.2.3.r1.g78c16b7-1 (builtbydaddy xfce4-goodies xfce4)
    Easy to use task manager
local/xfce4-terminal 0.8.9.2.r12.gb798c1e-1 (builtbydaddy xfce4)
    A modern terminal emulator primarily for the Xfce desktop environment - git
    checkout
local/xfce4-whiskermenu-plugin 2.4.3-1 (xfce4-goodies)
    Menu for Xfce4
local/xfconf 4.14.0.r9.g80a57ad-1 (builtbydaddy xfce4)
    A simple client-server configuration storage and query system - git checkout
local/xfdesktop 4.14.2-1 (builtbydaddy xfce4)
    A desktop manager for Xfce
local/xfwm4 4.14.0+109+gad33f686-1 (builtbydaddy xfce4)
    Xfce window manager (git version)
local/xfwm4-themes 4.10.0-3 (xfce4)
    A set of additional themes for the Xfce window manager
Comment 1 Simon Steinbeiss editbugs 2020-05-28 19:05:30 CEST
> This basically never happens, ie. impossible to repro.(?)

In this case I would say we close the bugreport.

Bug #16714

Reported by:
inactive
Reported on: 2020-04-18
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.15.0

Attachments

Additional information