在 2014年12月10日 22:31, Tianming Xie 写道: > Package: network-manager > Version: 0.9.10.0-3 > Severity: important > > 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. > > > > -- System Information: > Debian Release: 8.0 > APT prefers testing > APT policy: (900, 'testing'), (500, 'testing-proposed-updates'), (500, > 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) > Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages network-manager depends on: > ii adduser 3.113+nmu3 > ii dbus 1.8.12-1 > ii init-system-helpers 1.22 > ii isc-dhcp-client 4.3.1-5 > ii libc6 2.19-13 > ii libdbus-1-3 1.8.12-1 > ii libdbus-glib-1-2 0.102-1 > ii libgcrypt20 1.6.2-4+b1 > ii libglib2.0-0 2.42.1-1 > ii libgnutls-deb0-28 3.3.8-5 > ii libgudev-1.0-0 215-7 > ii libmm-glib0 1.4.0-1 > ii libndp0 1.4-2 > ii libnewt0.52 0.52.17-1+b1 > ii libnl-3-200 3.2.24-2 > ii libnl-genl-3-200 3.2.24-2 > ii libnl-route-3-200 3.2.24-2 > ii libnm-glib4 0.9.10.0-3 > ii libnm-util2 0.9.10.0-3 > ii libpam-systemd 215-7 > ii libpolkit-gobject-1-0 0.105-8 > ii libreadline6 6.3-8+b2 > ii libsoup2.4-1 2.48.0-1 > ii libsystemd0 215-7 > ii libteamdctl0 1.12-1 > ii libuuid1 2.25.2-3 > ii lsb-base 4.1+Debian13+nmu1 > ii policykit-1 0.105-8 > ii udev 215-7 > ii wpasupplicant 2.3-1 > > Versions of packages network-manager recommends: > ii crda 3.13-1 > ii dnsmasq-base 2.72-2 > ii iptables 1.4.21-2+b1 > ii modemmanager 1.4.0-1 > ii ppp 2.4.6-3 > > Versions of packages network-manager suggests: > ii avahi-autoipd 0.6.31-4+b2 > pn libteam-utils <none> > > -- no debconf information 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.
signature.asc
Description: OpenPGP digital signature