You should switch to e.g. 19.01 at your earliest convenience. We do not support 18.01 at this point.
That having been written, you can try adding -DCLIB_VEC64 to CFLAGS/LFLAGS in the tag setup(s) in .../build-data/platforms/vpp.mk. Rebuild from scratch. No warranty express or implied. Although I have smoke-tested vpp successfully when compiled w/ -DCLIB_VEC64, I certainly did not test 18.01 in that regard. HTH... Dave From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of chetan bhasin Sent: Friday, March 8, 2019 1:11 AM To: vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Getting invalid address while doing pool_alloc_aligned with release build Hello Everyone, As I find a document where it is mentioned that - Setting the main heap size to 4GB or more requires recompilation of the entire system with CLIB_VEC64 > 0. See …/clib/clib/vec_bootstrap.h. Can anybody please suggest the best way for setting CLIB_VEC64 in vpp 18.01 release. Thanks , Chetan Bhasin Thanks, Chetan Bhasin On Thu, Mar 7, 2019 at 12:43 PM chetan bhasin <chetan.bhasin...@gmail.com<mailto:chetan.bhasin...@gmail.com>> wrote: Hello everyone, I am getting invalid address while I am doing "pool_alloc_aligned" of 1 M sessions for 10 workers on release build. But when I do the same with debug build , Process getting crash at below ASSERT always_inline mheap_elt_t * mheap_elt_at_uoffset (void *v, uword uo) { ASSERT (mheap_offset_is_valid (v, uo)); -------------->Here return (mheap_elt_t *) (v + uo - STRUCT_OFFSET_OF (mheap_elt_t, user_data)); } Query 1 : If we get invalid address in release build then application is crashing at random places because of heap corruption. What's the best way to fix this? Query 2 : I have increase the "heapsize from 10G to 40G" , still facing the same issue, is it because of low memory or issue is somewhere else? Thanks, Chetan Bhasin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12467): https://lists.fd.io/g/vpp-dev/message/12467 Mute This Topic: https://lists.fd.io/mt/30295236/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-