Re: [vpp-dev] Linux CP: crash in lcp_node.c

2021-08-26 Thread Pim van Pelt
Hoi Matt, Thanks a lot for those tips - it helped me understand the problem better. I'll answer your questions but I think the problem is a no-op, because I was using the standard 16K buffers, and they ~immedately run out with 8 threads. Raising to 128K raises total consumption to the low 30K

Re: [vpp-dev] Linux CP: crash in lcp_node.c

2021-08-25 Thread Matthew Smith via lists.fd.io
Hi Pim, Responses are inline... On Tue, Aug 24, 2021 at 4:47 AM Pim van Pelt wrote: > Hoi, > > I've noticed that when a linuxcp enabled VPP 21.06 with multiple threads > receives many ARP requests, eventually it crashes in lcp_arp_phy_node in > lcp_node.c:675 and :775 because we do a

[vpp-dev] Linux CP: crash in lcp_node.c

2021-08-24 Thread Pim van Pelt
Hoi, I've noticed that when a linuxcp enabled VPP 21.06 with multiple threads receives many ARP requests, eventually it crashes in lcp_arp_phy_node in lcp_node.c:675 and :775 because we do a vlib_buffer_copy() which returns NULL, after which we try to dereference the result. How to repro: 1)