#772725 network-manager: NetworkManager daemon aborts after removing an interface.

Package:
network-manager
Source:
network-manager
Description:
network management framework (daemon and userspace tools)
Submitter:
Tianming Xie
Date:
2014-12-11 14:51:05 UTC
Severity:
important
#772725#5
Date:
2014-12-10 14:31:23 UTC
From:
To:
Dear Maintainer,

        The NetworkManager daemon aborts after removing any interface (eg.
unplug an iphone, which expose an ipheth interface, or any hot-pluggable NIC
card) on one of my computers (on which I am writing this bug report), which has
never taken place on my other computers.

        I managed to grab the core file of NetworkManager daemon, which may be
useful.

        Thanks.

#772725#10
Date:
2014-12-11 14:46:41 UTC
From:
To:
在 2014年12月10日 22:31, Tianming Xie 写道:
    Today I went into the core a bit further. When the NM daemon aborts,
a Nokia phone providing Phonet interface is connected to the computer.
So before the abortion, the value (which you can see via the core) of
((struct rtnl_route*)object)->rt_family (and ((struct
rtnl_addr*)object)->a_family, located in the same address of ((struct
rtnl_route*)object)->rt_family ) is 35 "AF_PHONET", a value that
function object_type_from_nl_object() can not recognize and give a
return value OBJECT_TYPE_UNKNOWN, leading to object_has_ifindex() to
abort the daemon.