Re: [vpp-dev] Has anyone able to run AddressSanitizer with VPP, successfully ?

2021-02-02 Thread Dave Wallace

Hi Satya,

Just a reminder that now that VPP stable/2101 has been released, the VPP 
branch stable/2005 is now technically unsupported per the VPP branch 
support policy. The CI jobs for stable/2005 will be removed in the next 
week or so.


I would recommend that you move to either stable/2009 which is the LTS 
branch (1 year support) for any production builds and master for 
development builds.


Thanks,
-daw-

On 2/2/2021 4:59 AM, Satya Murthy wrote:

Thanks Ben for the info.

My code is based on fdio.2005
The commit you mentioned to exclude is not present in this repo.

Do you see any issues with fdio.2005 version for ASAN to run clean ?

--
Thanks & Regards,
Murthy






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18647): https://lists.fd.io/g/vpp-dev/message/18647
Mute This Topic: https://lists.fd.io/mt/80279607/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] Has anyone able to run AddressSanitizer with VPP, successfully ?

2021-02-02 Thread Benoit Ganne (bganne) via lists.fd.io
> My code is based on fdio.2005
> The commit you mentioned to exclude is not present in this repo.

Correct, this one is only in master.

> Do you see any issues with fdio.2005 version for ASAN to run clean ?

Not that I know of, but as you reported there seem to be some.

Best
ben

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18644): https://lists.fd.io/g/vpp-dev/message/18644
Mute This Topic: https://lists.fd.io/mt/80279607/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] Has anyone able to run AddressSanitizer with VPP, successfully ?

2021-02-02 Thread Satya Murthy
Thanks Ben for the info.

My code is based on fdio.2005
The commit you mentioned to exclude is not present in this repo.

Do you see any issues with fdio.2005 version for ASAN to run clean ?

--
Thanks & Regards,
Murthy

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18642): https://lists.fd.io/g/vpp-dev/message/18642
Mute This Topic: https://lists.fd.io/mt/80279607/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] Has anyone able to run AddressSanitizer with VPP, successfully ?

2021-02-01 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Murthy,

I am running with ASan on a regular basis and the vpp-debug-verify-master CI 
job also runs it on per-commit basis, but as it is not a voting job, things 
tend to deteriorate slowly until I picked it up again. I'd welcome any help 
Can you check whether the issue is still present in VPP master? Note that you 
will have to revert https://gerrit.fd.io/r/c/vpp/+/30228 1st.

Best
Ben

> -Original Message-
> From: vpp-dev@lists.fd.io  On Behalf Of Satya Murthy
> Sent: lundi 1 février 2021 08:50
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Has anyone able to run AddressSanitizer with VPP,
> successfully ?
> 
> Hi All,
> 
> Has anyone able to run the AddressSanitizer with basic VPP-APIs being run
> on VPP.
> 
> As soon a VPP-API message lands onto the VPP, it is crashing with ASAN
> detecting an error.
> Due to this, we are not able to use ASAN for any other functional testing.
> 
> The ASAN error is happening inside VPP infra and hence not able to get any
> hints on why this would happen.
> 
> 
> ==17226==ERROR: AddressSanitizer: use-after-poison on address
> 0x7fffc519aa5f at pc 0x76e9d67d bp 0x7fffb70318b0 sp 0x7fffb7031058
> WRITE of size 61 at 0x7fffc519aa5f thread T0 (vpp_main)
> #0 0x76e9d67c  (/lib64/libasan.so.5+0x9367c)
> #1 0x76b90682 in vl_socket_read_ready
> /fdio.2005/src/vlibmemory/socket_api.c:240
> #2 0x73358cf6 in linux_epoll_input_inline
> /fdio.2005/src/vlib/unix/input.c:322
> #3 0x7335959c in linux_epoll_input
> /fdio.2005/src/vlib/unix/input.c:372
> #4 0x7326b690 in dispatch_node /fdio.2005/src/vlib/main.c:1271
> #5 0x7327073b in vlib_main_or_worker_loop
> /fdio.2005/src/vlib/main.c:1958
> #6 0x732724f7 in vlib_main_loop /fdio.2005/src/vlib/main.c:2141
> #7 0x73273bdb in vlib_main /fdio.2005/src/vlib/main.c:2387
> #8 0x7335e22b in thread0 /fdio.2005/src/vlib/unix/main.c:673
> #9 0x727010b7  (/fdio.2005/build-root/install-vpp_debug-
> native/vpp/lib/libvppinfra.so.20.05.1+0xc90b7)
> --
> Thanks & Regards,
> Murthy

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18636): https://lists.fd.io/g/vpp-dev/message/18636
Mute This Topic: https://lists.fd.io/mt/80279607/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] Has anyone able to run AddressSanitizer with VPP, successfully ?

2021-01-31 Thread Satya Murthy
Hi All,

Has anyone able to run the AddressSanitizer with basic VPP-APIs being run on 
VPP.

As soon a VPP-API message lands onto the VPP, it is crashing with ASAN 
detecting an error.
Due to this, we are not able to use ASAN for any other functional testing.

The ASAN error is happening inside VPP infra and hence not able to get any 
hints on why this would happen.

==17226==ERROR: AddressSanitizer: use-after-poison on address 0x7fffc519aa5f at 
pc 0x76e9d67d bp 0x7fffb70318b0 sp 0x7fffb7031058
WRITE of size 61 at 0x7fffc519aa5f thread T0 (vpp_main)
#0 0x76e9d67c  (/lib64/libasan.so.5+0x9367c)
#1 0x76b90682 in vl_socket_read_ready 
/fdio.2005/src/vlibmemory/socket_api.c:240
#2 0x73358cf6 in linux_epoll_input_inline 
/fdio.2005/src/vlib/unix/input.c:322
#3 0x7335959c in linux_epoll_input /fdio.2005/src/vlib/unix/input.c:372
#4 0x7326b690 in dispatch_node /fdio.2005/src/vlib/main.c:1271
#5 0x7327073b in vlib_main_or_worker_loop /fdio.2005/src/vlib/main.c:1958
#6 0x732724f7 in vlib_main_loop /fdio.2005/src/vlib/main.c:2141
#7 0x73273bdb in vlib_main /fdio.2005/src/vlib/main.c:2387
#8 0x7335e22b in thread0 /fdio.2005/src/vlib/unix/main.c:673
#9 0x727010b7  
(/fdio.2005/build-root/install-vpp_debug-native/vpp/lib/libvppinfra.so.20.05.1+0xc90b7)
--
Thanks & Regards,
Murthy

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18633): https://lists.fd.io/g/vpp-dev/message/18633
Mute This Topic: https://lists.fd.io/mt/80279607/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-