Hi, Can you try to reproduce the issue in debug mode, or even better in debug mode with ASan enabled: https://fd.io/docs/vpp/master/troubleshooting/sanitizer.html#id2 ?
This looks like a memory corruption, but it is hard to tell anything else. Best Ben > -----Original Message----- > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of ?? > Sent: samedi 18 septembre 2021 11:08 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] vpp crash in vlib_node_sync_stats > > Does anyone see this stack before? I'm using af_xdp to receive packet for > veth, veth has two queues. > vpp version: 2106 > > Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. > vlib_node_sync_stats (vm=vm@entry=0x7fffb5e00680, n=0x7fffb671bc70) at > /mnt/opensource/vpp/src/vlib/main.c:630 > 630 vlib_node_runtime_sync_stats (vm, rt, 0, 0, 0); > (gdb) bt > #0 vlib_node_sync_stats (vm=vm@entry=0x7fffb5e00680, n=0x7fffb671bc70) at > /mnt/opensource/vpp/src/vlib/main.c:630 > #1 0x00007ffff63ee865 in vlib_node_get_nodes (vm=vm@entry=0x0, > max_threads=<optimized out>, max_threads@entry=4294967295, > include_stats=include_stats@entry=1, > barrier_sync=barrier_sync@entry=0, > node_dupsp=node_dupsp@entry=0x7fffb0a06f68, > stat_vmsp=stat_vmsp@entry=0x7fffb0a06f80) at > /mnt/opensource/vpp/src/vlib/node.c:647 > #2 0x0000555555564d69 in update_node_counters (sm=<optimized out>) at > /mnt/opensource/vpp/src/vpp/stats/stat_segment.c:621 > #3 do_stat_segment_updates (vm=0x7fffb5e00680, sm=<optimized out>) at > /mnt/opensource/vpp/src/vpp/stats/stat_segment.c:778 > #4 stat_segment_collector_process (vm=0x7fffb5e00680, rt=<optimized out>, > f=<optimized out>) at /mnt/opensource/vpp/src/vpp/stats/stat_segment.c:873 > #5 0x00007ffff63e6437 in vlib_process_bootstrap (_a=<optimized out>) at > /mnt/opensource/vpp/src/vlib/main.c:1284 > #6 0x00007ffff62fcee4 in clib_calljmp () at > /mnt/opensource/vpp/src/vppinfra/longjmp.S:123 > #7 0x00007fffb2d09d70 in ?? () > #8 0x00007ffff63dd1ee in vlib_process_startup (vm=0x7fffb0a08000, > p=0x20737365636f7270, f=0x0) at /mnt/opensource/vpp/src/vlib/main.c:1309 > #9 dispatch_process (vm=<optimized out>, p=<optimized out>, f=0x0, > last_time_stamp=<optimized out>) at > /mnt/opensource/vpp/src/vlib/main.c:1365 > #10 0x0000000000000000 in ?? () > > (gdb) p *n > $4 = {function = 0x794b9700794154, name = 0x793af800794a00 <error: Cannot > access memory at address 0x793af800794a00>, name_elog_string = 7918067, > stats_total = {calls = 34023571285666622, > vectors = 34023571285666622, clocks = 34135068636670782, suspends = > 34048202923117826, max_clock = 34035648733712284, max_clock_n = > 34035648733700162}, stats_last_clear = { > calls = 34048202923106370, vectors = 33998621820653468, clocks = > 34039303750868577, suspends = 34025001509779113, max_clock = > 34023571285685848, max_clock_n = 34142378671018106}, > type = 7952796, index = 7933852, runtime_index = 7924542, runtime_data = > 0x78eb3e0078f6a9, flags = 57410, state = 120 'x', runtime_data_bytes = 0 > '\000', protocol_hint = 169 '\251', > n_errors = 120, scalar_size = 60222, vector_size = 120, > error_heap_handle = 7927465, error_heap_index = 7924542, error_counters = > 0x78eb3e00793658, next_node_names = 0x78f6a90078e042, > next_nodes = 0x78c99100790f9c, sibling_of = 0x794d2e00793e26 <error: > Cannot access memory at address 0x794d2e00793e26>, sibling_bitmap = > 0x78e0420078eb3e, > n_vectors_by_next_node = 0x790f9c0078f6a9, next_slot_by_node = > 0x78f6a90078c991, prev_node_bitmap = 0x78f6a90078eb3e, owner_node_index = > 7943768, owner_next_index = 7921730, > format_buffer = 0x78d2870078eb3e, unformat_buffer = 0x78e0420078f6a9, > format_trace = 0x78eb3e00790f9c, validate_frame = 0x7900000078c991, > state_string = 0x78cb0300795952 <error: Cannot access memory at address > 0x78cb0300795952>, node_fn_registrations = 0x78cb4d0078cb28}
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20210): https://lists.fd.io/g/vpp-dev/message/20210 Mute This Topic: https://lists.fd.io/mt/85695514/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-