Hi everyone,

I'm getting a SEGFAULT when powering off a gemalto ALS3 modem with SetProperty("Powered", Variant(false)).

This method call is made right after the SimManager interface is on which could explain the error.

Log from oFono:

ofonod[6950]: src/sim.c:sim_remove() atom: 0x1604f0
(ofonod:6950): GLib-CRITICAL **: g_queue_is_empty: assertion 'queue != NULL' failed

gdb backtrace:

Program received signal SIGSEGV, Segmentation fault.
__ofono_sim_remove_session_watch (session=0x74656e, id=16) at src/sim.c:3616
3616        __ofono_watchlist_remove_item(session->watches, id);
(gdb) bt
#0  __ofono_sim_remove_session_watch (session=0x74656e, id=16) at src/sim.c:3616
#1  0x000e368c in sim_fs_op_free (pointer=0x172498) at src/simfs.c:102
#2  0x76f11304 in node_rotate (node=0x74656e) at /usr/src/debug/glib-2.0/1_2.38.2-r0/glib-2.38.2/glib/gsequence.c:1840 #3  0x76f11384 in node_update_fields (node=<optimized out>) at /usr/src/debug/glib-2.0/1_2.38.2-r0/glib-2.38.2/glib/gsequence.c:1827 #4  node_rotate (node=0x74656e) at /usr/src/debug/glib-2.0/1_2.38.2-r0/glib-2.38.2/glib/gsequence.c:1891 #5  0x000c2d7c in sim_remove (atom=0xe3640 <sim_fs_op_free>) at src/sim.c:3175 #6  0x000a25c4 in flush_atoms (modem=0x160c00, new_state=MODEM_STATE_POWER_OFF) at src/modem.c:432 #7  modem_change_state (modem=0x160c00, new_state=MODEM_STATE_POWER_OFF) at src/modem.c:510 #8  0x000a2874 in set_powered (modem=modem@entry=0x160c00, powered=0) at src/modem.c:896 #9  0x000a2e5c in modem_set_property (conn=0x13e508, msg=0x140c28, data=0x160c00) at src/modem.c:1120 #10 0x000f657c in process_message (connection=connection@entry=0x13e508, message=message@entry=0x140c28, iface_user_data=iface_user_data@entry=0x160c00, method=0x11649c <modem_methods+24>, method=0x11649c <modem_methods+24>)
    at gdbus/object.c:259
#11 0x000f6998 in generic_message (connection=0x13e508, message=message@entry=0x140c28, user_data=user_data@entry=0x15eec0) at gdbus/object.c:1070 #12 0x76e9f240 in _dbus_object_tree_dispatch_and_unlock (tree=0x13e2f0, message=message@entry=0x140c28, found_object=found_object@entry=0x7efffa64) at /usr/src/debug/dbus/1.6.18-r0/dbus-1.6.18/dbus/dbus-object-tree.c:862 #13 0x76e8fac4 in dbus_connection_dispatch (connection=connection@entry=0x13e508) at /usr/src/debug/dbus/1.6.18-r0/dbus-1.6.18/dbus/dbus-connection.c:4672
#14 0x000f3100 in message_dispatch (data=0x13e508) at gdbus/mainloop.c:72
#15 0x76efd9c4 in profile_print_locked (local_data=<optimized out>, success=<optimized out>) at /usr/src/debug/glib-2.0/1_2.38.2-r0/glib-2.38.2/glib/gmem.c:637 #16 0x76f010b0 in g_node_first_sibling (node=0x13d600) at /usr/src/debug/glib-2.0/1_2.38.2-r0/glib-2.38.2/glib/gnode.c:1173
#17 0x00000000 in ?? ()

If you have any idea of the reason, let me know.

Best regards,

Gabriel

_______________________________________________
ofono mailing list
ofono@ofono.org
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to