Hi, We are using vpp 18.0.1 . We have created a memif client app , which is connecting to vpp via memif and sending UDP packet .
One of our plugin is receiving that packet, processing it and generating an UDP response. First time it is works fine , when we stop and re-start our client app , we are getting crash at vpp. Please provide hint/suggestion Back-trace for the same is as below - (gdb) bt #0 0x00002b8d3ba61207 in raise () from /lib64/libc.so.6 #1 0x00002b8d3ba628f8 in abort () from /lib64/libc.so.6 #2 0x0000000000406a29 in os_panic () at vpp_1801/build-data/../src/vpp/vnet/main.c:266 #3 0x00002b8d3ae2538b in debugger () at vpp_1801/build-data/../src/vppinfra/error.c:84 #4 0x00002b8d3ae25792 in _clib_error (how_to_die=2, function_name=0x0, line_number=0, fmt=0x2b8d3a154290 "%s:%d (%s) assertion `%s' fails") at vpp_1801/build-data/../src/vppinfra/error.c:143 *#5 0x00002b8d3986416d in vlib_buffer_advance (b=0x2aaaaac00000, l=14)* * at vpp_1801/build-data/../src/vlib/buffer.h:210* *Here packet is blank* *210 ASSERT (b->current_length >= l);* *(gdb) p (b->current_length)* *$8 = 0* *(gdb) p *b* *$9 = {cacheline0 = 0x2aaaaac00000 "", template_start = 0x2aaaaac00000 "", current_data = 0, current_length = 0, flags = 262144,* * template_end = 0x2aaaaac00008 "", next_buffer = 0, error = 0, current_config_index = 0, feature_arc_index = 0 '\000', n_add_refs = 0 '\000',* * buffer_pool_index = 0 '\000', dont_waste_me = "", opaque = {0, 0, 0, 0, 2864712168, 10922, 55557824, 1, 4072669248, 7},* * cacheline1 = 0x2aaaaac00040 "@\001\300\252\252*", trace_index = 2864709952, recycle_count = 10922, total_length_not_including_first_buffer = 4072669504,* * align_pad = 7, opaque2 = {65664, 1, 0, 0, 0, 60, 60, 0, 0, 142606336, 0, 0}, cacheline2 = 0x2aaaaac00080 "",* * pre_data = "\000\000\000\000\000\000\000\000\300\276O\003\001", '\000' <repeats 19 times>, "\200", '\000' <repeats 33 times>, "<\000\000\021\006\300\000\000\000\000\000@\031\000\000\000\000\000\000\000\000\000\001\000\000\000\004\000\000\000\000\000\016", '\000' <repeats 28 times>, data = 0x2aaaaac00100 ""}* #6 0x00002b8d398671ab in ethernet_input_inline (vm=0x2b8d3d0650e0, node=0x2b8d3cc25c8c, from_frame=0x2b8d3cc3b1c0, variant=ETHERNET_INPUT_VARIANT_ETHERNET) at vpp_1801/build-data/../src/vnet/ethernet/node.c:457 #7 0x00002b8d39868252 in ethernet_input (vm=0x2b8d3d0650e0, node=0x2b8d3cc25c8c, from_frame=0x2b8d3cc3b1c0) at vpp_1801/build-data/../src/vnet/ethernet/node.c:796 #8 0x00002b8d394b58e3 in dispatch_node (vm=0x2b8d3d0650e0, node=0x2b8d3cc25c8c, type=VLIB_NODE_TYPE_INTERNAL, dispatch_state=VLIB_NODE_STATE_POLLING, frame=0x2b8d3cc3b1c0, last_time_stamp=14871127365603654) at vpp_1801/build-data/../src/vlib/main.c:988 #9 0x00002b8d394b5ec6 in dispatch_pending_node (vm=0x2b8d3d0650e0, pending_frame_index=0, last_time_stamp=14871127365603654) at vpp_1801/build-data/../src/vlib/main.c:1138 #10 0x00002b8d394b80d7 in vlib_main_or_worker_loop (vm=0x2b8d3d0650e0, is_main=0) at vpp_1801/build-data/../src/vlib/main.c:1609 #11 0x00002b8d394b81c8 in vlib_worker_loop (vm=0x2b8d3d0650e0) at vpp_1801/build-data/../src/vlib/main.c:1634 #12 0x00002b8d394faf09 in vlib_worker_thread_fn (arg=0x2b8d3ddec280) at vpp/vpp_1801/build-data/../src/vlib/threads.c:1744 #13 0x00002b8d3ae4a7ac in clib_calljmp () at vpp_1801/build-data/../src/vppinfra/longjmp.S:110 #14 0x00002b8f50924d40 in ?? () ---Type <return> to continue, or q <return> to quit--- #15 0x00002b8d394f5dc3 in vlib_worker_thread_bootstrap_fn (arg=0x2b8d3ddec280) Regards, Chetan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12259): https://lists.fd.io/g/vpp-dev/message/12259 Mute This Topic: https://lists.fd.io/mt/29840194/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-