Hello,

On Thu, Sep 14, 2023 at 9:51 AM 杨佳昊 <yang_jia...@venusgroup.com.cn> wrote:
>
> Hello
> I am tring to run dpdk example with asan.
> I have compile dpdk and example as directed by link 
> https://github.com/DPDK/dpdk/blob/v21.11/doc/guides/prog_guide/asan.rst
> But I always get result as follow:
> =================================================================
> ==20078== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 
> 0x000000d28b92 sp 0x7ffc6a983b90 bp 0x7ffc6a983bb0 T0)
> AddressSanitizer can not provide additional info.
>     #0 0xd28b91 (/root/dpdk-21.11/build/examples/dpdk-helloworld+0xd28b91)
>     #1 0xd28fc1 (/root/dpdk-21.11/build/examples/dpdk-helloworld+0xd28fc1)
>     #2 0xd2901d (/root/dpdk-21.11/build/examples/dpdk-helloworld+0xd2901d)
>     #3 0x56dac3 (/root/dpdk-21.11/build/examples/dpdk-helloworld+0x56dac3)
>     #4 0x7ff4b3eed554 (/usr/lib64/libc-2.17.so+0x22554)
>     #5 0x56d958 (/root/dpdk-21.11/build/examples/dpdk-helloworld+0x56d958)
> ==20078== ABORTING
>
> It's not same as what i see in asan.rst.This result doesn't look right.
> My env:
> Gcc :9.3.0
> Libasan: 4.8.5

Hard to tell what is wrong here (especially without debug symbols).

Some quick questions for now:
Are you triggering this segfault with ASan disabled (iow: simply
configuring your build env with meson setup <build_dir>)?

Did you change something in DPDK or the example sources?


-- 
David Marchand

Reply via email to