Am 29.03.2014 17:39, schrieb Rian Shelley: > This is by no means a complete fix, but the following patch fixes the > segfault. It seems to behave normally now. > > --- a/nm-manager.c 2014-03-29 11:08:25.000000000 -0500 > +++ b/nm-manager.c 2014-03-29 10:53:33.607630448 -0500 > @@ -649,7 +649,11 @@ > return; > } > > - nm_connectivity_set_online (priv->connectivity, new_state >= > NM_STATE_CONNECTED_LOCAL); > + /* don't set online if there is no connectivity object. this > happens > + during startup*/ > + if (priv->connectivity) { > + nm_connectivity_set_online (priv->connectivity, new_state >> = NM_STATE_CONNECTED_LOCAL); > + } > set_state (manager, new_state); > }
Hm, if priv->connectivity is unset, this means something in nm_manager_new() is broken. priv->connectivity is explicitly set in the constructor: priv->connectivity = nm_connectivity_new (connectivity_uri, connectivity_interval, connectivity_response); -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature