DPDK patches and discussions
 help / color / mirror / Atom feed
* confusion about dpdk asan
@ 2023-09-14  2:20 杨佳昊
  2023-09-14  8:25 ` David Marchand
  0 siblings, 1 reply; 5+ messages in thread
From: 杨佳昊 @ 2023-09-14  2:20 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]

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<http://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<https://github.com/DPDK/dpdk/blob/v21.11/doc/guides/prog_guide/asan.rst>.This result doesn't look right. 
My env:
Gcc :9.3.0
Libasan: 4.8.5
Looking forward to hearing from you

[-- Attachment #2: Type: text/html, Size: 6221 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-18  3:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-14  2:20 confusion about dpdk asan 杨佳昊
2023-09-14  8:25 ` David Marchand
     [not found]   ` <a635771d7b829a14e162d4b19c422e635c32817f.f0d2fe5e.6b76.4a87.a832.a4fc4b015956@feishu.cn>
2023-09-14 10:42     ` David Marchand
2023-09-18  3:08       ` Stephen Hemminger
2023-09-18  2:53   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).