Re: [vpp-dev] Crash in VPP 21.06 #vnet

2022-06-08 Thread Benoit Ganne (bganne) via lists.fd.io
Looks like the crash is happening in the host stack...
Can you try to reproduce it in debug mode, and maybe even with Address 
Sanitizer:
https://s3-docs.fd.io/vpp/22.06/gettingstarted/troubleshooting/sanitizer.html#id2

best
ben

> -Original Message-
> From: vpp-dev@lists.fd.io  On Behalf Of Raj Kumar
> Sent: Wednesday, June 8, 2022 15:47
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Crash in VPP 21.06 #vnet
> 
> Hi ,
> I am observing some infrequent crash in VPP.  I am using VCL for receiving
> UDP packets in my application. We compiled VPP with DPDP and using
> Mellanox NIC to receive UDP packets ( the MTU is set to 9000). Attached is
> the startup.conf file.
> 
> 
> #0  0x7efd06b8837f in raise () from /lib64/libc.so.6
> #1  0x7efd06b72db5 in abort () from /lib64/libc.so.6
> #2  0x55ffa1ed1134 in os_exit (code=code@entry=1) at
> /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vpp/vnet/main.c:431
> #3  0x7efd07de215a in unix_signal_handler (signum=11, si= out>, uc=)
> at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vlib/unix/main.c:187
> #4  
> #5  0x7efd07b4cbc6 in _mm_storeu_si128 (__B=..., __P=)
> at /usr/lib/gcc/x86_64-redhat-linux/8/include/emmintrin.h:721
> #6  clib_mov16 (src=0x7efcb99f8c00 "`", dst=) at
> /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vppinfra/memcpy_avx2.h:65
> #7  clib_memcpy_fast_avx2 (n=45, src=0x7efcb99f8c00, dst=)
> at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vppinfra/memcpy_avx2.h:166
> #8  clib_memcpy_fast (n=45, src=0x7efcb99f8c00, dst=) at
> /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vppinfra/string.h:97
> #9  svm_fifo_copy_to_chunk_ma_skx (f=0x7efccb716040, c=0x7ef44e1e2cb0,
> tail_idx=, src=0x7efcb99f8c00 "`", len=45,
> last=0x7ef44e000c08)
> at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/svm/svm_fifo.c:53
> #10 0x7efd07b49b73 in svm_fifo_copy_to_chunk (last=,
> len=, src=, tail_idx=,
> c=, f=0x7efccb716040)
> at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/svm/svm_fifo.c:96
> #11 svm_fifo_enqueue_segments (f=0x7efccb716040,
> segs=segs@entry=0x7efcb99f7fb0, n_segs=n_segs@entry=2,
> allow_partial=allow_partial@entry=0 '\000')
> at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/svm/svm_fifo.c:1006
> #12 0x7efd0883cd25 in session_enqueue_dgram_connection
> (s=s@entry=0x7efccb6d3580, hdr=0x7efcb99f8c00, b=0x1005415480,
> proto=proto@entry=1 '\001',
> queue_event=queue_event@entry=1 '\001') at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vnet/session/session.c:637
> #13 0x7efd0869e089 in udp_connection_enqueue (uc0=0x7efccb671e40,
> s0=0x7efccb6d3580, hdr0=hdr0@entry=0x7efcb99f8c00,
> thread_index=thread_index@entry=4,
> b=b@entry=0x1005415480, queue_event=queue_event@entry=1 '\001',
> error0=0x7efcb99f80d4) at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vnet/udp/udp_input.c:159
> #14 0x7efd0869e4d7 in udp46_input_inline (is_ip4=0 '\000',
> frame=, node=, vm=)
> at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vnet/udp/udp_input.c:311
> #15 udp6_input (vm=, node=, frame= out>) at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vnet/udp/udp_input.c:368
> #16 0x7efd07d8e172 in dispatch_pending_node (vm=0x7efcca76a840,
> pending_frame_index=, last_time_stamp=)
> at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vlib/main.c:1024
> #17 0x7efd07d8fc6f in vlib_worker_loop (vm=vm@entry=0x7efcca76a840) at
> /usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vlib/main.c:1649
> #18 0x7efd07dc8738 in vlib_worker_thread_fn (arg=) at
> /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vlib/threads.c:1560
> #19 0x7efd072efee8 in clib_calljmp () at /usr/src/debug/vpp-21.06.0-
> 4~g2a4131173_dirty.x86_64/src/vppinfra/longjmp.S:123
> #20 0x7efcba7fbd20 in ?? ()
> #21 0x7efcc4ff41c5 in eal_thread_loop.cold () from
> /usr/lib/vpp_plugins/dpdk_plugin.so
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21516): https://lists.fd.io/g/vpp-dev/message/21516
Mute This Topic: https://lists.fd.io/mt/91623364/21656
Mute #vnet:https://lists.fd.io/g/vpp-dev/mutehashtag/vnet
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]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Crash in VPP 21.06 #vnet

2022-06-08 Thread Raj Kumar
Hi ,
I am observing some infrequent crash in VPP.  I am using VCL for receiving UDP 
packets in my application. We compiled VPP with DPDP and using Mellanox NIC to 
receive UDP packets ( the MTU is set to 9000). Attached is the startup.conf 
file.

#0  0x7efd06b8837f in raise () from /lib64/libc.so.6
#1  0x7efd06b72db5 in abort () from /lib64/libc.so.6
#2  0x55ffa1ed1134 in os_exit (code=code@entry=1) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vpp/vnet/main.c:431
#3  0x7efd07de215a in unix_signal_handler (signum=11, si=, 
uc=)
at /usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vlib/unix/main.c:187
#4  
#5  0x7efd07b4cbc6 in _mm_storeu_si128 (__B=..., __P=) at 
/usr/lib/gcc/x86_64-redhat-linux/8/include/emmintrin.h:721
#6  clib_mov16 (src=0x7efcb99f8c00 "`", dst=) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vppinfra/memcpy_avx2.h:65
#7  clib_memcpy_fast_avx2 (n=45, src=0x7efcb99f8c00, dst=) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vppinfra/memcpy_avx2.h:166
#8  clib_memcpy_fast (n=45, src=0x7efcb99f8c00, dst=) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vppinfra/string.h:97
#9  svm_fifo_copy_to_chunk_ma_skx (f=0x7efccb716040, c=0x7ef44e1e2cb0, 
tail_idx=, src=0x7efcb99f8c00 "`", len=45, last=0x7ef44e000c08)
at /usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/svm/svm_fifo.c:53
#10 0x7efd07b49b73 in svm_fifo_copy_to_chunk (last=, 
len=, src=, tail_idx=, 
c=, f=0x7efccb716040)
at /usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/svm/svm_fifo.c:96
#11 svm_fifo_enqueue_segments (f=0x7efccb716040, 
segs=segs@entry=0x7efcb99f7fb0, n_segs=n_segs@entry=2, 
allow_partial=allow_partial@entry=0 '\000')
at /usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/svm/svm_fifo.c:1006
#12 0x7efd0883cd25 in session_enqueue_dgram_connection 
(s=s@entry=0x7efccb6d3580, hdr=0x7efcb99f8c00, b=0x1005415480, 
proto=proto@entry=1 '\001',
queue_event=queue_event@entry=1 '\001') at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vnet/session/session.c:637
#13 0x7efd0869e089 in udp_connection_enqueue (uc0=0x7efccb671e40, 
s0=0x7efccb6d3580, hdr0=hdr0@entry=0x7efcb99f8c00, 
thread_index=thread_index@entry=4,
b=b@entry=0x1005415480, queue_event=queue_event@entry=1 '\001', 
error0=0x7efcb99f80d4) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vnet/udp/udp_input.c:159
#14 0x7efd0869e4d7 in udp46_input_inline (is_ip4=0 '\000', frame=, node=, vm=)
at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vnet/udp/udp_input.c:311
#15 udp6_input (vm=, node=, frame=) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vnet/udp/udp_input.c:368
#16 0x7efd07d8e172 in dispatch_pending_node (vm=0x7efcca76a840, 
pending_frame_index=, last_time_stamp=)
at /usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vlib/main.c:1024
#17 0x7efd07d8fc6f in vlib_worker_loop (vm=vm@entry=0x7efcca76a840) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vlib/main.c:1649
#18 0x7efd07dc8738 in vlib_worker_thread_fn (arg=) at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vlib/threads.c:1560
#19 0x7efd072efee8 in clib_calljmp () at 
/usr/src/debug/vpp-21.06.0-4~g2a4131173_dirty.x86_64/src/vppinfra/longjmp.S:123
#20 0x7efcba7fbd20 in ?? ()
#21 0x7efcc4ff41c5 in eal_thread_loop.cold () from 
/usr/lib/vpp_plugins/dpdk_plugin.so


startup.conf
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21514): https://lists.fd.io/g/vpp-dev/message/21514
Mute This Topic: https://lists.fd.io/mt/91623364/21656
Mute #vnet:https://lists.fd.io/g/vpp-dev/mutehashtag/vnet
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]
-=-=-=-=-=-=-=-=-=-=-=-