Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)



I'm not concerned about IPv6 at all. 
I'm running Kernel 3.12

Here is the backtrace:
root beaglebone:~# gdb /usr/sbin/NetworkManager
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/NetworkManager...done.
(gdb) run --debug --g-fatal-warnings
Starting program: /usr/sbin/NetworkManager --debug --g-fatal-warnings
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
NetworkManager-Message: <info>  No config file found or given; using /etc/NetworkManager/NetworkManager.conf

[New Thread 0xb686b3c0 (LWP 2821)]

(NetworkManager:2818): NetworkManager-WARNING **: <warn>  glib-version: cannot handle SIGUSR1 and SIGUSR2 signals. Consider upgrading glib to 2.36.0 or newer

Program received signal SIGTRAP, Trace/breakpoint trap.
0xb6c3c416 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
(gdb) bt full
#0  0xb6c3c416 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
No symbol table info available.
#1  0xb6c3b710 in raise () from /lib/arm-linux-gnueabihf/libpthread.so.0
No symbol table info available.
#2  0xb6ca2d44 in g_logv () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
No symbol table info available.
#3  0xb6ca2e2e in g_log () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
No symbol table info available.
#4  0x000ba55a in _nm_log_impl (file=<optimized out>, line=86, func=0x16fa4c "nm_main_utils_setup_signals", level=<optimized out>, domain=LOGD_CORE, 
    error=<optimized out>, fmt=0x16faf4 "glib-version: cannot handle SIGUSR1 and SIGUSR2 signals. Consider upgrading glib to 2.36.0 or newer") at nm-logging.c:585
        args = {__ap = 0xbefffb70}
        msg = 0x1d21c8 "glib-version: cannot handle SIGUSR1 and SIGUSR2 signals. Consider upgrading glib to 2.36.0 or newer"
        fullmsg = 0x1d23e8 "<warn>  glib-version: cannot handle SIGUSR1 and SIGUSR2 signals. Consider upgrading glib to 2.36.0 or newer"
        tv = {tv_sec = 0, tv_usec = 389145}
        __PRETTY_FUNCTION__ = "_nm_log_impl"
#5  0x0005f0b0 in nm_main_utils_setup_signals (main_loop=0x1cb7f0) at main-utils.c:86
        __PRETTY_FUNCTION__ = "nm_main_utils_setup_signals"
#6  0x0004fcb8 in main (argc=1, argv=0xbefffd44) at main.c:410
        wifi_enabled = 1
        net_enabled = 1
        wwan_enabled = 1
        success = 0
        config = 0x1cec10
        error = 0x0
        wrote_pidfile = 0
        bad_domains = 0x0
        config_cli = 0x0
        __PRETTY_FUNCTION__ = "main"
(gdb) 


I don't think it shows much but hope it's helpful in figuring out what the problem is. I'll try to compile the version you suggested.



On Wed, Mar 9, 2016 at 1:24 AM, Thomas Haller <thaller redhat com> wrote:
On Tue, 2016-03-08 at 15:20 -0800, Ali Nematollahi wrote:
> Hi guys

Hi,

>
> I installed the development version of NM 1.1.90 and I was trying to
> add a connection but NM crapped out with the error:
> NetworkManager:ERROR:nm-exported-
> object.c:293:nm_exported_object_class_add_interface: assertion
> failed: (object_property != NULL)
>
>
> Any ideas why?


>
> root beaglebone:/etc/NetworkManager/system-connections#
> NetworkManager --debug &
> [2] 2751
> root beaglebone:/etc/NetworkManager/system-connections#
> NetworkManager: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version
> information available (required by NetworkManager)
> NetworkManager-Message: <info>  No config file found or given; using
> /etc/NetworkManager/NetworkManager.conf
>
>
> (NetworkManager:2751): NetworkManager-WARNING **: <warn>  glib-
> version: cannot handle SIGUSR1 and SIGUSR2 signals. Consider
> upgrading glib to 2.36.0 or newer

Just to confirm, which glib version are you using? (This warning by
itself is not critical).


> NetworkManager[2751]: <info>  NetworkManager (version 1.1.90) is
> starting...
> NetworkManager[2751]: <info>  Read config:
> /etc/NetworkManager/NetworkManager.conf
> NetworkManager[2751]: <info>  monitoring kernel firmware directory
> '/lib/firmware'.
> NetworkManager[2751]: <info>  dns-mgr[0x1f4c20]: set resolv-conf-
> mode: default
> NetworkManager[2751]: <info>  dns-mgr[0x1f4c20]: using resolv.conf
> manager 'none'
> NetworkManager[2751]: <info>  init!
> NetworkManager[2751]: <info>        interface-parser: parsing file
> /etc/network/interfaces
> NetworkManager[2751]: <info>        interface-parser: finished
> parsing file /etc/network/interfaces
> NetworkManager[2751]: <info>  guessed connection type (eth0) = 802-3-
> ethernet
> NetworkManager[2751]: <info>
>  update_connection_setting_from_if_block: name:eth0, type:802-3-
> ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-
> 687ed5bae28e
> NetworkManager[2751]: <info>  adding eth0 to connections
> NetworkManager[2751]: <info>  adding iface eth0 to eni_ifaces
> NetworkManager[2751]: <info>  guessed connection type (usb0) = 802-3-
> ethernet
> NetworkManager[2751]: <info>
>  update_connection_setting_from_if_block: name:usb0, type:802-3-
> ethernet, id:Ifupdown (usb0), uuid: 3232978a-bef5-2ef2-3aa8-
> fdd650bb306d
> NetworkManager[2751]: <info>  addresses count: 1
> NetworkManager[2751]: <info>  No dns-nameserver configured in
> /etc/network/interfaces
> NetworkManager[2751]: <info>  adding usb0 to connections
> NetworkManager[2751]: <info>  adding iface usb0 to eni_ifaces
> NetworkManager[2751]: <info>  autoconnect
> NetworkManager[2751]: <info>  management mode: unmanaged
> NetworkManager[2751]: <info>  devices added (path:
> /sys/devices/ocp.2/481cc000.d_can/net/can0, iface: can0)
> NetworkManager[2751]: <info>  device added (path:
> /sys/devices/ocp.2/481cc000.d_can/net/can0, iface: can0): no ifupdown
> configuration found.
> NetworkManager[2751]: <info>  devices added (path:
> /sys/devices/ocp.2/481d0000.d_can/net/can1, iface: can1)
> NetworkManager[2751]: <info>  device added (path:
> /sys/devices/ocp.2/481d0000.d_can/net/can1, iface: can1): no ifupdown
> configuration found.
> NetworkManager[2751]: <info>  devices added (path:
> /sys/devices/ocp.2/4a100000.ethernet/net/eth0, iface: eth0)
> NetworkManager[2751]: <info>  locking wired connection setting
> NetworkManager[2751]: <info>  devices added (path:
> /sys/devices/virtual/net/lo, iface: lo)
> NetworkManager[2751]: <info>  device added (path:
> /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration
> found.
> NetworkManager[2751]: <info>  end _init.
> NetworkManager[2751]: <info>  Loaded settings plugin ifupdown: (C)
> 2008 Canonical Ltd.  To report bugs please use the NetworkManager
> mailing list. (/usr/lib/NetworkManager/libnm-settings-plugin-
> ifupdown.so)
> NetworkManager[2751]: <info>  Loaded settings plugin iBFT: (c) 2014
> Red Hat, Inc.  To report bugs please use the NetworkManager mailing
> list. (/usr/lib/NetworkManager/libnm-settings-plugin-ibft.so)
> NetworkManager[2751]: <info>  Loaded settings plugin keyfile: (c)
> 2007 - 2015 Red Hat, Inc.  To report bugs please use the
> NetworkManager mailing list.
> NetworkManager[2751]: <info>  (2088960) ... get_connections.
> NetworkManager[2751]: <info>  (2088960) ... get_connections
> (managed=false): return empty list.
> NetworkManager[2751]: <info>  get unmanaged devices count: 1
> NetworkManager[2751]: <info>  hostname: couldn't get property from
> hostnamed
> NetworkManager[2751]: <info>  WiFi enabled by radio killswitch;
> enabled by state file
> NetworkManager[2751]: <info>  WWAN enabled by radio killswitch;
> enabled by state file
> NetworkManager[2751]: <info>  Networking is enabled by state file
> NetworkManager[2751]: <info>  Loaded device plugin: NMVxlanFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMVlanFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMVethFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMTunFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMMacvlanFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMIPTunnelFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin:
> NMInfinibandFactory (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMEthernetFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMBridgeFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMBondFactory
> (internal)
> NetworkManager[2751]: <info>  Loaded device plugin: NMWifiFactory
> (/usr/lib/NetworkManager/libnm-device-plugin-wifi.so)
> NetworkManager[2751]: <info>  Loaded device plugin: NMBluezManager
> (/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
> NetworkManager[2751]: <info>  Loaded device plugin: NMWwanFactory
> (/usr/lib/NetworkManager/libnm-device-plugin-wwan.so)
> NetworkManager[2751]: <info>  Loaded device plugin: NMAtmManager
> (/usr/lib/NetworkManager/libnm-device-plugin-adsl.so)
> NetworkManager[2751]: <warn>  platform-linux: kernel support for
> IFLA_INET6_ADDR_GEN_MODE failed to detect; assume no support

And which kernel? What gives:

  grep -R IFLA_INET6_ADDR_GEN_MODE /usr/include/

Without this, the IPv6 handling is a bit limited, but should still
mostly work.



> NetworkManager[2751]: <info>  (can0): new Generic device
> (/org/freedesktop/NetworkManager/Devices/0)
> NetworkManager[2751]: <info>  (can1): new Generic device
> (/org/freedesktop/NetworkManager/Devices/1)
> NetworkManager[2751]: <info>  (eth0): link connected
> NetworkManager[2751]: <info>  (eth0): new Ethernet device
> (/org/freedesktop/NetworkManager/Devices/2)
> NetworkManager[2751]: <info>  (lo): link connected
> NetworkManager[2751]: <info>  (lo): new Generic device
> (/org/freedesktop/NetworkManager/Devices/3)
> NetworkManager[2751]: <info>  startup complete
> NetworkManager[2751]: <info>  ModemManager available in the bus
> NetworkManager[2751]: <info>  (ttyUSB2): new Broadband device
> (/org/freedesktop/NetworkManager/Devices/4)
> NetworkManager[2751]: <info>  (ttyUSB2): device state change:
> unmanaged -> unavailable (reason 'managed') [10 20 2]
> NetworkManager[2751]: <info>  (ttyUSB2): modem state 'connected'
> NetworkManager[2751]: <info>  (ttyUSB2): device state change:
> unavailable -> disconnected (reason 'none') [20 30 0]
>
> root beaglebone:/etc/NetworkManager/system-connections#
> root beaglebone:/etc/NetworkManager/system-connections#
> root beaglebone:/etc/NetworkManager/system-connections#
> root beaglebone:/etc/NetworkManager/system-connections# nmcli con add
> type gsm con-name ali ifname ttyUSB2 apn m2minternet.apn
>
> root beaglebone:/etc/NetworkManager/system-connections#
> NetworkManager[2751]: <info>  keyfile: add connection
> /etc/NetworkManager/system-connections/ali (d14ba871-2179-4e8e-82bc-
> bb053c9c6ee9,"ali")
> NetworkManager[2751]: <info>  op="connection-add" uuid="d14ba871-
> 2179-4e8e-82bc-bb053c9c6ee9" name="ali" pid=2760 uid=0
> result="success"
> NetworkManager[2751]: <info>  Auto-activating connection 'ali'.
> **
> NetworkManager:ERROR:nm-exported-
> object.c:293:nm_exported_object_class_add_interface: assertion
> failed: (object_property != NULL)


That is strange. Can run NM in a debugger, like

  # gdb /usr/sbin/NetworkManager
  > run --debug --g-fatal-warnings

and show the backtrace.




Btw, if you happen to recompile NM, please favor 1.2-beta2 (1.1.91).



Thomas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]