Bug ID 1680
Summary ASan check failed during testpmd termination
Product DPDK
Version 25.03
Hardware All
OS Linux
Status UNCONFIRMED
Severity normal
Priority Normal
Component testpmd
Assignee dev@dpdk.org
Reporter iafaneh@nvidia.com
Target Milestone ---

To reproduce, build DPDK with "-Db_sanitize=address", then run and quit
testpmd:

$ bin/dpdk-testpmd -n 4  -a 0000:08:00.0  -a 0000:08:00.1 -- --mbcache=512 -i 
--nb-cores=1  --txd=256 --rxd=256

Result after quitting app:
=================================================================
==197123==AddressSanitizer CHECK failed:
../../../../src/libsanitizer/asan/asan_thread.cpp:367 "((ptr[0] ==
kCurrentStackFrameMagic)) != (0)" (0x0, 0x0)
    #0 0x7f1374d18988 in AsanCheckFailed
../../../../src/libsanitizer/asan/asan_rtl.cpp:74
    #1 0x7f1374d3930e in __sanitizer::CheckFailed(char const*, int, char
const*, unsigned long long, unsigned long long)
../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:78
    #2 0x7f1374d1e10c in __asan::AsanThread::GetStackFrameAccessByAddr(unsigned
long, __asan::AsanThread::StackFrameAccess*)
../../../../src/libsanitizer/asan/asan_thread.cpp:367
    #3 0x7f1374c88e9b in __asan::GetStackAddressInformation(unsigned long,
unsigned long, __asan::StackAddressDescription*)
../../../../src/libsanitizer/asan/asan_descriptions.cpp:203
    #4 0x7f1374c8a2d8 in
__asan::AddressDescription::AddressDescription(unsigned long, unsigned long,
bool) ../../../../src/libsanitizer/asan/asan_descriptions.cpp:455
    #5 0x7f1374c8a2d8 in
__asan::AddressDescription::AddressDescription(unsigned long, unsigned long,
bool) ../../../../src/libsanitizer/asan/asan_descriptions.cpp:439
    #6 0x7f1374c8ca84 in __asan::ErrorGeneric::ErrorGeneric(unsigned int,
unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned
long) ../../../../src/libsanitizer/asan/asan_errors.cpp:389
    #7 0x7f1374d17fa5 in __asan::ReportGenericError(unsigned long, unsigned
long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool)
../../../../src/libsanitizer/asan/asan_report.cpp:476
    #8 0x7f1374caefe8 in __interceptor_sigaltstack
../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:9986
    #9 0x7f1374d2d867 in __sanitizer::UnsetAlternateSignalStack()
../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp:195
    #10 0x7f1374d1d60c in __asan::AsanThread::Destroy()
../../../../src/libsanitizer/asan/asan_thread.cpp:104
    #11 0x7f1374414710 in __GI___nptl_deallocate_tsd
nptl/nptl_deallocate_tsd.c:73
    #12 0x7f1374414710 in __GI___nptl_deallocate_tsd
nptl/nptl_deallocate_tsd.c:22
    #13 0x7f13744179c9 in start_thread nptl/pthread_create.c:453
    #14 0x7f13744a99ff  (/lib/x86_64-linux-gnu/libc.so.6+0x1269ff)

Environment info:
Device: ConnectX-6 DX
OS: Ubuntu 22.04
Kernel: 5.15.0-25-generic
MLNX_OFED: MLNX_OFED_LINUX-25.01-0.6.0
FW: 22.44.1036
DPDK version: 25.03.0-rc3
          


You are receiving this mail because: