Network panel update issues (and crash)
If I plug in a thunderbolt cable to create a thunderbolt host-to-host network I reliably get the panel into a state where it doesn't show updates and also crashes.
After plugging the cabel in, I get:
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:55:58.031: add 802-3-ethernet/NMRemoteConnection remote connection: /org/freedesktop/NetworkManager/Settings/1
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:55:58.031: Calling handle_argv() after cold-plugging connections
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:55:58.062: coldplugging devices
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:55:58.062: device /sys/devices/pci0000:00/0000:00:1f.6/net/enp0s31f6 type 1 path /org/freedesktop/NetworkManager/Devices/2
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:55:58.065: device /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/wlp2s0 type 2 path /org/freedesktop/NetworkManager/Devices/3
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:55:58.065: device /sys/devices/virtual/net/virbr0 type 13 path /org/freedesktop/NetworkManager/Devices/4
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:55:58.065: Calling handle_argv() after cold-plugging devices
[Thread 0x7fffae7e1700 (LWP 3686) exited]
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.548: New device added
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.572: Active connections changed:
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.572: /org/freedesktop/NetworkManager/ActiveConnection/5
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.572: /sys/devices/pci0000:00/0000:00:1d.0/0000:05:00.0/0000:06:00.0/0000:07:00.0/domain0/0-0/0-1/0-1.0/net/thunderbolt0
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.572: /org/freedesktop/NetworkManager/ActiveConnection/4
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.572: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/wlp2s0
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.572: /org/freedesktop/NetworkManager/ActiveConnection/1
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:05.572: /sys/devices/virtual/net/virbr0
[Thread 0x7fffadfe0700 (LWP 3687) exited]
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.948: Active connections changed:
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.948: /org/freedesktop/NetworkManager/ActiveConnection/4
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.948: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/wlp2s0
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.948: /org/freedesktop/NetworkManager/ActiveConnection/1
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.948: /sys/devices/virtual/net/virbr0
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.950: Active connections changed:
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.950: /org/freedesktop/NetworkManager/ActiveConnection/6
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.950: /sys/devices/pci0000:00/0000:00:1d.0/0000:05:00.0/0000:06:00.0/0000:07:00.0/domain0/0-0/0-1/0-1.0/net/thunderbolt0
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.950: /org/freedesktop/NetworkManager/ActiveConnection/4
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.950: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/wlp2s0
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.950: /org/freedesktop/NetworkManager/ActiveConnection/1
(gnome-control-center:3672): network-cc-panel-DEBUG: 15:56:50.950: /sys/devices/virtual/net/virbr0
So the log shows some connection, but the panel doesn't show it:
If I start g-c-c with the cable plugged in, and then unplug the cable the connection is still here and an additional bluetooth entry is shown:
When I replug the cable g-c-c crashes:
#0 0x0000555555677147 in net_device_simple_get_speed (device_simple=0x55555632ff10) at ../panels/network/net-device-simple.c:253
#1 0x0000555555673a1d in device_ethernet_refresh_ui (device=0x55555632ff10) at ../panels/network/net-device-ethernet.c:223
#2 0x00007ffff77f0add in g_closure_invoke (closure=0x5555564a74b0, return_value=0x0, n_param_values=2, param_values=0x7fffffffcc30,
invocation_hint=0x7fffffffcbb0) at gclosure.c:804
#3 0x00007ffff7803eb3 in signal_emit_unlocked_R (node=node@entry=0x5555562548c0, detail=detail@entry=0,
instance=instance@entry=0x555555b7a0d0, emission_return=emission_return@entry=0x0,
instance_and_params=instance_and_params@entry=0x7fffffffcc30) at gsignal.c:3635
#4 0x00007ffff780cfda in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>,
var_args=var_args@entry=0x7fffffffce10) at gsignal.c:3391
#5 0x00007ffff780d5d3 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3447
#6 0x00007ffff77f0add in g_closure_invoke (closure=0x555556181720, return_value=0x0, n_param_values=2, param_values=0x7fffffffd0b0,
invocation_hint=0x7fffffffd030) at gclosure.c:804
#7 0x00007ffff7803eb3 in signal_emit_unlocked_R (node=node@entry=0x555555e71820, detail=detail@entry=0,
instance=instance@entry=0x5555562ef090, emission_return=emission_return@entry=0x0,
instance_and_params=instance_and_params@entry=0x7fffffffd0b0) at gsignal.c:3635
#8 0x00007ffff780cfda in g_signal_emit_valist (instance=instance@entry=0x5555562ef090, signal_id=signal_id@entry=418,
detail=detail@entry=0, var_args=var_args@entry=0x7fffffffd2d8) at gsignal.c:3391
#9 0x00007ffff780dab4 in g_signal_emit_by_name (instance=0x5555562ef090, detailed_signal=<optimized out>) at gsignal.c:3487
#10 0x00007ffff2774e31 in deferred_notify_cb () from /lib64/libnm.so.0
#11 0x00007ffff27751c6 in object_property_maybe_complete () from /lib64/libnm.so.0
#12 0x00007ffff2775498 in init_finish () from /lib64/libnm.so.0
#13 0x00007ffff2759d2f in obj_nm_inited () from /lib64/libnm.so.0
#14 0x00007ffff7ab027a in g_simple_async_result_complete (simple=0x555556487030) at gsimpleasyncresult.c:802
#15 0x00007ffff2776f3f in init_async_parent_inited () from /lib64/libnm.so.0
#16 0x00007ffff7ab027a in g_simple_async_result_complete (simple=0x555556494c40) at gsimpleasyncresult.c:802
#17 0x00007ffff7ab02ed in complete_in_idle_cb (data=data@entry=0x555556494c40) at gsimpleasyncresult.c:814
#18 0x00007ffff75130fb in g_idle_dispatch (source=0x5555565262f0, callback=0x7ffff7ab02e0 <complete_in_idle_cb>, user_data=0x555556494c40)
at gmain.c:5535
#19 0x00007ffff75167dd in g_main_dispatch (context=0x555555b7ad60) at gmain.c:3177
#20 g_main_context_dispatch (context=context@entry=0x555555b7ad60) at gmain.c:3830
#21 0x00007ffff7516ba8 in g_main_context_iterate (context=context@entry=0x555555b7ad60, block=block@entry=1, dispatch=dispatch@entry=1,
self=<optimized out>) at gmain.c:3903
#22 0x00007ffff7516c40 in g_main_context_iteration (context=context@entry=0x555555b7ad60, may_block=may_block@entry=1) at gmain.c:3964
---Type <return> to continue, or q <return> to quit---
#23 0x00007ffff7ad9675 in g_application_run (application=0x555555bd66f0, argc=argc@entry=1, argv=argv@entry=0x7fffffffd848)
at gapplication.c:2482
#24 0x00005555555accc5 in main () at ../shell/main.c:57
#25 0x00007fffefee21bb in __libc_start_main () from /lib64/libc.so.6
#26 0x00005555555ace8a in _start ()