infix
infix copied to clipboard
Investigate memory leak report from new libyang
With debug logs (DEBUG=1) enabled and confd running with log:console on the latest main branch, after upgrade to bleeding edge libyang, we get the following interesting output that warrants further study. Is this our missing memory leaks, perhaps?
admin@infix-00-00-00:/> reboot
confd[2399]: /ietf-system:system-restart
[ OK ] Saving system time (UTC) to RTC
[ OK ] Saving random seedadmin@infix-00-00-00:/>
[ OK ] Stopping Device event daemon (udev)
[ ⋯ ] Stopping Configuration daemonlibyang[1]: String "" not freed from the dictionary, refcount 12.
libyang[1]: String "$6$WLATiM03tj7PYc8G$lnqKO.2k9N90Fa.zni9M4rKtvCMBSXBAK5kQa8CCiHRMRip8VilruZFK9x7NUUWpcW01OiOZj.YJ..trHtykj0" not freed from the dictionary, refcount 2.
libyang[1]: String "unlocked" not freed from the dictionary, refcount 4.
libyang[1]: String "600" not freed from the dictionary, refcount 4.
libyang[1]: String "key" not freed from the dictionary, refcount 6.
libyang[1]: String "USB" not freed from the dictionary, refcount 2.
libyang[1]: String "permit-all" not freed from the dictionary, refcount 2.
libyang[1]: String "admin-acl" not freed from the dictionary, refcount 2.
libyang[1]: String "180" not freed from the dictionary, refcount 2.
libyang[1]: String "lo" not freed from the dictionary, refcount 2.
libyang[1]: String "e1" not freed from the dictionary, refcount 2.
libyang[1]: String "::1" not freed from the dictionary, refcount 1.
libyang[1]: String "ietf-crypto-types:rsa-private-key-format" not freed from the dictionary, refcount 2.
libyang[1]: String "ietf-crypto-types:ssh-public-key-format" not freed from the dictionary, refcount 2.
libyang[1]: String "USB2" not freed from the dictionary, refcount 2.
libyang[1]: String "infix-shell-type:bash" not freed from the dictionary, refcount 2.
libyang[1]: String "none" not freed from the dictionary, refcount 22.
libyang[1]: String "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A" not freed from the dictionary, refcount 2.
libyang[1]: String "true" not freed from the dictionary, refcount 22.
libyang[1]: String "86400" not freed from the dictionary, refcount 4.
libyang[1]: String "operation" not freed from the dictionary, refcount 172.
libyang[1]: String "genkey" not freed from the dictionary, refcount 4.
libyang[1]: String "create" not freed from the dictionary, refcount 150.
libyang[1]: String "infix-if-type:loopback" not freed from the dictionary, refcount 2.
libyang[1]: String "infix-if-type:etherlike" not freed from the dictionary, refcount 2.
libyang[1]: String "false" not freed from the dictionary, refcount 24.
libyang[1]: String "7200" not freed from the dictionary, refcount 2.
libyang[1]: String "1" not freed from the dictionary, refcount 4.
libyang[1]: String "30" not freed from the dictionary, refcount 2.
libyang[1]: String "admin" not freed from the dictionary, refcount 10.
libyang[1]: String "128" not freed from the dictionary, refcount 2.
libyang[1]: String "infix-shell-type:false" not freed from the dictionary, refcount 2.
libyang[1]: String "permit" not freed from the dictionary, refcount 2.
libyang[1]: String "75" not freed from the dictionary, refcount 2.
libyang[1]: String "jacky" not freed from the dictionary, refcount 4.
libyang[1]: String "127.0.0.1" not freed from the dictionary, refcount 1.
libyang[1]: String "Allow 'admin' group complete access to all operations and data." not freed from the dictionary, refcount 2.
libyang[1]: String "*" not freed from the dictionary, refcount 8.
libyang[1]: String "infix-hardware:usb" not freed from the dictionary, refcount 4.
libyang[1]: String "foobar" not freed from the dictionary, refcount 2.
libyang[1]: String "830" not freed from the dictionary, refcount 2.
libyang[1]: String "0" not freed from the dictionary, refcount 12.
libyang[1]: String "infix-00-00-00" not freed from the dictionary, refcount 2.
libyang[1]: String "3" not freed from the dictionary, refcount 2.
libyang[1]: String "9" not freed from the dictionary, refcount 2.
libyang[1]: String "604800" not freed from the dictionary, refcount 4.
libyang[1]: String "8" not freed from the dictionary, refcount 2.
libyang[1]: String "default-ssh" not freed from the dictionary, refcount 2.
libyang[1]: String "default-key" not freed from the dictionary, refcount 2.