Hi,

I have downloaded and compiled connman-0.55. It segfaults at launch,
before I can do anything.

It is cross-compiled for embedded arm platform. I have disabled the dhcp
and udhcpc plugins (however even if I enable the udhcpc plugin the
problem still occurs). It seems to crash in some dhcp code (as the two
last debug messages are "connmand[1494]: plugins/dhcp.c:dhcp_request()
dhcp 0x48c78
connmand[1494]: src/utsname.c:connman_utsname_get_hostname()")

I can't find any reference to a similar problem on the mailing list.
Here's the backtrace :

-bash-4.1# connmand -n -d
connmand[1494]: Connection Manager version 0.55
connmand[1494]: src/storage.c:__connman_storage_init() 
connmand[1494]: src/element.c:__connman_element_init() 
connmand[1494]: src/element.c:connman_element_create() element 0x462d0
connmand[1494]: src/element.c:__connman_element_initialize() element
0x462d0
connmand[1494]: src/technology.c:__connman_technology_init() 
connmand[1494]: src/notifier.c:__connman_notifier_init() 
connmand[1494]: src/service.c:__connman_service_init() 
connmand[1494]: src/storage.c:connman_storage_register() storage 0x3fb10
name service
connmand[1494]: src/provider.c:__connman_provider_init() 
connmand[1494]: src/network.c:__connman_network_init() 
connmand[1494]: src/element.c:connman_driver_register() driver 0x3f7e8
name network
connmand[1494]: src/device.c:__connman_device_init() 
connmand[1494]: src/storage.c:connman_storage_register() storage 0x3f754
name device
connmand[1494]: src/element.c:connman_driver_register() driver 0x3f738
name device
connmand[1494]: src/agent.c:__connman_agent_init() 
connmand[1494]: src/tethering.c:__connman_tethering_init() 
connmand[1494]: src/counter.c:__connman_counter_init() 
connmand[1494]: src/manager.c:__connman_manager_init() 
connmand[1494]: src/notifier.c:connman_notifier_register() notifier
0x3f878 name manager
connmand[1494]: src/profile.c:__connman_profile_init() 
connmand[1494]: src/storage.c:connman_storage_register() storage 0x3fa90
name profile
connmand[1494]: src/config.c:__connman_config_init() 
connmand[1494]: src/config.c:read_configs() 
connmand[1494]: src/resolver.c:__connman_resolver_init() 
connmand[1494]: src/resolver.c:connman_resolver_register() resolver
0x3fc5c name resolvfile
connmand[1494]: src/ipconfig.c:__connman_ipconfig_init() 
connmand[1494]: src/rtnl.c:__connman_rtnl_init() 
connmand[1494]: src/udev-compat.c:__connman_udev_init() 
connmand[1494]: src/rtnl.c:connman_rtnl_register() rtnl 0x3fcf8 name
detect
connmand[1494]: src/task.c:__connman_task_init() 
connmand[1494]: src/session.c:__connman_session_init() 
connmand[1494]: src/timeserver.c:__connman_timeserver_init() 
connmand[1494]: src/plugin.c:__connman_plugin_init() 
connmand[1494]: src/timeserver.c:connman_timeserver_driver_register()
driver 0x402be610 name ntpd
connmand[1494]: src/network.c:connman_network_driver_register() driver
0x402b45f4 name wifi
connmand[1494]: src/network.c:connman_network_driver_register() driver
0x402a36c4 name cable
connmand[1494]: src/device.c:connman_device_driver_register() driver
0x402a36e4 name ethernet
connmand[1494]: src/element.c:__connman_element_foreach() 
connmand[1494]: src/element.c:foreach_callback() element 0x462d0 name
(null)
connmand[1494]: src/dhcp.c:connman_dhcp_driver_register() driver 0x3f5ec
name dhcp
connmand[1494]: src/element.c:__connman_element_start() 
connmand[1494]: src/storage.c:__connman_storage_init_profile() 
connmand[1494]: src/profile.c:profile_init() 
connmand[1494]: src/profile.c:create_profile() ident default name (null)
connmand[1494]: src/storage.c:__connman_storage_load_profile() profile
0x47a18
connmand[1494]: src/profile.c:profile_load() profile 0x47a18
connmand[1494]: src/storage.c:__connman_storage_open() ident default
suffix profile
connmand[1494]: src/storage.c:__connman_storage_open() keyfile 0x47e00
connmand[1494]: src/storage.c:__connman_storage_close() ident default
suffix profile keyfile 0x47e00 save 0
connmand[1494]: Adding profile default
connmand[1494]: src/profile.c:create_profile() profile 0x47a18
path /profile/default
connmand[1494]: src/element.c:probe_node() element 0x462d0 name (null)
connmand[1494]: src/rtnl.c:__connman_rtnl_start() 
connmand[1494]: src/rtnl.c:send_getlink() 
connmand[1494]: src/rtnl.c:send_request() GETLINK len 20 type 18 flags
0x0301 seq 0
connmand[1494]: src/rtnl.c:send_getaddr() 
connmand[1494]: src/rtnl.c:send_getroute() 
connmand[1494]: src/udev-compat.c:__connman_udev_start() 
connmand[1494]: src/connection.c:__connman_connection_init() 
connmand[1494]: src/rtnl.c:connman_rtnl_register() rtnl 0x3f860 name
connection
connmand[1494]: src/element.c:connman_driver_register() driver 0x3f844
name connection
connmand[1494]: src/element.c:probe_driver() element 0x462d0 name (null)
connmand[1494]: src/element.c:connman_driver_register() driver 0x3fc7c
name ipv4
connmand[1494]: src/element.c:probe_driver() element 0x462d0 name (null)
connmand[1494]: src/element.c:connman_driver_register() driver 0x3fc98
name dhcp
connmand[1494]: src/element.c:probe_driver() element 0x462d0 name (null)
connmand[1494]: src/rfkill.c:__connman_rfkill_init() 
connmand[1494]: Failed to open RFKILL control device
connmand[1494]: src/device.c:connman_device_driver_register() driver
0x402b4614 name wifi
connmand[1494]: src/element.c:__connman_element_foreach() 
connmand[1494]: src/element.c:foreach_callback() element 0x462d0 name
(null)
connmand[1494]: src/rtnl.c:rtnl_message() buf 0xbeccebd0 len 972
connmand[1494]: src/rtnl.c:rtnl_message() NEWLINK len 236 type 16 flags
0x0002 seq 0
connmand[1494]: src/ipconfig.c:__connman_ipconfig_newlink() index 1
connmand[1494]: lo {newlink} index 1 operstate 2 <DOWN>
connmand[1494]: src/udev-compat.c:detect_newlink() type 772 index 1
connmand[1494]: src/rtnl.c:rtnl_message() NEWLINK len 244 type 16 flags
0x0002 seq 0
connmand[1494]: src/ipconfig.c:__connman_ipconfig_newlink() index 2
connmand[1494]: eth0 {create} index 2 type 1 <ETHER>
connmand[1494]: eth0 {RX} 1101918 packets 147455916 bytes
connmand[1494]: eth0 {TX} 699 packets 57743 bytes
connmand[1494]: eth0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
connmand[1494]: src/ipconfig.c:__connman_ipconfig_lower_up() ipconfig
(nil)
connmand[1494]: eth0 {newlink} index 2 address 00:E0:4C:03:5B:AA mtu
1500
connmand[1494]: eth0 {newlink} index 2 operstate 6 <UP>
connmand[1494]: Create interface eth0 [ ethernet ]
connmand[1494]: src/udev-compat.c:detect_newlink() type 1 index 2
connmand[1494]: src/device.c:connman_device_create() node 00e04c035baa
type 1
connmand[1494]: src/device.c:connman_device_create() device 0x45d20
connmand[1494]: src/element.c:__connman_element_initialize() element
0x45d20
connmand[1494]: src/element.c:set_static_property() element 0x45d20 name
00e04c035baa
connmand[1494]: src/element.c:set_static_property() name Type type 115
value 0xbecce9d8
connmand[1494]: src/device.c:connman_device_set_string() device 0x45d20
key Address value 00:E0:4C:03:5B:AA
connmand[1494]: src/element.c:set_static_property() element 0x45d20 name
00e04c035baa
connmand[1494]: src/element.c:set_static_property() name Address type
115 value 0xbecce9ec
connmand[1494]: src/storage.c:__connman_storage_load_device() device
0x45d20
connmand[1494]: src/profile.c:__connman_profile_active_ident() 
connmand[1494]: src/device.c:device_load() device 0x45d20
connmand[1494]: src/storage.c:__connman_storage_open() ident default
suffix profile
connmand[1494]: src/storage.c:__connman_storage_open() keyfile 0x47e28
connmand[1494]: src/storage.c:__connman_storage_close() ident default
suffix profile keyfile 0x47e28 save 0
connmand[1494]: src/profile.c:__connman_profile_get_offlinemode()
offlinemode 0
connmand[1494]: src/element.c:connman_element_register() element 0x45d20
name 00e04c035baa parent (nil)
connmand[1494]: src/element.c:connman_element_ref() element 0x45d20 name
00e04c035baa refcount 2
connmand[1494]: src/element.c:register_element() element 0x45d20
path /org/moblin/connman/device/00e04c035baa
connmand[1494]: src/element.c:probe_element() element 0x45d20 name
00e04c035baa
connmand[1494]: src/element.c:probe_element() driver 0x3f738 name device
connmand[1494]: src/device.c:device_probe() element 0x45d20 name
00e04c035baa
connmand[1494]: src/device.c:device_probe() driver 0x402a36e4 name
ethernet
connmand[1494]: src/rtnl.c:connman_rtnl_add_newlink_watch() id 1
connmand[1494]: src/device.c:connman_device_set_powered() driver 0x45d20
powered 1
connmand[1494]: src/device.c:__connman_device_enable() device 0x45d20
connmand[1494]: src/technology.c:__connman_technology_enable_device()
device 0x45d20
connmand[1494]: src/notifier.c:__connman_notifier_enable() type 2
connmand[1494]: src/notifier.c:technology_enabled() type 2 enabled 1
connmand[1494]: src/manager.c:technology_notify() type 2 enabled 1
connmand[1494]: src/network.c:connman_network_create() identifier
carrier type 1
connmand[1494]: src/network.c:connman_network_create() network 0x46140
connmand[1494]: src/element.c:__connman_element_initialize() element
0x46140
connmand[1494]: src/element.c:set_static_property() element 0x46140 name
carrier
connmand[1494]: src/element.c:set_static_property() name Type type 115
value 0xbecce9a8
connmand[1494]: src/element.c:set_static_property() element 0x46140 name
carrier
connmand[1494]: src/element.c:set_static_property() name Strength type
121 value 0xbecce9a8
connmand[1494]: src/service.c:__connman_service_lookup_from_network()
network 0x46140
connmand[1494]: src/network.c:connman_network_set_name() network 0x46140
name Wired
connmand[1494]: src/element.c:set_static_property() element 0x46140 name
carrier
connmand[1494]: src/element.c:set_static_property() name Name type 115
value 0xbecce9c0
connmand[1494]: src/device.c:connman_device_add_network() device 0x45d20
network 0x46140
connmand[1494]: src/element.c:connman_element_register() element 0x46140
name carrier parent 0x45d20
connmand[1494]: src/element.c:connman_element_ref() element 0x46140 name
carrier refcount 2
connmand[1494]: src/element.c:register_element() element 0x46140
path /org/moblin/connman/device/00e04c035baa/carrier
connmand[1494]: src/element.c:probe_element() element 0x46140 name
carrier
connmand[1494]: src/element.c:probe_element() driver 0x3f7e8 name
network
connmand[1494]: src/network.c:network_probe() element 0x46140 name
carrier
connmand[1494]: src/network.c:network_probe() driver 0x402a36c4 name
cable
connmand[1494]: src/network.c:register_interface() element 0x46140 name
carrier
connmand[1494]: src/element.c:__connman_element_list() 
connmand[1494]: src/element.c:append_path() element 0x45d20 name
00e04c035baa
connmand[1494]: src/element.c:append_path() element 0x46140 name carrier
connmand[1494]: src/network.c:connman_network_set_available() network
0x46140 available 1
connmand[1494]: src/profile.c:__connman_profile_add_network() network
0x46140
connmand[1494]: src/service.c:__connman_service_create_from_network()
network 0x46140
connmand[1494]: src/service.c:connman_service_create() service 0x48a38
connmand[1494]: src/service.c:__connman_service_initialize() service
0x48a38
connmand[1494]: src/location.c:__connman_location_create() service
0x48a38
connmand[1494]: src/location.c:__connman_location_create() location
0x480f0
connmand[1494]: src/service.c:__connman_service_get() service 0x48a38
connmand[1494]: src/profile.c:__connman_profile_active_ident() 
connmand[1494]: src/service.c:update_from_network() service 0x48a38
network 0x46140
connmand[1494]: src/network.c:connman_network_get_string() network
0x46140 key Name
connmand[1494]: src/network.c:connman_network_get_uint8() network
0x46140 key Strength
connmand[1494]: src/network.c:connman_network_get_bool() network 0x46140
key Roaming
connmand[1494]: src/network.c:connman_network_get_string() network
0x46140 key WiFi.Mode
connmand[1494]: src/network.c:connman_network_get_string() network
0x46140 key WiFi.Security
connmand[1494]: src/network.c:connman_network_get_string() network
0x46140 key Cellular.MCC
connmand[1494]: src/element.c:get_static_property() element 0x46140 name
carrier
connmand[1494]: src/element.c:get_static_property() element 0x45d20 name
00e04c035baa
connmand[1494]: src/element.c:get_static_property() element 0x462d0 name
(null)
connmand[1494]: src/network.c:connman_network_get_string() network
0x46140 key Cellular.MNC
connmand[1494]: src/element.c:get_static_property() element 0x46140 name
carrier
connmand[1494]: src/element.c:get_static_property() element 0x45d20 name
00e04c035baa
connmand[1494]: src/element.c:get_static_property() element 0x462d0 name
(null)
connmand[1494]: src/element.c:connman_element_ref() element 0x46140 name
carrier refcount 3
connmand[1494]: src/ipconfig.c:connman_ipconfig_create() index 2
connmand[1494]: src/ipconfig.c:connman_ipconfig_create() ipconfig
0x47860
connmand[1494]: src/profile.c:__connman_profile_active_path() 
connmand[1494]: src/service.c:service_register() service 0x48a38
connmand[1494]: src/service.c:service_register()
path /profile/default/ethernet_00e04c035baa_cable
connmand[1494]: src/config.c:__connman_config_provision_service()
service 0x48a38
connmand[1494]: src/storage.c:__connman_storage_load_service() service
0x48a38
connmand[1494]: src/service.c:service_load() service 0x48a38
connmand[1494]: src/ipconfig.c:__connman_ipconfig_load() ipconfig
0x47860 identifier ethernet_00e04c035baa_cable
connmand[1494]: src/profile.c:__connman_profile_changed() 
connmand[1494]: src/connection.c:find_active_gateway() 
connmand[1494]: src/network.c:connman_network_set_connected() network
0x46140 connected 1
connmand[1494]: src/service.c:__connman_service_lookup_from_network()
network 0x46140
connmand[1494]: src/network.c:set_connected() method 4
connmand[1494]: src/network.c:set_connected_dhcp() network 0x46140
connmand[1494]: src/element.c:connman_element_create() element 0x48bc0
connmand[1494]: src/element.c:__connman_element_initialize() element
0x48bc0
connmand[1494]: src/element.c:connman_element_register() element 0x48bc0
name (null) parent 0x46140
connmand[1494]: src/element.c:connman_element_ref() element 0x48bc0 name
(null) refcount 2
connmand[1494]: src/element.c:register_element() element 0x48bc0
path /org/moblin/connman/device/00e04c035baa/carrier/dhcp
connmand[1494]: src/element.c:probe_element() element 0x48bc0 name dhcp
connmand[1494]: src/element.c:probe_element() driver 0x3fc98 name dhcp
connmand[1494]: src/dhcp.c:dhcp_probe() element 0x48bc0 name dhcp
connmand[1494]: src/dhcp.c:dhcp_probe() driver 0x3f5ec name dhcp
connmand[1494]: plugins/dhcp.c:dhcp_request() dhcp 0x48c78
connmand[1494]: src/utsname.c:connman_utsname_get_hostname() 
Segmentation fault


I will investigate, but does it seem like a known problem ?

Regards,

-- 
Pierre-Rudolf Gerlach

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to