After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772848 - D-Bus init hangs on startup
D-Bus init hangs on startup
Status: RESOLVED DUPLICATE of bug 674885
Product: glib
Classification: Platform
Component: gdbus
2.50.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2016-10-13 10:59 UTC by Bastien Nocera
Modified: 2017-03-15 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2016-10-13 10:59:55 UTC
glib2-2.50.1-1.fc25.x86_64

Since switching to using separate daemons in gnome-settings-daemon, about 1/3 of the time gsd-sharing (and/or gsd-keyboard) hangs on startup. Bug 627724 is possibly related.

The code is fairly straight forward:
https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/common/daemon-skeleton.h#n148

Thread 2 (Thread 0x7ff2be1c7700 (LWP 1877))

  • #0 __lll_lock_wait
  • #1 pthread_mutex_lock
  • #2 g_type_add_interface_static
    at gtype.c line 2842
  • #3 g_dbus_connection_get_type
    at gdbusconnection.c line 538
  • #4 get_uninitialized_connection
    at gdbusconnection.c line 7181
  • #5 g_bus_get_sync
    at gdbusconnection.c line 7255
  • #6 dconf_gdbus_get_bus_in_worker
  • #7 dconf_gdbus_method_call
  • #8 g_idle_dispatch
    at gmain.c line 5545
  • #9 g_main_dispatch
    at gmain.c line 3203
  • #10 g_main_context_dispatch
    at gmain.c line 3856
  • #11 g_main_context_iterate
    at gmain.c line 3929
  • #12 g_main_context_iteration
    at gmain.c line 3990
  • #13 dconf_gdbus_worker_thread
  • #14 g_thread_proxy
    at gthread.c line 784
  • #15 start_thread
  • #16 clone

Thread 1 (Thread 0x7ff2c34a7f80 (LWP 1871))

  • #0 syscall
  • #1 g_cond_wait
    at gthread-posix.c line 1395
  • #2 g_once_init_enter
    at gthread.c line 665
  • #3 g_dbus_connection_get_type
    at gdbusconnection.c line 538
  • #4 g_dbus_proxy_class_init
    at gdbusproxy.c line 406
  • #5 g_dbus_proxy_class_intern_init
    at gdbusproxy.c line 186
  • #6 type_class_init_Wm
    at gtype.c line 2232
  • #7 g_type_class_ref
    at gtype.c line 2947
  • #8 g_type_class_ref
    at gtype.c line 2939
  • #9 g_object_new_valist
    at gobject.c line 1968
  • #10 g_initable_new_valist
    at ginitable.c line 224
  • #11 g_initable_new
    at ginitable.c line 146
  • #12 gsd_session_manager_proxy_new_for_bus_sync
    at gsd-session-manager-glue.c line 4214
  • #13 gnome_settings_bus_get_session_proxy
    at gnome-settings-bus.c line 54
  • #14 register_with_gnome_session
    at ../../plugins/common/daemon-skeleton.h line 154
  • #15 main
    at ../../plugins/common/daemon-skeleton.h line 198

Comment 1 Bastien Nocera 2017-03-15 12:36:59 UTC

*** This bug has been marked as a duplicate of bug 674885 ***