Hi,

We are very inconsistently seeing a VPP crash while try to access node_by_name 
hash, it looks like the node_by_name is getting corrupted.

The bt looks like below

*      Frame 01: /lib64/libvppinfra.so.20.05.1(hash_memory+0x34) 
[0x7f1dae34c8a4]
*      Frame 02: /lib64/libvppinfra.so.20.05.1(+0x23ce0) [0x7f1dae34cce0]
*      Frame 03: /lib64/libvppinfra.so.20.05.1(_hash_set3+0xfd) [0x7f1dae34ddfd]
*      Frame 04: /lib64/libvppinfra.so.20.05.1(+0x24c71) [0x7f1dae34dc71]
*      Frame 05: /lib64/libvlib.so.20.05.1(vlib_node_rename+0xa9) 
[0x7f1dae4eab49]
*      Frame 06: /lib64/libvnet.so.20.05.1(vnet_delete_hw_interface+0x4eb) 
[0x7f1daf4d7b9b]
*      Frame 07: /lib64/libvnet.so.20.05.1(ethernet_delete_interface+0x713) 
[0x7f1daf508273]
*      Frame 08: 
/lib64/libvnet.so.20.05.1(vnet_delete_loopback_interface+0x119) [0x7f1daf509d69]
*      Frame 09: /lib64/libvnet.so.20.05.1(+0xf7d2b4) [0x7f1daf4e42b4]
*      Frame 10: 
/lib64/libvlibmemory.so.20.05.1(vl_msg_api_socket_handler+0x11c) 
[0x7f1dafd9401c]
*      Frame 11: 
/lib64/libvlibmemory.so.20.05.1(vl_socket_process_api_msg+0x18) [0x7f1dafd819b8]
*      Frame 12: /lib64/libvlibmemory.so.20.05.1(+0x14241) [0x7f1dafd86241]
*      Frame 13: /lib64/libvlib.so.20.05.1(+0x111c27) [0x7f1dae4e8c27]
*      Frame 14: /lib64/libvppinfra.so.20.05.1(+0x296f4) [0x7f1dae3526f4]

>From our custom plugin codes we are not trying to modify this hash, all we use 
>is "vlib_get_node_by_name()" function.
All node registration will happen during initialization.
Only loopback interface can be added/deleted dynamically, for which we use 
standard VAPI functions which internally calls register_node() and in case of 
loopback delete it calls vlib_node_rename().
Can you someone give any clue when this "node_by_name" hash may get corrupted ?

Regards,
Sontu
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19498): https://lists.fd.io/g/vpp-dev/message/19498
Mute This Topic: https://lists.fd.io/mt/83147253/21656
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to