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



Hi Thomas

Thanks! Here is the results (full logs from start to finish attached):


(ModemManager:2691): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
ModemManager[2691]: <debug> [1457692760.677812] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 1 (close)
ModemManager[2691]: <debug> [1457692782.685898] [mm-port-serial.c:1237] mm_port_serial_open(): (ttyUSB2) device open count is 2 (open)
ModemManager[2691]: <debug> [1457692782.686408] [mm-broadband-modem.c:1991] modem_load_signal_quality(): loading signal quality...
ModemManager[2691]: <debug> [1457692782.686621] [mm-port-serial.c:1237] mm_port_serial_open(): (ttyUSB2) device open count is 3 (open)
ModemManager[2691]: <debug> [1457692782.686891] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT^SIND?<CR>'
ModemManager[2691]: <debug> [1457692785.677307] [mm-iface-modem.c:934] access_technologies_check_ready(): Couldn't refresh access technologies: 'Serial command timed out'
ModemManager[2691]: <debug> [1457692785.677657] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 2 (close)
ModemManager[2691]: <debug> [1457692785.677951] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT+CSQ<CR>'
ModemManager[2691]: <debug> [1457692785.695618] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- '<CR><LF>^SIND: signal,0,99<CR><LF>^SIND: service,0,1<CR><LF>^SIND: sounder,0,0<CR><LF>^SIND: message,0,0<CR><LF>^SIND: call,0,0<CR><LF>^SIND: roam,0,0<CR><LF>^SIND: smsfull,0,0<CR><LF>^SIND: rssi,0,4<CR><LF>^SIND: audio,0,0<CR><LF>^SIND: simstatus,1,5<CR><LF>^SIND: simdata,0<CR><LF>^SIND: eons,0,1,"0052004F0047004500520053","0052004F0047004500520053",1<CR><LF>^SIND: nitz,0,"00310036002F00300033002F00310031002C00310038003A00310039003A00330031",-32<CR><LF>^SIND: psinfo,0,9<CR><LF>^SIND: vcall,0,0<CR><LF>^SIND: simlocal,0,1<CR><LF>^SIND: lsta,0,0<CR><LF>^SIND: ratmode,0,99<CR><LF>^SIND: pacsp,0,1<CR><LF>^SIND: steerroam,0<CR><LF><CR><LF><CR><LF>OK<CR><LF><CR><LF>+CSQ: 26,99<CR><LF><CR><LF>OK<CR><LF>'
ModemManager[2691]: <debug> [1457692785.696808] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 1 (close)
ModemManager[2691]: <debug> [1457692785.697730] [mm-iface-modem.c:1221] signal_quality_check_ready(): Couldn't refresh signal quality: 'Could not parse signal quality results'
ModemManager[2691]: <debug> [1457692812.700866] [mm-port-serial.c:1237] mm_port_serial_open(): (ttyUSB2) device open count is 2 (open)
ModemManager[2691]: <debug> [1457692812.701470] [mm-iface-modem.c:1101] expire_signal_quality(): Signal quality value not updated in 60s, marking as not being recent
ModemManager[2691]: <debug> [1457692812.701969] [mm-broadband-modem.c:1991] modem_load_signal_quality(): loading signal quality...
ModemManager[2691]: <debug> [1457692812.702183] [mm-port-serial.c:1237] mm_port_serial_open(): (ttyUSB2) device open count is 3 (open)
ModemManager[2691]: <debug> [1457692812.713307] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT^SIND?<CR>'
ModemManager[2691]: <debug> [1457692812.730761] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- 'OK<CR><LF>'
ModemManager[2691]: <debug> [1457692815.676468] [mm-iface-modem.c:934] access_technologies_check_ready(): Couldn't refresh access technologies: 'Serial command timed out'
ModemManager[2691]: <debug> [1457692815.676810] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 2 (close)
ModemManager[2691]: <debug> [1457692815.677095] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT+CSQ<CR>'
ModemManager[2691]: <debug> [1457692815.694298] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- '<CR><LF>+CSQ: 26,99<CR><LF><CR><LF>OK<CR><LF>'
ModemManager[2691]: <debug> [1457692815.695115] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 1 (close)
ModemManager[2691]: <debug> [1457692815.695970] [mm-iface-modem.c:1165] update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (83)
NetworkManager[2723]: <info>  keyfile: add connection /etc/NetworkManager/system-connections/ali (b4f8b0d5-6ad0-4469-93f0-8e8cf4108c75,"ali")
NetworkManager[2723]: <info>  op="connection-add" uuid="b4f8b0d5-6ad0-4469-93f0-8e8cf4108c75" name="ali" pid=2753 uid=0 result="success"
NetworkManager[2723]: <info>  Auto-activating connection 'ali'.
**
NetworkManager:ERROR:nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

Program received signal SIGABRT, Aborted.
0xb6ab8f96 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb)
(gdb)
(gdb) bt full
#0  0xb6ab8f96 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
No symbol table info available.
#1  0xb6ac6f6a in raise () from /lib/arm-linux-gnueabihf/libc.so.6
No symbol table info available.
#2  0xb6ac9408 in abort () from /lib/arm-linux-gnueabihf/libc.so.6
No symbol table info available.
#3  0xb6cb3d6a in g_assertion_message ()
   from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
No symbol table info available.
#4  0xb6cb4142 in g_assertion_message_expr ()
   from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
No symbol table info available.
#5  0x000b1a06 in nm_exported_object_class_add_interface (
    object_class=0xb1a07, dbus_skeleton_type=2404352)
    at nm-exported-object.c:293
        hyphen_name = 0xb6d23000 "\350\336\v"
        classinfo = 0xb6cc750f
        method = {dbus_skeleton_type = 0, method_name = 0x0, impl = 0x4}
        ap = {__ap = 0xbefff974}
        method_name = <optimized out>
        impl = <optimized out>
        interfaces = 0x0
        n_interfaces = <optimized out>
---Type <return> to continue, or q <return> to quit---
        n_signals = <optimized out>
        n_method_signals = <optimized out>
        object_signal_id = <optimized out>
        query = {signal_id = 0, signal_name = 0x0, itype = 2404656,
          signal_flags = 1829872, return_type = 0, n_params = 655621,
          param_types = 0x0}
        i = <optimized out>
        s = <optimized out>
        dbus_object_class = 0x207360
        dbus_properties = 0x187358
        object_property = <optimized out>
        n_dbus_properties = 0
        __PRETTY_FUNCTION__ = "nm_exported_object_class_add_interface"
#6  0xb6d46634 in g_type_class_ref ()
   from /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0
No symbol table info available.
#7  0xb6d466ce in g_type_class_ref ()
   from /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0
No symbol table info available.
#8  0xb6d35972 in g_object_new_valist ()
   from /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0
No symbol table info available.
#9  0xb6d35b88 in g_object_new ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0
No symbol table info available.
#10 0x0009fa3e in nm_act_request_new (settings_connection=<optimized out>,
    specific_object=0x0, subject=0x1e9350, device=0x24c208)
    at nm-activation-request.c:487
        __PRETTY_FUNCTION__ = "nm_act_request_new"
#11 0x000c485c in nm_manager_activate_connection (self=0x1e2020,
    connection=0x251860, specific_object=0x0, device=0x24c208,
    subject=0x1e9350, error=0xbefffb14) at nm-manager.c:3112
        priv = 0x1e2090
        active = <optimized out>
        error_desc = 0x0
        iter = 0x0
        __PRETTY_FUNCTION__ = "nm_manager_activate_connection"
#12 0x000c70be in auto_activate_device (user_data=0x2524b0) at nm-policy.c:694
        error = 0x0
        subject = 0x1e9350
        data = "">
        policy = <optimized out>
        priv = <optimized out>
        best_connection = 0x251860
        specific_object = 0x0
        connections = 0x211530
---Type <return> to continue, or q <return> to quit---
        connection_list = 0x24b4b8
        i = <optimized out>
        __PRETTY_FUNCTION__ = "auto_activate_device"
#13 0xb6c9ca02 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
No symbol table info available.
#14 0xb6c9ca02 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)


On Fri, Mar 11, 2016 at 7:59 AM, Thomas Haller <thaller redhat com> wrote:
On Thu, 2016-03-10 at 10:24 -0800, Ali Nematollahi wrote:

> NetworkManager[2717]: <info>  startup complete
> [New Thread 0xb4e0d3c0 (LWP 2724)]
> NetworkManager[2717]: <info>  ModemManager available in the bus
> NetworkManager[2717]: <info>  (ttyUSB2): new Broadband device
> (/org/freedesktop/NetworkManager/Devices/4)
> NetworkManager[2717]: <info>  (ttyUSB2): device state change:
> unmanaged -> unavailable (reason 'managed') [10 20 2]
> NetworkManager[2717]: <info>  (ttyUSB2): modem state 'connected'
> NetworkManager[2717]: <info>  (ttyUSB2): device state change:
> unavailable -> disconnected (reason 'none') [20 30 0]
> NetworkManager[2717]: <info>  Auto-activating connection 'ali'.
> **
> NetworkManager:ERROR:nm-exported-
> object.c:293:nm_exported_object_class_add_interface: assertion
> failed: (object_property != NULL)

Hi Ali,


Beside your issues with ModemManager, there is a crash in
NetworkManager.

Can you try to add the line:

     nm_log_info (LOGD_CORE, "NetworkManager (version " NM_DIST_VERSION ") is starting...");
 
+    g_type_ensure (NM_TYPE_ACTIVE_CONNECTION);
+
     /* Parse the state file */


to src/main.c?

You will also need:
  #include "nm-active-connection.h


Then try again with

  export G_DEBUG=fatal-criticals




Thomas


>
> Program received signal SIGABRT, Aborted.
> 0xb6ab8f96 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6
> (gdb) bt

Attachment: nmcli_debug_log.txt
Description: Text document



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