I have a very intermittent memory corruption occurring in the buffer indices passed in a nodes frame (encryption node).
Basically one of the indices is clearly not a vadlid buffer index, and this is leading to a SIGSEGV when the code attempts to use the buffer. I see that vlib_frame_ts are allocated from the main heap, so I'm wondering is there any heap/alloc debugging I can enable to help figure out what is corrupting this vlib_frame_t? FWIW what seems weird is that I am validating the indices in vlib_put_frame_to_node() (I changed the validation code to actually resolve the buffer index), so apparently the vector is being corrupted between the node that creates and puts the vlib_frame_t, and the pending node being dispatched. The heap appears to be per CPU as well, this all makes things odd since the pending node should be running immediately after the node that put the valid frame there. So it's hard to imagine what could be corrupting this memory in between the put and the dispatch. Thanks, Chris.
signature.asc
Description: Message signed with OpenPGP
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17070): https://lists.fd.io/g/vpp-dev/message/17070 Mute This Topic: https://lists.fd.io/mt/75750436/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-