Hi,

I am facing a crash in the below code. It's 12 worker/1 core setup. we are 
using bit old VPP - 20.09.

function under suspect is ---
buffer_send_to_node()

* vlib_frame_t    *frame;
* u32 *to_next;
* 
* frame = vlib_get_frame_to_node (vm, node_index);
* frame->n_vectors = 1;
* to_next = vlib_frame_vector_args (frame);
* 
* to_next[0] = buffer_index;
* 
* vlib_put_frame_to_node (vm, node_index, frame );
* return;

The crash is seen at

#3  <signal handler called>
#4  vlib_frame_vector_byte_offset (scalar_size=<optimized out>) at 
/home/jenkins/vpp/build-root/install-vpp-native/vpp/include/vlib/node_funcs.h:259
#5  vlib_frame_vector_args (f=<optimized out>) at 
/home/jenkins/vpp/build-root/install-vpp-native/vpp/include/vlib/node_funcs.h:270
#6  buffer_send_to_node (vm=vm@entry=0x7fc406c323c0, node_index=332, 
buffer_index=buffer_index@entry=19753015) at /home/jenkins/test_buffer.c:1105
..
..
#11 0x00007fc43bfbd702 in dispatch_node (last_time_stamp=61944131704815156, 
frame=0x7fc40695c500, dispatch_state=VLIB_NODE_STATE_POLLING, 
type=VLIB_NODE_TYPE_INTERNAL, node=0x7fc4107c0480, vm=0x7fc406c323c0) at 
/home/jenkins/vpp/src/vlib/main.c:1197
#12 dispatch_pending_node (vm=vm@entry=0x7fc406c323c0, 
pending_frame_index=pending_frame_index@entry=4, 
last_time_stamp=61944131704815156) at /home/jenkins/vpp/src/vlib/main.c:1355

Can an allocated frame at line 4 be freed via dispatch_pending_node in any 
conditions ?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22437): https://lists.fd.io/g/vpp-dev/message/22437
Mute This Topic: https://lists.fd.io/mt/96175435/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to