Hi Ben, Thanks for the update. Regards, Sudhir
On Thu, Feb 24, 2022 at 6:37 PM Benoit Ganne (bganne) <bga...@cisco.com> wrote: > Hi Sudhir, > > I am working on a few bugfixes for ASan. > Right now, I'd recommend to use ASan in debug builds only, there are > several issues that need to be fixed in release mode. > > Best > ben > > > -----Original Message----- > > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Sudhir CR > via > > lists.fd.io > > Sent: jeudi 24 février 2022 14:03 > > To: vpp-dev@lists.fd.io > > Subject: [vpp-dev] VPP 2110 with AddressSanitizer enabled > > > > Hi Team, > > > > > > We compiled vpp code with AddressSanitizer enabled. We used the below > > command to compile code. > > > > > > sudo make rebuild-release VPP_EXTRA_CMAKE_ARGS=- > > DVPP_ENABLE_SANITIZE_ADDR=ON > > > > > > > > we are starting vpp with below command > > > > > > sudo ./vpp -c /etc/vpp/startup.conf > > > > > > > > But vpp startup is failed with below AddressSanitizer error > > > > > > AddressSanitizer:DEADLYSIGNAL > > ================================================================= > > ==1442028==ERROR: AddressSanitizer: SEGV on unknown address > 0x0200255e3b3e > > (pc 0x7fe59ae338f7 bp 0x7ffc128b1c40 sp 0x7ffc128b1480 T0) > > ==1442028==The signal is caused by a READ memory access. > > #0 0x7fe59ae338f6 in sanitizer_unpoison_push__ > > /home/supervisor/development/libvpp/src/vppinfra/sanitizer.h:54:17 > > #1 0x7fe59ae338f6 in hash_memory64 > > /home/supervisor/development/libvpp/src/vppinfra/hash.c:157:15 > > #2 0x7fe59ae338f6 in hash_memory > > /home/supervisor/development/libvpp/src/vppinfra/hash.c:280:10 > > #3 0x7fe59ae34b4e in key_sum > > /home/supervisor/development/libvpp/src/vppinfra/hash.c > > #4 0x7fe59ae34b4e in lookup.llvm.8926505759877686271 > > /home/supervisor/development/libvpp/src/vppinfra/hash.c:557:7 > > #5 0x7fe59aeb203f in _hash_set3 > > /home/supervisor/development/libvpp/src/vppinfra/hash.c:848:10 > > #6 0x7fe59c4edc8e in config_one_plugin > > /home/supervisor/development/libvpp/src/vlib/unix/plugin.c:710:3 > > #7 0x7fe59c4edc8e in vlib_plugin_config > > /home/supervisor/development/libvpp/src/vlib/unix/plugin.c:775:12 > > #8 0x7fe59c49c3f6 in vlib_unix_main > > /home/supervisor/development/libvpp/src/vlib/unix/main.c:764:12 > > #9 0x55a040ce2e40 in main > > /home/supervisor/development/libvpp/src/vpp/vnet/main.c:344:14 > > #10 0x7fe59a29ebf6 in __libc_start_main /build/glibc-S9d2JN/glibc- > > 2.27/csu/../csu/libc-start.c:310 > > #11 0x55a040c41479 in _start > > (/home/supervisor/development/libvpp/build-root/install-vpp- > > native/vpp/bin/vpp+0x41479) > > > > AddressSanitizer can not provide additional info. > > SUMMARY: AddressSanitizer: SEGV > > /home/supervisor/development/libvpp/src/vppinfra/sanitizer.h:54:17 in > > sanitizer_unpoison_push__ > > ==1442028==ABORTING > > Aborted > > > > > > > > contents of startup.conf looks like below > > > > > > > > unix { > > nodaemon > > log /var/log/vpp/vpp.log > > full-coredump > > cli-listen localhost:5003 > > runtime-dir /shm/run/vpp/ > > } > > > > api-trace { > > on > > } > > > > cpu { > > main-core 2 > > corelist-workers 3,4 > > } > > > > heapsize 600M > > > > statseg { > > size 150M > > } > > plugin_path /usr/local/lib/vpp_plugins/ > > plugins { > > plugin rtbrick_bcm_plugin.so { disable } > > plugin dpdk_plugin.so { disable } > > } > > > > > > > > Please let me know any suggestions on how to resolve this Error. > > > > > > Thanks in Advance, > > > > Sudhir > > > > > > NOTICE TO RECIPIENT This e-mail message and any attachments are > > confidential and may be privileged. If you received this e-mail in error, > > any review, use, dissemination, distribution, or copying of this e-mail > is > > strictly prohibited. Please notify us immediately of the error by return > > e-mail and please delete this message from your system. For more > > information about Rtbrick, please visit us at www.rtbrick.com > > <http://www.rtbrick.com> > -- NOTICE TO RECIPIENT This e-mail message and any attachments are confidential and may be privileged. If you received this e-mail in error, any review, use, dissemination, distribution, or copying of this e-mail is strictly prohibited. Please notify us immediately of the error by return e-mail and please delete this message from your system. For more information about Rtbrick, please visit us at www.rtbrick.com <http://www.rtbrick.com>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20905): https://lists.fd.io/g/vpp-dev/message/20905 Mute This Topic: https://lists.fd.io/mt/89364107/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-