I recently found a case in which:

        1) Connman seems to create empty, strange profiles.
        2) When start-up up on a subsequent occasion, connman faults when 
attempting to load and add these profiles.

In the post-mortem, I found:

        drwxr-xr-x 3 root root 0        Feb 4 12:00 . 
        drwxr-xr-x 4 root root 0        Feb 4 12:00 .. 
        -rw-r--r-- 1 root root 0        Feb 4 12:20 .profile 
        -rw------- 1 root root 6467     Feb 4 12:59 default.profile
        drwxr-xr-x 2 root root 0        Feb 4 12:20 stats 
        -rw-r--r-- 1 root root 0        Feb 4 12:20 u.profile 

in the /var/lib/connman directory. The log and backtrace is as follows below. 
I'll follow up with the results of a debugger session:

        connmand[274]: Connection Manager version 0.68
        connmand[274]: connman/connman-0.68/src/dbus.c:__connman_dbus_init() 
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_init() 
        connmand[274]: 
connman/connman-0.68/src/element.c:__connman_element_init() 
        connmand[274]: 
connman/connman-0.68/src/element.c:connman_element_create() element 0x60008
        connmand[274]: 
connman/connman-0.68/src/element.c:__connman_element_initialize() element 
0x60008
        connmand[274]: 
connman/connman-0.68/src/technology.c:__connman_technology_init() 
        connmand[274]: 
connman/connman-0.68/src/notifier.c:__connman_notifier_init() 
        connmand[274]: 
connman/connman-0.68/src/location.c:__connman_location_init() 
        connmand[274]: 
connman/connman-0.68/src/service.c:__connman_service_init() 
        connmand[274]: 
connman/connman-0.68/src/storage.c:connman_storage_register() storage 0x57018 
name service
        connmand[274]: 
connman/connman-0.68/src/provider.c:__connman_provider_init() 
        connmand[274]: 
connman/connman-0.68/src/notifier.c:connman_notifier_register() notifier 
0x5714c name provider
        connmand[274]: 
connman/connman-0.68/src/network.c:__connman_network_init() 
        connmand[274]: 
connman/connman-0.68/src/element.c:connman_driver_register() driver 0x56d20 
name network
        connmand[274]: 
connman/connman-0.68/src/device.c:__connman_device_init() 
        connmand[274]: 
connman/connman-0.68/src/storage.c:connman_storage_register() storage 0x56cf4 
name device
        connmand[274]: 
connman/connman-0.68/src/element.c:connman_driver_register() driver 0x56cd8 
name device
        connmand[274]: connman/connman-0.68/src/agent.c:__connman_agent_init() 
        connmand[274]: 
connman/connman-0.68/src/iptables.c:__connman_iptables_init() 
        connmand[274]: 
connman/connman-0.68/src/tethering.c:__connman_tethering_init() 
        connmand[274]: 
connman/connman-0.68/src/counter.c:__connman_counter_init() 
        connmand[274]: 
connman/connman-0.68/src/manager.c:__connman_manager_init() 
        connmand[274]: 
connman/connman-0.68/src/notifier.c:connman_notifier_register() notifier 
0x56d70 name manager
        connmand[274]: 
connman/connman-0.68/src/profile.c:__connman_profile_init() 
        connmand[274]: 
connman/connman-0.68/src/storage.c:connman_storage_register() storage 0x56f8c 
name profile
        connmand[274]: 
connman/connman-0.68/src/config.c:__connman_config_init() 
        connmand[274]: connman/connman-0.68/src/config.c:read_configs() 
        connmand[274]: connman/connman-0.68/src/stats.c:__connman_stats_init() 
        connmand[274]: 
connman/connman-0.68/src/resolver.c:__connman_resolver_init() dnsproxy 1
        connmand[274]: 
connman/connman-0.68/src/dnsproxy.c:__connman_dnsproxy_init() dnsproxy 1
        connmand[274]: 
connman/connman-0.68/src/dnsproxy.c:create_dns_listener() 
        connmand[274]: 
connman/connman-0.68/src/dnsproxy.c:create_dns_listener() 
        connmand[274]: 
connman/connman-0.68/src/resolver.c:__connman_resolvfile_append() interface lo 
server 127.0.0.1
        connmand[274]: 
connman/connman-0.68/src/notifier.c:connman_notifier_register() notifier 
0x57324 name dnsproxy
        connmand[274]: 
connman/connman-0.68/src/ipconfig.c:__connman_ipconfig_init() 
        connmand[274]: connman/connman-0.68/src/rtnl.c:__connman_rtnl_init() 
        connmand[274]: connman/connman-0.68/src/task.c:__connman_task_init() 
        connmand[274]: connman/connman-0.68/src/proxy.c:__connman_proxy_init() 
        connmand[274]: 
connman/connman-0.68/src/detect.c:__connman_detect_init() 
        connmand[274]: connman/connman-0.68/src/rtnl.c:connman_rtnl_register() 
rtnl 0x57164 name detect
        connmand[274]: 
connman/connman-0.68/src/session.c:__connman_session_init() 
        connmand[274]: 
connman/connman-0.68/src/timeserver.c:__connman_timeserver_init() 
        connmand[274]: 
connman/connman-0.68/src/plugin.c:__connman_plugin_init() 
        connmand[274]: Checking loopback interface settings
        connmand[274]: System hostname is salmon.local
        connmand[274]: System domainname is comcast.com
        connmand[274]: 
connman/connman-0.68/src/utsname.c:connman_utsname_driver_register() driver 
0x40385340 name loopback
        connmand[274]: 
connman/connman-0.68/src/network.c:connman_network_driver_register() driver 
0x4038fd4c name cable
        connmand[274]: 
connman/connman-0.68/src/device.c:connman_device_driver_register() driver 
0x4038fd6c name ethernet
        connmand[274]: 
connman/connman-0.68/src/element.c:__connman_element_foreach() 
        connmand[274]: connman/connman-0.68/src/element.c:foreach_callback() 
element 0x60008 name root
        connmand[274]: 
connman/connman-0.68/src/technology.c:connman_technology_driver_register() 
driver 0x4038fd28 name cdc_ethernet
        connmand[274]: 
connman/connman-0.68/src/timeserver.c:connman_timeserver_driver_register() 
driver 0x4037b658 name ntpd
        connmand[274]: 
connman/connman-0.68/src/network.c:connman_network_driver_register() driver 
0x40371430 name wifi
        connmand[274]: 
connman/connman-0.68/src/technology.c:connman_technology_driver_register() 
driver 0x4037140c name wifi
        connmand[274]: 
connman/connman-0.68/src/element.c:__connman_element_start() 
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_init_profile() 
        connmand[274]: connman/connman-0.68/src/profile.c:profile_init() 
        connmand[274]: connman/connman-0.68/src/profile.c:create_profile() 
ident u name (null)
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_load_profile() profile 
0x5fd10
        connmand[274]: connman/connman-0.68/src/profile.c:profile_load() 
profile 0x5fd10
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_open() ident u suffix 
profile
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_open() keyfile 0x6a800
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_close() ident u suffix 
profile keyfile 0x6a800 save 0
        connmand[274]: Adding profile u
        connmand[274]: connman/connman-0.68/src/profile.c:create_profile() 
profile 0x5fd10 path /profile/u
        connmand[274]: connman/connman-0.68/src/profile.c:create_profile() 
ident default name (null)
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_load_profile() profile 
0x6a740
        connmand[274]: connman/connman-0.68/src/profile.c:profile_load() 
profile 0x6a740
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_open() ident default 
suffix profile
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_open() keyfile 0x6a828
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_close() ident default 
suffix profile keyfile 0x6a828 save 0
        connmand[274]: Adding profile default
        connmand[274]: connman/connman-0.68/src/profile.c:create_profile() 
profile 0x6a740 path /profile/default
        connmand[274]: connman/connman-0.68/src/profile.c:create_profile() 
ident  name (null)
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_load_profile() profile 
0x61f70
        connmand[274]: connman/connman-0.68/src/profile.c:profile_load() 
profile 0x61f70
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_open() ident  suffix 
profile
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_open() keyfile 0x6a850
        connmand[274]: 
connman/connman-0.68/src/storage.c:__connman_storage_close() ident  suffix 
profile keyfile 0x6a850 save 0
        connmand[274]: Adding profile 
        274: assertion failed "i < j" file 
"dbus/dbus-1.4.1/dbus/dbus-object-tree.c" line 1125 function 
_dbus_decompose_path
          /lib/libdbus-1.so.3(+0x455b4) [0x401715b4]
          /lib/libdbus-1.so.3(+0x4c418) [0x40178418]
          /lib/libdbus-1.so.3(+0x38c98) [0x40164c98]
          /lib/libdbus-1.so.3(+0x2908c) [0x4015508c]
          /lib/libdbus-1.so.3(dbus_connection_get_object_path_data+0xc4) 
[0x40139758]
          /usr/sbin/connmand(g_dbus_register_interface+0x20) [0x13850]
          /usr/sbin/connmand() [0x24710]
          /usr/sbin/connmand() [0x24b44]
          /usr/sbin/connmand() [0x39b94]
          /usr/sbin/connmand() [0x1c994]
          /usr/sbin/connmand() [0x1a77c]
          /lib/libc.so.6(__libc_start_main+0x118) [0x401f84c4]
        connmand[274]: Aborting (signal 6)
        connmand[274]: ++++++++ backtrace ++++++++
        connmand[274]: [0]: /lib/libc.so.6(__default_sa_restorer_v2+0) 
[0x40210630]
        connmand[274]: [1]: /lib/libc.so.6(gsignal+0x40) [0x4020f2ec]
        connmand[274]: [2]: /lib/libc.so.6(abort+0x1b0) [0x40214b04]
        connmand[274]: [3]: /lib/libdbus-1.so.3(+0x4c444) [0x40178444]
        connmand[274]: [4]: /lib/libdbus-1.so.3(+0x38c98) [0x40164c98]
        connmand[274]: [5]: /lib/libdbus-1.so.3(+0x2908c) [0x4015508c]
        connmand[274]: [6]: 
/lib/libdbus-1.so.3(dbus_connection_get_object_path_data+0xc4) [0x40139758]
        connmand[274]: [7]: /usr/sbin/connmand(g_dbus_register_interface+0x20) 
[0x13850]
        connmand[274]: [8]: /usr/sbin/connmand() [0x24710]
        connmand[274]: [9]: /usr/sbin/connmand() [0x24b44]
        connmand[274]: [10]: /usr/sbin/connmand() [0x39b94]
        connmand[274]: [11]: /usr/sbin/connmand() [0x1c994]
        connmand[274]: [12]: /usr/sbin/connmand() [0x1a77c]
        connmand[274]: [13]: /lib/libc.so.6(__libc_start_main+0x118) 
[0x401f84c4]
        connmand[274]: +++++++++++++++++++++++++++

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to