J-Lentz/iwgtk

Segmentation fault after disconnecting from network

Closed this issue · 1 comments

This only happened once, after clicking "Disconnect", and I haven't been able to reproduce it.

(iwgtk:23485): GLib-GIO-CRITICAL **: 06:45:31.028: g_dbus_proxy_get_cached_property: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(iwgtk:23485): GLib-CRITICAL **: 06:45:31.028: g_variant_get_string: assertion 'value != NULL' failed

(iwgtk:23485): GLib-GObject-WARNING **: 06:45:31.028: invalid uninstantiatable type '<invalid>' in cast to 'GtkLabel'

(iwgtk:23485): Gtk-CRITICAL **: 06:45:31.028: gtk_label_set_text: assertion 'GTK_IS_LABEL (self)' failed

(iwgtk:23485): GLib-CRITICAL **: 06:45:31.028: g_variant_unref: assertion 'value != NULL' failed

(iwgtk:23485): GLib-GIO-CRITICAL **: 06:45:31.029: g_dbus_proxy_get_cached_property: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(iwgtk:23485): GLib-CRITICAL **: 06:45:31.029: g_variant_get_string: assertion 'value != NULL' failed
Segmentation fault (core dumped)

My suspicion is that these errors were generated in network_set(), which implies that network_set() had been called on a freed Network object. I'm not exactly sure how that could happen, but perhaps clearing the network table as each network proxy goes down (as opposed to when the "scanning" property changes) might be more robust.

Most likely fixed by 59f957b. Will re-open if this segfault is ever observed again.