Hi,
While integrating VAPI in our application, we observed that after executing a 
certain number of consecutive VAPI requests, the VPP goes in a hanged state and 
we receive a SIGABRT signal in our application. For the first request to our 
application, we execute four VAPI requests (SR policy dump, SR steering policy 
dump, add sr policy and add sr steering policy) and for the subsequent requests 
to our application, we execute three VAPI requests (SR policy sump, SR steering 
policy dump, modify sr policy). Our application is able to process 399 
consecutive requests successfully but on 400th request, we see the following 
error in valgrind : -
*==44697== Process terminating with default action of signal 6 (SIGABRT): 
dumping core*
*==44697==    at 0x53F570F: raise (in /usr/lib64/libc-2.28.so)*
*==44697==    by 0x53DFB24: abort (in /usr/lib64/libc-2.28.so)*
*==44697==    by 0x6CC2912: os_panic (unix-misc.c:177)*
*==44697==    by 0x6CC71AC: mspace_free (dlmalloc.c:4574)*
*==44697==    by 0x650A60B: UnknownInlinedFun (mem.h:224)*
*==44697==    by 0x650A60B: vl_msg_api_free_w_region (memory_shared.c:306)*
==44697==    by 0x407F2A: vpp_read_policy (vpp.c:609)

We get this error while calling *vapi_msg_free(ctx, msg)* (at line 609).
We checked on our application's end and couldn't figure out anything that could 
go wrong.
Can anyone please suggest if we are missing something on our end?

Thanks and Regards,
Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17136): https://lists.fd.io/g/vpp-dev/message/17136
Mute This Topic: https://lists.fd.io/mt/75986184/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to