Thanks,
Now it's possible to pin point which part is bogus:
- connman_network_create() network 0x749d890
- connman_network_ref_debug() 0x749d890 name Wired ref 2 by
src/device.c:858:connman_device_add_network()
- connman_network_ref_debug() 0x749d890 name Wired ref 3 by
src/service.c:6670:update_from_network()
- connman_network_ref_debug() 0x749d890 name Wired ref 4 by
src/network.c:570:autoconf_ipv6_set()
- connman_network_ref_debug() 0x749d890 name Wired ref 5 by
src/dhcp.c:608:__connman_dhcp_start()
- connman_network_unref_debug() 0x749d890 name Wired ref 4 by
src/network.c:455:check_dhcpv6()
- connman_network_unref_debug() 0x749d890 name Wired ref 3 by
src/dhcp.c:145:dhcp_invalidate()
- connman_network_unref_debug() 0x749d890 name Wired ref 2 by
src/dhcp.c:145:dhcp_invalidate()
- connman_network_unref_debug() 0x749d890 name Wired ref 1 by
src/service.c:4455:service_free()
- connman_network_unref_debug() 0x749d890 name Wired ref 0 by
src/device.c:374:free_network()
- connman_network_unref_debug() 0x749d890 name Wired ref -1 by
plugins/ethernet.c:131:remove_network()
Looks like the dhcp process is the culprit: it's unreferencing the
network twice though it referenced it only once.
2 times dhcp_invalidate().
Can you check what's the proper fix there and resend a patch?
Thanks,
Tomasz
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman