Segfault on start in get_hostname_property
gnome-control-center 40.0 segfauls on start
$ gdb /usr/bin/gnome-control-center
GNU gdb (Gentoo 10.2 vanilla) 10.2
Reading symbols from /usr/bin/gnome-control-center...
Reading symbols from /usr/lib/debug//usr/bin/gnome-control-center.debug...
(gdb) run
Starting program: /usr/bin/gnome-control-center
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff166c640 (LWP 463811)]
[New Thread 0x7ffff0e6b640 (LWP 463812)]
(process:463807): Gtk-CRITICAL **: 11:15:13.962: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
[New Thread 0x7fffebfff640 (LWP 463813)]
[New Thread 0x7fffeb7be640 (LWP 463814)]
[New Thread 0x7fffeae52640 (LWP 463815)]
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.190: Error building template class 'CcSharingPanel' for an instance of type 'CcSharingPanel': .:3:2369 Invalid object type 'CcListRow'
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.190: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.190: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.190: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.190: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.190: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.190: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.190: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.190: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.190: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.190: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.190: gtk_list_box_set_activate_on_single_click: assertion 'GTK_IS_LIST_BOX (box)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.190: gtk_list_box_set_header_func: assertion 'GTK_IS_LIST_BOX (box)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.191: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.260: gtk_widget_grab_focus: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.266: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.266: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.266: g_object_bind_property_full: assertion 'G_IS_OBJECT (source)' failed
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.267: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.267: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.267: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.267: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): GLib-GObject-WARNING **: 11:15:14.267: invalid (NULL) pointer instance
(gnome-control-center:463807): GLib-GObject-CRITICAL **: 11:15:14.267: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.267: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.267: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-control-center:463807): Gtk-CRITICAL **: 11:15:14.267: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
Thread 1 "gnome-control-c" received signal SIGSEGV, Segmentation fault.
0x00005555556529fc in get_hostname_property (self=0x0, property=property@entry=0x55555567e285 "Hostname") at ../gnome-control-center-40.0/panels/common/cc-hostname-entry.c:80
80 ../gnome-control-center-40.0/panels/common/cc-hostname-entry.c: Нет такого файла или каталога.
(gdb) thread apply all bt full
Thread 6 (Thread 0x7fffeae52640 (LWP 463815) "dconf worker"):
#0 0x00007ffff66a2d8f in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7ca13ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x555555c4b760, timeout=<optimized out>, context=0x555555c8fa40) at ../glib-2.68.1/glib/gmain.c:4434
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7ffff7cb0470 <g_poll>
poll_func = <optimized out>
ret = <optimized out>
errsv = <optimized out>
#2 g_main_context_iterate (context=context@entry=0x555555c8fa40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.1/glib/gmain.c:4126
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 1
allocated_nfds = <optimized out>
fds = 0x555555c4b760
begin_time_nsec = 0
#3 0x00007ffff7ca14df in g_main_context_iteration (context=context@entry=0x555555c8fa40, may_block=may_block@entry=1) at ../glib-2.68.1/glib/gmain.c:4196
retval = <optimized out>
#4 0x00007fffeae671ad in dconf_gdbus_worker_thread (user_data=0x555555c8fa40) at ../dconf-0.40.0/gdbus/dconf-gdbus-thread.c:82
context = 0x555555c8fa40
#5 0x00007ffff7cc9b7d in g_thread_proxy (data=0x555555c83000) at ../glib-2.68.1/glib/gthread.c:826
thread = 0x555555c83000
__func__ = "g_thread_proxy"
#6 0x00007ffff6778cb6 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#7 0x00007ffff66ad35f in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 5 (Thread 0x7fffeb7be640 (LWP 463814) "pool-gnome-cont"):
#0 0x00007ffff66a80e9 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7cf2173 in g_cond_wait_until (cond=cond@entry=0x55555593e718, mutex=mutex@entry=0x55555593e710, end_time=end_time@entry=83057870593) at ../glib-2.68.1/glib/gthread-posix.c:1622
now = {tv_sec = 83057, tv_nsec = 370593954}
span = {tv_sec = 0, tv_nsec = 499999046}
sampled = 12
res = <optimized out>
success = <optimized out>
#2 0x00007ffff7c712c1 in g_async_queue_pop_intern_unlocked (queue=0x55555593e710, wait=1, end_time=83057870593) at ../glib-2.68.1/glib/gasyncqueue.c:422
retval = <optimized out>
__func__ = "g_async_queue_pop_intern_unlocked"
#3 0x00007ffff7cca53a in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib-2.68.1/glib/gthreadpool.c:278
task = <optimized out>
task = <optimized out>
#4 g_thread_pool_thread_proxy (data=<optimized out>) at ../glib-2.68.1/glib/gthreadpool.c:343
task = <optimized out>
pool = <optimized out>
#5 0x00007ffff7cc9b7d in g_thread_proxy (data=0x555555b268c0) at ../glib-2.68.1/glib/gthread.c:826
thread = 0x555555b268c0
__func__ = "g_thread_proxy"
#6 0x00007ffff6778cb6 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#7 0x00007ffff66ad35f in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 4 (Thread 0x7fffebfff640 (LWP 463813) "pool-gnome-cont"):
#0 0x00007ffff66a80e9 in syscall () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7cf2173 in g_cond_wait_until (cond=cond@entry=0x55555593e718, mutex=mutex@entry=0x55555593e710, end_time=end_time@entry=83057870481) at ../glib-2.68.1/glib/gthread-posix.c:1622
now = {tv_sec = 83057, tv_nsec = 370481558}
span = {tv_sec = 0, tv_nsec = 499999442}
sampled = 11
res = <optimized out>
success = <optimized out>
#2 0x00007ffff7c712c1 in g_async_queue_pop_intern_unlocked (queue=0x55555593e710, wait=1, end_time=83057870481) at ../glib-2.68.1/glib/gasyncqueue.c:422
retval = <optimized out>
__func__ = "g_async_queue_pop_intern_unlocked"
#3 0x00007ffff7cca53a in g_thread_pool_wait_for_new_task (pool=<optimized out>) at ../glib-2.68.1/glib/gthreadpool.c:278
task = <optimized out>
task = <optimized out>
#4 g_thread_pool_thread_proxy (data=<optimized out>) at ../glib-2.68.1/glib/gthreadpool.c:343
task = <optimized out>
pool = <optimized out>
#5 0x00007ffff7cc9b7d in g_thread_proxy (data=0x55555595a520) at ../glib-2.68.1/glib/gthread.c:826
thread = 0x55555595a520
__func__ = "g_thread_proxy"
--Type <RET> for more, q to quit, c to continue without paging--
#6 0x00007ffff6778cb6 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#7 0x00007ffff66ad35f in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x7ffff0e6b640 (LWP 463812) "gdbus"):
#0 0x00007ffff66a2d8f in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7ca13ce in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x555555954670, timeout=<optimized out>, context=0x5555559525a0) at ../glib-2.68.1/glib/gmain.c:4434
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7ffff7cb0470 <g_poll>
poll_func = <optimized out>
ret = <optimized out>
errsv = <optimized out>
#2 g_main_context_iterate (context=0x5555559525a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.1/glib/gmain.c:4126
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 3
allocated_nfds = <optimized out>
fds = 0x555555954670
begin_time_nsec = 0
#3 0x00007ffff7ca16e3 in g_main_loop_run (loop=0x555555952690) at ../glib-2.68.1/glib/gmain.c:4329
self = <optimized out>
__func__ = "g_main_loop_run"
#4 0x00007ffff7ee31d6 in gdbus_shared_thread_func (user_data=0x555555952570) at ../glib-2.68.1/gio/gdbusprivate.c:280
data = 0x555555952570
#5 0x00007ffff7cc9b7d in g_thread_proxy (data=0x555555949400) at ../glib-2.68.1/glib/gthread.c:826
thread = 0x555555949400
__func__ = "g_thread_proxy"
#6 0x00007ffff6778cb6 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#7 0x00007ffff66ad35f in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7ffff166c640 (LWP 463811) "gmain"):
#0 0x00007ffff66a2d8f in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff7ca13ce in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x55555593e760, timeout=<optimized out>, context=0x5555559401a0) at ../glib-2.68.1/glib/gmain.c:4434
ret = <optimized out>
errsv = <optimized out>
poll_func = 0x7ffff7cb0470 <g_poll>
poll_func = <optimized out>
ret = <optimized out>
errsv = <optimized out>
#2 g_main_context_iterate (context=context@entry=0x5555559401a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.1/glib/gmain.c:4126
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 2
allocated_nfds = <optimized out>
fds = 0x55555593e760
begin_time_nsec = 0
#3 0x00007ffff7ca14df in g_main_context_iteration (context=0x5555559401a0, may_block=may_block@entry=1) at ../glib-2.68.1/glib/gmain.c:4196
retval = <optimized out>
#4 0x00007ffff7ca1521 in glib_worker_main (data=<optimized out>) at ../glib-2.68.1/glib/gmain.c:6089
No locals.
#5 0x00007ffff7cc9b7d in g_thread_proxy (data=0x555555936860) at ../glib-2.68.1/glib/gthread.c:826
thread = 0x555555936860
__func__ = "g_thread_proxy"
#6 0x00007ffff6778cb6 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#7 0x00007ffff66ad35f in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7ffff16e7ac0 (LWP 463807) "gnome-control-c"):
#0 0x00005555556529fc in get_hostname_property (self=0x0, property=property@entry=0x55555567e285 "Hostname") at ../gnome-control-center-40.0/panels/common/cc-hostname-entry.c:80
variant = <optimized out>
#1 0x00005555556530fc in cc_hostname_entry_get_hostname (entry=<optimized out>) at ../gnome-control-center-40.0/panels/common/cc-hostname-entry.c:262
No locals.
#2 0x00005555555e6520 in cc_sharing_panel_get_host_name_fqdn_done (object=0x555555948220, res=<optimized out>, user_data=0x555555ae2500) at ../gnome-control-center-40.0/panels/sharing/cc-sharing-panel.c:746
hostname = 0x0
connection = <optimized out>
data = 0x555555ae2500
error = 0x555555e61030
variant = <optimized out>
fqdn = 0x0
--Type <RET> for more, q to quit, c to continue without paging--
#3 0x00007ffff7e7e96b in g_task_return_now (task=0x555555d72570) at ../glib-2.68.1/gio/gtask.c:1219
No locals.
#4 0x00007ffff7e7f31f in g_task_return (type=<optimized out>, task=0x555555d72570) at ../glib-2.68.1/gio/gtask.c:1289
source = 0x7fffe4014580
source_name = <optimized out>
source = <optimized out>
source_name = <optimized out>
#5 g_task_return (task=0x555555d72570, type=<optimized out>) at ../glib-2.68.1/gio/gtask.c:1245
source = <optimized out>
source_name = 0x0
#6 0x00007ffff7ed4af4 in g_dbus_connection_call_done (source=<optimized out>, result=0x555555eb16d0, user_data=0x555555d72570) at ../glib-2.68.1/gio/gdbusconnection.c:5787
connection = <optimized out>
task = 0x555555d72570
state = 0x555555ad9f40
error = 0x555555e61030
reply = 0x555555c5b590
value = <optimized out>
#7 0x00007ffff7e7e96b in g_task_return_now (task=0x555555eb16d0) at ../glib-2.68.1/gio/gtask.c:1219
No locals.
#8 0x00007ffff7e7e999 in complete_in_idle_cb (task=0x555555eb16d0) at ../glib-2.68.1/gio/gtask.c:1233
No locals.
#9 0x00007ffff7ca10a3 in g_main_dispatch (context=0x555555947bd0) at ../glib-2.68.1/glib/gmain.c:3337
dispatch = 0x7ffff7c9d600 <g_idle_dispatch>
prev_source = 0x0
begin_time_nsec = 0
was_in_call = 0
user_data = 0x555555eb16d0
callback = 0x7ffff7e7e990 <complete_in_idle_cb>
cb_funcs = <optimized out>
cb_data = <optimized out>
need_destroy = <optimized out>
source = 0x7fffe4014580
current = 0x555555952fd0
i = 1
__func__ = "g_main_dispatch"
#10 g_main_context_dispatch (context=0x555555947bd0) at ../glib-2.68.1/glib/gmain.c:4055
No locals.
#11 0x00007ffff7ca1430 in g_main_context_iterate (context=context@entry=0x555555947bd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.1/glib/gmain.c:4131
max_priority = 2147483647
timeout = 16569
some_ready = 1
nfds = <optimized out>
allocated_nfds = <optimized out>
fds = 0x555555de4e00
begin_time_nsec = 0
#12 0x00007ffff7ca14df in g_main_context_iteration (context=context@entry=0x555555947bd0, may_block=may_block@entry=1) at ../glib-2.68.1/glib/gmain.c:4196
retval = <optimized out>
#13 0x00007ffff7ea971d in g_application_run (application=0x5555559320f0, argc=-11116, argc@entry=1, argv=argv@entry=0x7fffffffd5f8) at ../glib-2.68.1/gio/gapplication.c:2560
arguments = 0x55555590a680
status = 0
context = 0x555555947bd0
acquired_context = <optimized out>
__func__ = "g_application_run"
#14 0x00005555555899d3 in main (argc=1, argv=0x7fffffffd5f8) at ../gnome-control-center-40.0/shell/main.c:65
application = 0x5555559320f0