Last active
January 27, 2025 17:19
-
-
Save qrealka/fa1ac83a1e5339bc2be1245c0309d794 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Tested on DPDK 21.11 | |
* DPDK has been build by the following options: | |
* meson setup build --prefix ~/dpdk.tsan --prefer-static --buildtype debug --debug -Denable_driver_sdk=false -Denable_kmods=false -Dc_std=gnu17 -Ddefault_library=static -Db_sanitize=thread -Dplatform=native -Dtests=false -Denable_trace_fp=true -Dc_args="-DRTE_USE_C11_MEM_MODEL=1 -Wno-tsan" -Ddisable_libs=acl,bpf,compressdev,cryptodev,gpudev,security,regexdev,pdump,pcapng,power -Ddisable_drivers=compress/*,crypto/*,event/*,baseband/*,gpu/*,regex/*,net/bnx*,net/qed*,net/ena*,net/af_*,net/cp*,net/id* | |
* | |
* Repro steps: | |
* 1. build & install DPDK (see above) | |
* 2. init test project: meson setup buildDir --debug -Db_sanitize=thread --pkg-config-path ~/dpdk.tsan/lib/x86_64-linux-gnu/pkgconfig/ | |
* 3. build test project: meson compile -C buildDir | |
* 4. run it: meson test -v -C buildDir | |
*/ | |
#include <rte_common.h> | |
#include <rte_eal.h> | |
#include <rte_errno.h> | |
#include <rte_launch.h> | |
#include <rte_malloc.h> | |
#include <rte_ring.h> | |
#include <stdio.h> | |
#define VISIBLE __attribute__((visibility("default"), used)) | |
#define NO_SANITIZE __attribute__((no_sanitize_address, no_sanitize_thread, no_sanitize_thread)) | |
#ifdef __SANITIZE_THREAD__ | |
const char TSANDefaultOptions[] = | |
"halt_on_error=0:abort_on_error=0:verbosity=2:" | |
"detect_deadlocks=1:second_deadlock_stack=1: report_signal_unsafe=0:" | |
"report_thread_leaks=0:print_suppressions=1:" | |
"force_seq_cst_atomics=0"; // do not enforce CST for atomic ops | |
// The function isn't referenced from the executable itself. Make sure it isn't | |
// stripped by the linker. | |
extern NO_SANITIZE VISIBLE const char* __tsan_default_options(void); // NOLINT | |
NO_SANITIZE VISIBLE const char* __tsan_default_options(void) { | |
return TSANDefaultOptions; | |
} | |
#endif | |
static int worker(void* __rte_unused args) | |
{ | |
char name[64] = {0}; | |
RTE_SET_USED(snprintf(name, sizeof(name), "%u", rte_lcore_id())); | |
//struct rte_ring* r = rte_ring_create(name, 4, (int)rte_socket_id(), RING_F_SP_ENQ | RING_F_SC_DEQ); | |
char* p = rte_malloc(name, sizeof(name), 0); | |
rte_pause(); | |
RTE_VERIFY(p != NULL); | |
//RTE_VERIFY(r != NULL); | |
//rte_ring_free(r); | |
rte_free(p); | |
return 0; | |
} | |
int main(int argc, char* argv[]) { | |
int ret = rte_eal_init(argc, argv); | |
if (ret < 0) { | |
puts(rte_strerror(rte_errno)); | |
goto cleanup; | |
} | |
void* tmp = rte_malloc(NULL, 64, 0); | |
RTE_VERIFY(tmp != NULL); | |
RTE_SET_USED(tmp); | |
rte_free(tmp); | |
ret = rte_eal_mp_remote_launch(worker, NULL, SKIP_MAIN); | |
if (ret < 0) | |
{ | |
puts(rte_strerror(rte_errno)); | |
goto cleanup; | |
} | |
rte_eal_mp_wait_lcore(); | |
cleanup: | |
rte_eal_cleanup(); | |
return ret; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project('dpdk_ring_tsan', 'c', | |
version : '1.0.0', | |
default_options : [ | |
'default_library=static', | |
'buildtype=debug', | |
'b_ndebug=if-release', | |
'c_std=gnu17', | |
'warning_level=3', | |
], | |
) | |
c_project_args = [ | |
'-pipe', | |
'-march=native', | |
'-fno-strict-aliasing', | |
'-Wmissing-prototypes', | |
'-Wold-style-definition', | |
'-Wstrict-prototypes', | |
'-Wno-tsan', | |
'-Wno-unused-parameter', | |
'-D_GNU_SOURCE=1', | |
'-DALLOW_EXPERIMENTAL_API', | |
] | |
# DPDK libc version requirement | |
ldd = find_program('ld', required: true, version: '>2.7') | |
compiler = meson.get_compiler('c') | |
if get_option('buildtype') == 'debug' | |
c_project_args += [ | |
'-ggdb3', | |
'-fno-inline', | |
'-fno-omit-frame-pointer', | |
'-DRTE_ENABLE_ASSERT', | |
'-U_FORTIFY_SOURCE', | |
'-fcf-protection=full', | |
'-fno-sanitize=alignment', | |
'-fno-common', | |
] | |
else | |
c_project_args += [ | |
'-ftree-vectorize', | |
] | |
endif | |
c_project_args = compiler.get_supported_arguments(c_project_args) | |
add_project_arguments([c_project_args], language: ['c']) | |
threads_dep = dependency('threads', static: true) | |
libdpdk = dependency('libdpdk', include_type: 'system', method : 'pkg-config', static: true) | |
librt = compiler.find_library('rt', required: true, static: true) | |
main_dep = [ | |
librt, | |
libdpdk, | |
threads_dep, | |
] | |
# on some OS maths functions like log, pow in a separate library | |
if compiler.find_library('m', required : false).found() | |
main_dep += [compiler.find_library('m', required: true, static: true)] | |
endif | |
summary({'DPDK': libdpdk.version()}) | |
dpdk_ring_tsan = executable('dpdk_ring_tsan', 'main.c', | |
dependencies: main_dep, | |
gnu_symbol_visibility: 'hidden', | |
) | |
test('rint_tst', | |
dpdk_ring_tsan, | |
args: [ | |
'--no-pci', | |
'--no-hpet', | |
'--no-huge', | |
'--no-shconf', | |
'--log-level=lib.eal:debug', | |
'-m 1024' | |
], | |
verbose: true, | |
timeout: 30, | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dvloginov@dvloginov-vbox:~/work/dpdk_ring_tsan$ meson test -v -C buildDir | |
ninja: no work to do. | |
ninja: Entering directory `/home/dvloginov/work/dpdk_ring_tsan/buildDir' | |
ninja: no work to do. | |
1/1 rint_tst RUNNING | |
>>> MALLOC_PERTURB_=164 /home/dvloginov/work/dpdk_ring_tsan/buildDir/dpdk_ring_tsan --no-pci --no-hpet --no-huge --no-shconf --log-level=lib.eal:debug '-m 1024' | |
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― | |
==75767==Installed the sigaction for signal 11 | |
==75767==Installed the sigaction for signal 7 | |
==75767==Installed the sigaction for signal 8 | |
==75767==Using libbacktrace symbolizer. | |
***** Running under ThreadSanitizer v3 (pid 75767) ***** | |
ThreadSanitizer: growing heap block allocator: 0 out of 262144*4096 | |
ThreadSanitizer: growing sync allocator: 0 out of 1048576*1024 | |
EAL: lib.eal log level changed from info to debug | |
EAL: Detected lcore 0 as core 0 on socket 0 | |
EAL: Detected lcore 1 as core 1 on socket 0 | |
EAL: Detected lcore 2 as core 0 on socket 0 | |
EAL: Detected lcore 3 as core 1 on socket 0 | |
EAL: Detected lcore 4 as core 0 on socket 0 | |
EAL: Detected lcore 5 as core 1 on socket 0 | |
EAL: Detected lcore 6 as core 0 on socket 0 | |
EAL: Detected lcore 7 as core 1 on socket 0 | |
EAL: Maximum logical cores by configuration: 128 | |
EAL: Detected CPU lcores: 8 | |
EAL: Detected NUMA nodes: 1 | |
EAL: Checking presence of .so 'librte_eal.so.25.0' | |
EAL: Checking presence of .so 'librte_eal.so.25' | |
EAL: Checking presence of .so 'librte_eal.so' | |
EAL: Detected static linkage of DPDK | |
EAL: No shared files mode enabled, IPC will be disabled | |
EAL: No shared files mode enabled, IPC is disabled | |
EAL: Bus auxiliary wants IOVA as 'DC' | |
EAL: Bus cdx wants IOVA as 'DC' | |
EAL: Bus pci wants IOVA as 'DC' | |
EAL: Bus platform wants IOVA as 'DC' | |
EAL: Bus vdev wants IOVA as 'DC' | |
EAL: Bus dsa wants IOVA as 'DC' | |
EAL: Buses did not request a specific IOVA mode. | |
EAL: Physical addresses are unavailable, selecting IOVA as VA mode. | |
EAL: Selected IOVA mode 'VA' | |
EAL: Probing VFIO support... | |
EAL: No shared files mode enabled, IPC is disabled | |
EAL: IOMMU type 1 (Type 1) is supported | |
EAL: IOMMU type 7 (sPAPR) is not supported | |
EAL: IOMMU type 8 (No-IOMMU) is not supported | |
EAL: VFIO support initialized | |
EAL: Ask a virtual area of 0x2e000 bytes | |
EAL: Virtual area found at 0x100000000 (size = 0x2e000) | |
EAL: Setting up physically contiguous memory... | |
EAL: Setting maximum number of open files to 1048576 | |
EAL: Ask a virtual area of 0xc09000 bytes | |
EAL: Virtual area found at 0x10002e000 (size = 0xc09000) | |
EAL: Memseg list allocated at socket 0, page size 0x4kB | |
EAL: Using memfd for anonymous memory | |
EAL: Ask a virtual area of 0x40000000 bytes | |
EAL: Virtual area found at 0x100c37000 (size = 0x40000000) | |
EAL: VA reserved for memseg list at 0x100c37000, size 40000000 | |
EAL: No shared files mode enabled, IPC is disabled | |
EAL: Added 1024M to heap on socket 0 | |
EAL: No shared files mode enabled, IPC is disabled | |
EAL: TSC frequency is ~2496900 KHz | |
EAL: Main lcore 0 is ready (tid=7f2f2490c0c0;cpuset=[0]) | |
EAL: lcore 1 is ready (tid=7f2f1f81b640;cpuset=[1]) | |
EAL: lcore 2 is ready (tid=7f2f1f01a640;cpuset=[2]) | |
EAL: lcore 3 is ready (tid=7f2f1e819640;cpuset=[3]) | |
EAL: lcore 4 is ready (tid=7f2f1e018640;cpuset=[4]) | |
EAL: lcore 5 is ready (tid=7f2f1d817640;cpuset=[5]) | |
EAL: lcore 6 is ready (tid=7f2f1d016640;cpuset=[6]) | |
EAL: lcore 7 is ready (tid=7f2f1c815640;cpuset=[7]) | |
EAL: Allocated 2112 bytes of per-lcore data with a 64-byte alignment | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x557b5d9d0c60 by thread T3: | |
#0 find_suitable_element ../lib/eal/common/malloc_heap.c:158 (dpdk_ring_tsan+0x1423b41) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 heap_alloc ../lib/eal/common/malloc_heap.c:244 (dpdk_ring_tsan+0x1423e98) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x557b5d9d0c60 by thread T2: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c60) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_heap.c:158 in find_suitable_element | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000100c37038 by thread T3: | |
#0 elem_start_pt ../lib/eal/common/malloc_elem.c:222 (dpdk_ring_tsan+0x1421bd2) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_can_hold ../lib/eal/common/malloc_elem.c:283 (dpdk_ring_tsan+0x1421d72) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 find_suitable_element ../lib/eal/common/malloc_heap.c:160 (dpdk_ring_tsan+0x1423b7d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:244 (dpdk_ring_tsan+0x1423e98) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37038 by thread T2: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:306 (dpdk_ring_tsan+0x1421f4f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x38) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:222 in elem_start_pt | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000100c37018 by thread T3: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x14225d6) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37018 by thread T2: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x14224b7) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x18) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000100c37020 by thread T3: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x1422633) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37020 by thread T2: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422590) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x20) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000100c37010 by thread T3: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:293 (dpdk_ring_tsan+0x1421dbf) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37010 by thread T2: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:305 (dpdk_ring_tsan+0x1421f33) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x10) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:293 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 1 at 0x000100c37030 by thread T3: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:298 (dpdk_ring_tsan+0x1421e0a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000100c37030 by thread T2: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:408 (dpdk_ring_tsan+0x1422466) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x30) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:298 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ec0 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:128 (dpdk_ring_tsan+0x1421639) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ec0 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdec0) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:128 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ee8 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:129 (dpdk_ring_tsan+0x1421654) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ee8 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdee8) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:129 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ec8 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:130 (dpdk_ring_tsan+0x1421670) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ec8 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdec8) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:130 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ed0 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:131 (dpdk_ring_tsan+0x142168c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ed0 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffded0) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:131 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ed8 by thread T3: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_init ../lib/eal/common/malloc_elem.c:132 (dpdk_ring_tsan+0x14216b2) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#12 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#13 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ed8 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffded8) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:132 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x000140c34ef0 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:133 (dpdk_ring_tsan+0x14216c2) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000140c34ef0 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdef0) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:133 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ef8 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:135 (dpdk_ring_tsan+0x142170e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ef8 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdef8) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:135 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34f00 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:137 (dpdk_ring_tsan+0x1421745) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34f00 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdf00) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:137 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34f08 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:138 (dpdk_ring_tsan+0x1421761) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34f08 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdf08) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:138 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34f88 by thread T3: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:302 (dpdk_ring_tsan+0x1421eee) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34f88 by thread T2: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:302 (dpdk_ring_tsan+0x1421eee) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdf88) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:302 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 4 at 0x557b5d9d0c80 by thread T3: | |
#0 heap_alloc ../lib/eal/common/malloc_heap.c:249 (dpdk_ring_tsan+0x1423edd) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x557b5d9d0c80 by thread T2: | |
#0 heap_alloc ../lib/eal/common/malloc_heap.c:249 (dpdk_ring_tsan+0x1423efa) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c80) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_heap.c:249 in heap_alloc | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x557b5d9d0c60 by thread T5: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x557b5d9d0c60 by thread T3: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c60) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ec8 by thread T5: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:302 (dpdk_ring_tsan+0x1421eee) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ec8 by thread T3: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:299 (dpdk_ring_tsan+0x1421eaf) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdec8) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:302 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000100c37010 by thread T5: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:305 (dpdk_ring_tsan+0x1421f33) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37010 by thread T3: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:305 (dpdk_ring_tsan+0x1421f33) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x10) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:305 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000100c37038 by thread T5: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:306 (dpdk_ring_tsan+0x1421f4f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37038 by thread T3: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:306 (dpdk_ring_tsan+0x1421f4f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x38) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:306 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x000100c37030 by thread T5: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:408 (dpdk_ring_tsan+0x1422466) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000100c37030 by thread T3: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:408 (dpdk_ring_tsan+0x1422466) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x30) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:408 in malloc_elem_free_list_insert | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000100c37018 by thread T5: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x14224b7) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37018 by thread T3: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x14224b7) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x18) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:409 in malloc_elem_free_list_insert | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000100c37020 by thread T5: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422590) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37020 by thread T3: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422590) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x20) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:409 in malloc_elem_free_list_insert | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x557b5d9d0c80 by thread T5: | |
#0 heap_alloc ../lib/eal/common/malloc_heap.c:249 (dpdk_ring_tsan+0x1423efa) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x557b5d9d0c80 by thread T3: | |
#0 heap_alloc ../lib/eal/common/malloc_heap.c:249 (dpdk_ring_tsan+0x1423efa) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c80) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_heap.c:249 in heap_alloc | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x557b5d9d0c60 by thread T4: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x557b5d9d0c60 by thread T5: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422551) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c60) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34e08 by thread T4: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:302 (dpdk_ring_tsan+0x1421eee) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34e08 by thread T5: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:130 (dpdk_ring_tsan+0x1421670) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde08) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:302 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 1 at 0x000140c34e30 by thread T3: | |
#0 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:539 (dpdk_ring_tsan+0x1422cd9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000140c34e30 by thread T5: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:133 (dpdk_ring_tsan+0x14216c2) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde30) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:539 in malloc_elem_join_adjacent_free | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x557b5d9d0c08 by thread T3: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422551) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous read of size 8 at 0x557b5d9d0c08 by thread T4: | |
#0 find_suitable_element ../lib/eal/common/malloc_heap.c:158 (dpdk_ring_tsan+0x1423b41) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 heap_alloc ../lib/eal/common/malloc_heap.c:244 (dpdk_ring_tsan+0x1423e98) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c08) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:409 in malloc_elem_free_list_insert | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ee0 by thread T3: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422590) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ee0 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdee0) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:409 in malloc_elem_free_list_insert | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x557b5d9d0c80 by thread T3: | |
#0 malloc_elem_free ../lib/eal/common/malloc_elem.c:593 (dpdk_ring_tsan+0x1422ea9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x557b5d9d0c80 by thread T4: | |
#0 heap_alloc ../lib/eal/common/malloc_heap.c:249 (dpdk_ring_tsan+0x1423efa) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c80) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:593 in malloc_elem_free | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34f40 by thread T3: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:598 (dpdk_ring_tsan+0x1422ee4) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34f40 by thread T2: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:598 (dpdk_ring_tsan+0x1422ee4) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdf40) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T2 'dpdk-worker1' (tid=75771, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:598 in malloc_elem_free | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x000140c34ef0 by thread T8: | |
#0 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:455 (dpdk_ring_tsan+0x14227ee) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000140c34ef0 by thread T3: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:134 (dpdk_ring_tsan+0x14216e0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdef0) | |
Thread T8 'dpdk-worker7' (tid=75777, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:455 in malloc_elem_alloc | |
================== | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ed8 by thread T8: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x14224b7) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ed8 by thread T3: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x14224b7) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffded8) | |
Thread T8 'dpdk-worker7' (tid=75777, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:409 in malloc_elem_free_list_insert | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x557b5d9d0c08 by thread T5: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:528 (dpdk_ring_tsan+0x1422c58) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x557b5d9d0c08 by thread T8: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c08) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T8 'dpdk-worker7' (tid=75777, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
ThreadSanitizer: suppressing report as doubled (stack) | |
ThreadSanitizer: suppressing report as doubled (stack) | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x557b5d9d0c80 by thread T5: | |
#0 malloc_elem_free ../lib/eal/common/malloc_elem.c:593 (dpdk_ring_tsan+0x1422ea9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x557b5d9d0c80 by thread T8: | |
#0 malloc_elem_free ../lib/eal/common/malloc_elem.c:593 (dpdk_ring_tsan+0x1422ea9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c80) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T8 'dpdk-worker7' (tid=75777, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:593 in malloc_elem_free | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000140c34e28 by thread T4: | |
#0 next_elem_is_adjacent ../lib/eal/common/malloc_elem.c:345 (dpdk_ring_tsan+0x14221b1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:519 (dpdk_ring_tsan+0x1422bcc) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34e28 by thread T5: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:129 (dpdk_ring_tsan+0x1421654) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde28) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:345 in next_elem_is_adjacent | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000140c34e18 by thread T4: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x14225d6) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:528 (dpdk_ring_tsan+0x1422c58) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34e18 by thread T5: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_init ../lib/eal/common/malloc_elem.c:132 (dpdk_ring_tsan+0x14216b2) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#12 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#13 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde18) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000140c34e20 by thread T4: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x1422633) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:528 (dpdk_ring_tsan+0x1422c58) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34e20 by thread T5: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_init ../lib/eal/common/malloc_elem.c:132 (dpdk_ring_tsan+0x14216b2) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#12 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#13 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde20) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000140c34e10 by thread T4: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:497 (dpdk_ring_tsan+0x142298b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:529 (dpdk_ring_tsan+0x1422c7f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34e10 by thread T5: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:131 (dpdk_ring_tsan+0x142168c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde10) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:497 in join_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Read of size 8 at 0x000140c34e38 by thread T4: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:498 (dpdk_ring_tsan+0x14229bf) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:529 (dpdk_ring_tsan+0x1422c7f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34e38 by thread T5: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:135 (dpdk_ring_tsan+0x142170e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde38) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:498 in join_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34f88 by thread T4: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:500 (dpdk_ring_tsan+0x14229f9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:529 (dpdk_ring_tsan+0x1422c7f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34f88 by thread T5: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:500 (dpdk_ring_tsan+0x14229f9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:529 (dpdk_ring_tsan+0x1422c7f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdf88) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:500 in join_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34e00 by thread T4: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:532 (dpdk_ring_tsan+0x1422c94) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34e00 by thread T5: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:128 (dpdk_ring_tsan+0x1421639) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffde00) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T5 'dpdk-worker4' (tid=75774, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:532 in malloc_elem_join_adjacent_free | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x557b5d9d0c60 by thread T4: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:550 (dpdk_ring_tsan+0x1422d5a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x557b5d9d0c60 by thread T7: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422551) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c60) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T7 'dpdk-worker6' (tid=75776, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000100c37038 by thread T4: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:498 (dpdk_ring_tsan+0x14229da) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37038 by thread T7: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:498 (dpdk_ring_tsan+0x14229da) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x38) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T7 'dpdk-worker6' (tid=75776, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:498 in join_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000100c37010 by thread T4: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:503 (dpdk_ring_tsan+0x1422a3e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37010 by thread T7: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:503 (dpdk_ring_tsan+0x1422a3e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x10) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T7 'dpdk-worker6' (tid=75776, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:503 in join_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x000100c37030 by thread T4: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:504 (dpdk_ring_tsan+0x1422a9a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000100c37030 by thread T7: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:504 (dpdk_ring_tsan+0x1422a9a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x30) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T7 'dpdk-worker6' (tid=75776, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:504 in join_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34d48 by thread T4: | |
#0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:871 (libtsan.so.2+0x424e1) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:869 (libtsan.so.2+0x424e1) | |
#2 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:556 (dpdk_ring_tsan+0x1422d9e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34d48 by thread T7: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:500 (dpdk_ring_tsan+0x14229f9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdd48) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T7 'dpdk-worker6' (tid=75776, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:556 in malloc_elem_join_adjacent_free | |
================== | |
ThreadSanitizer: suppressing report as doubled (stack) | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000100c37020 by thread T4: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422590) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000100c37020 by thread T7: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422590) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x20) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T7 'dpdk-worker6' (tid=75776, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:409 in malloc_elem_free_list_insert | |
================== | |
ThreadSanitizer: suppressing report as doubled (stack) | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x557b5d9d0c60 by thread T6: | |
#0 malloc_elem_free_list_remove ../lib/eal/common/malloc_elem.c:418 (dpdk_ring_tsan+0x142265b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:437 (dpdk_ring_tsan+0x142270d) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x557b5d9d0c60 by thread T4: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422551) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global 'early_mem_config' of size 25344 at 0x557b5d9cc140 (dpdk_ring_tsan+0x19c1c60) | |
Thread T6 'dpdk-worker5' (tid=75775, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:418 in malloc_elem_free_list_remove | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34ed0 by thread T6: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:131 (dpdk_ring_tsan+0x142168c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34ed0 by thread T3: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:300 (dpdk_ring_tsan+0x1421ecb) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffded0) | |
Thread T6 'dpdk-worker5' (tid=75775, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T3 'dpdk-worker2' (tid=75772, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:131 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x000140c34ef0 by thread T6: | |
#0 malloc_elem_init ../lib/eal/common/malloc_elem.c:133 (dpdk_ring_tsan+0x14216c2) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 split_elem ../lib/eal/common/malloc_elem.c:297 (dpdk_ring_tsan+0x1421e9b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#11 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000140c34ef0 by thread T8: | |
#0 malloc_heap_free ../lib/eal/common/malloc_heap.c:886 (dpdk_ring_tsan+0x1425948) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdef0) | |
Thread T6 'dpdk-worker5' (tid=75775, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T8 'dpdk-worker7' (tid=75777, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:133 in malloc_elem_init | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 8 at 0x000140c34f88 by thread T6: | |
#0 split_elem ../lib/eal/common/malloc_elem.c:302 (dpdk_ring_tsan+0x1421eee) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:480 (dpdk_ring_tsan+0x1422913) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 8 at 0x000140c34f88 by thread T4: | |
#0 join_elem ../lib/eal/common/malloc_elem.c:500 (dpdk_ring_tsan+0x14229f9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_join_adjacent_free ../lib/eal/common/malloc_elem.c:553 (dpdk_ring_tsan+0x1422d89) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_elem_free ../lib/eal/common/malloc_elem.c:586 (dpdk_ring_tsan+0x1422e43) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x3fffdf88) | |
Thread T6 'dpdk-worker5' (tid=75775, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:302 in split_elem | |
================== | |
================== | |
WARNING: ThreadSanitizer: data race (pid=75767) | |
Write of size 4 at 0x000100c37030 by thread T6: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:408 (dpdk_ring_tsan+0x1422466) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_alloc ../lib/eal/common/malloc_elem.c:485 (dpdk_ring_tsan+0x142294c) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 heap_alloc ../lib/eal/common/malloc_heap.c:246 (dpdk_ring_tsan+0x1423ec9) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x142519f) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x142543e) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d75) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281ca) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 rte_malloc ../lib/eal/common/rte_malloc.c:102 (dpdk_ring_tsan+0x142826a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#8 worker ../main.c:47 (dpdk_ring_tsan+0xc63ed) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#9 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#10 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Previous write of size 4 at 0x000100c37030 by thread T4: | |
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:408 (dpdk_ring_tsan+0x1422466) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e53) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x1425968) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427be0) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c5b) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#5 worker ../main.c:52 (dpdk_ring_tsan+0xc6449) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#6 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc7a) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#7 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x1448673) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Location is global '<null>' at 0x000000000000 (memfd:nohuge (deleted)+0x30) | |
Thread T6 'dpdk-worker5' (tid=75775, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
Thread T4 'dpdk-worker3' (tid=75773, running) created by main thread at: | |
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8) | |
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448840) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498ce) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
#3 main ../main.c:58 (dpdk_ring_tsan+0xc64a1) (BuildId: 6c611ae8ccce23587d57757d9beed2e068802fdf) | |
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_elem.c:408 in malloc_elem_free_list_insert | |
================== | |
EAL: No shared files mode enabled, IPC is disabled | |
EAL: No shared files mode enabled, IPC is disabled | |
EAL: No shared files mode enabled, IPC is disabled | |
Stats: SizeClassAllocator64: 3M mapped (1M rss) in 6020 allocations; remains 6020 | |
01 ( 16): mapped: 64K allocs: 256 frees: 0 inuse: 256 num_freed_chunks 3840 avail: 4096 rss: 4K releases: 0 last released: 0K region: 0x7b0400000000 | |
02 ( 32): mapped: 64K allocs: 1664 frees: 0 inuse: 1664 num_freed_chunks 384 avail: 2048 rss: 52K releases: 0 last released: 0K region: 0x7b0800000000 | |
03 ( 48): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 1237 avail: 1365 rss: 4K releases: 0 last released: 0K region: 0x7b0c00000000 | |
04 ( 64): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 896 avail: 1024 rss: 4K releases: 0 last released: 0K region: 0x7b1000000000 | |
05 ( 80): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 691 avail: 819 rss: 8K releases: 0 last released: 0K region: 0x7b1400000000 | |
06 ( 96): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 554 avail: 682 rss: 4K releases: 0 last released: 0K region: 0x7b1800000000 | |
07 ( 112): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 457 avail: 585 rss: 8K releases: 0 last released: 0K region: 0x7b1c00000000 | |
08 ( 128): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 384 avail: 512 rss: 4K releases: 0 last released: 0K region: 0x7b2000000000 | |
09 ( 144): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 327 avail: 455 rss: 8K releases: 0 last released: 0K region: 0x7b2400000000 | |
10 ( 160): mapped: 256K allocs: 1280 frees: 0 inuse: 1280 num_freed_chunks 358 avail: 1638 rss: 68K releases: 0 last released: 0K region: 0x7b2800000000 | |
11 ( 176): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 244 avail: 372 rss: 4K releases: 0 last released: 0K region: 0x7b2c00000000 | |
12 ( 192): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 213 avail: 341 rss: 4K releases: 0 last released: 0K region: 0x7b3000000000 | |
13 ( 208): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 187 avail: 315 rss: 4K releases: 0 last released: 0K region: 0x7b3400000000 | |
14 ( 224): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 164 avail: 292 rss: 4K releases: 0 last released: 0K region: 0x7b3800000000 | |
15 ( 240): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 145 avail: 273 rss: 4K releases: 0 last released: 0K region: 0x7b3c00000000 | |
16 ( 256): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 128 avail: 256 rss: 4K releases: 0 last released: 0K region: 0x7b4000000000 | |
17 ( 320): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 76 avail: 204 rss: 8K releases: 0 last released: 0K region: 0x7b4400000000 | |
18 ( 384): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 42 avail: 170 rss: 4K releases: 0 last released: 0K region: 0x7b4800000000 | |
19 ( 448): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 18 avail: 146 rss: 4K releases: 0 last released: 0K region: 0x7b4c00000000 | |
20 ( 512): mapped: 64K allocs: 128 frees: 0 inuse: 128 num_freed_chunks 0 avail: 128 rss: 4K releases: 0 last released: 0K region: 0x7b5000000000 | |
21 ( 640): mapped: 64K allocs: 102 frees: 0 inuse: 102 num_freed_chunks 0 avail: 102 rss: 4K releases: 0 last released: 0K region: 0x7b5400000000 | |
22 ( 768): mapped: 64K allocs: 85 frees: 0 inuse: 85 num_freed_chunks 0 avail: 85 rss: 4K releases: 0 last released: 0K region: 0x7b5800000000 | |
23 ( 896): mapped: 64K allocs: 73 frees: 0 inuse: 73 num_freed_chunks 0 avail: 73 rss: 4K releases: 0 last released: 0K region: 0x7b5c00000000 | |
24 ( 1024): mapped: 64K allocs: 64 frees: 0 inuse: 64 num_freed_chunks 0 avail: 64 rss: 4K releases: 0 last released: 0K region: 0x7b6000000000 | |
25 ( 1280): mapped: 64K allocs: 51 frees: 0 inuse: 51 num_freed_chunks 0 avail: 51 rss: 4K releases: 0 last released: 0K region: 0x7b6400000000 | |
26 ( 1536): mapped: 64K allocs: 42 frees: 0 inuse: 42 num_freed_chunks 0 avail: 42 rss: 4K releases: 0 last released: 0K region: 0x7b6800000000 | |
27 ( 1792): mapped: 64K allocs: 36 frees: 0 inuse: 36 num_freed_chunks 0 avail: 36 rss: 4K releases: 0 last released: 0K region: 0x7b6c00000000 | |
28 ( 2048): mapped: 64K allocs: 32 frees: 0 inuse: 32 num_freed_chunks 0 avail: 32 rss: 4K releases: 0 last released: 0K region: 0x7b7000000000 | |
29 ( 2560): mapped: 64K allocs: 25 frees: 0 inuse: 25 num_freed_chunks 0 avail: 25 rss: 8K releases: 0 last released: 0K region: 0x7b7400000000 | |
30 ( 3072): mapped: 64K allocs: 21 frees: 0 inuse: 21 num_freed_chunks 0 avail: 21 rss: 8K releases: 0 last released: 0K region: 0x7b7800000000 | |
31 ( 3584): mapped: 64K allocs: 18 frees: 0 inuse: 18 num_freed_chunks 0 avail: 18 rss: 8K releases: 0 last released: 0K region: 0x7b7c00000000 | |
32 ( 4096): mapped: 64K allocs: 16 frees: 0 inuse: 16 num_freed_chunks 0 avail: 16 rss: 8K releases: 0 last released: 0K region: 0x7b8000000000 | |
33 ( 5120): mapped: 64K allocs: 12 frees: 0 inuse: 12 num_freed_chunks 0 avail: 12 rss: 12K releases: 0 last released: 0K region: 0x7b8400000000 | |
34 ( 6144): mapped: 64K allocs: 10 frees: 0 inuse: 10 num_freed_chunks 0 avail: 10 rss: 12K releases: 0 last released: 0K region: 0x7b8800000000 | |
35 ( 7168): mapped: 64K allocs: 9 frees: 0 inuse: 9 num_freed_chunks 0 avail: 9 rss: 16K releases: 0 last released: 0K region: 0x7b8c00000000 | |
36 ( 8192): mapped: 64K allocs: 8 frees: 0 inuse: 8 num_freed_chunks 0 avail: 8 rss: 16K releases: 0 last released: 0K region: 0x7b9000000000 | |
37 ( 10240): mapped: 64K allocs: 6 frees: 0 inuse: 6 num_freed_chunks 0 avail: 6 rss: 32K releases: 0 last released: 0K region: 0x7b9400000000 | |
38 ( 12288): mapped: 64K allocs: 5 frees: 0 inuse: 5 num_freed_chunks 0 avail: 5 rss: 24K releases: 0 last released: 0K region: 0x7b9800000000 | |
39 ( 14336): mapped: 64K allocs: 4 frees: 0 inuse: 4 num_freed_chunks 0 avail: 4 rss: 28K releases: 0 last released: 0K region: 0x7b9c00000000 | |
40 ( 16384): mapped: 64K allocs: 4 frees: 0 inuse: 4 num_freed_chunks 0 avail: 4 rss: 32K releases: 0 last released: 0K region: 0x7ba000000000 | |
41 ( 20480): mapped: 64K allocs: 3 frees: 0 inuse: 3 num_freed_chunks 0 avail: 3 rss: 40K releases: 0 last released: 0K region: 0x7ba400000000 | |
42 ( 24576): mapped: 64K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 0 avail: 2 rss: 48K releases: 0 last released: 0K region: 0x7ba800000000 | |
43 ( 28672): mapped: 64K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 0 avail: 2 rss: 56K releases: 0 last released: 0K region: 0x7bac00000000 | |
44 ( 32768): mapped: 128K allocs: 4 frees: 0 inuse: 4 num_freed_chunks 0 avail: 4 rss: 96K releases: 0 last released: 0K region: 0x7bb000000000 | |
45 ( 40960): mapped: 128K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 1 avail: 3 rss: 80K releases: 0 last released: 0K region: 0x7bb400000000 | |
46 ( 49152): mapped: 128K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 0 avail: 2 rss: 96K releases: 0 last released: 0K region: 0x7bb800000000 | |
47 ( 57344): mapped: 128K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 0 avail: 2 rss: 112K releases: 0 last released: 0K region: 0x7bbc00000000 | |
48 ( 65536): mapped: 128K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 0 avail: 2 rss: 128K releases: 0 last released: 0K region: 0x7bc000000000 | |
49 ( 81920): mapped: 192K allocs: 2 frees: 0 inuse: 2 num_freed_chunks 0 avail: 2 rss: 152K releases: 0 last released: 0K region: 0x7bc400000000 | |
Stats: LargeMmapAllocator: allocated 1 times, remains 0 (0 K) max 16 M; by size logs: 24:1; | |
ThreadSanitizer: reported 54 warnings | |
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― | |
1/1 rint_tst FAIL 2.29s exit status 66 | |
Summary of Failures: | |
1/1 rint_tst FAIL 2.29s exit status 66 | |
Ok: 0 | |
Expected Fail: 0 | |
Fail: 1 | |
Unexpected Pass: 0 | |
Skipped: 0 | |
Timeout: 0 |
Author
qrealka
commented
Jan 24, 2025
DPDK 24.11.1
User defined options
buildtype : debug
debug : True
default_library : static
prefer_static : True
prefix : /home/dvloginov/dpdk.tsan
b_sanitize : thread
c_args : -DRTE_USE_C11_MEM_MODEL=1 -Wno-tsan
c_std : gnu17
disable_drivers : compress/*,crypto/*,event/*,baseband/*,gpu/*,regex/*,net/bnx*,net/qed*,net/ena*,net/af_*,net/cp*,net/id*
disable_libs : acl,bpf,compressdev,cryptodev,gpudev,security,regexdev,pdump,pcapng,power
enable_driver_sdk: false
enable_kmods : false
enable_stdatomic : true
enable_trace_fp : true
platform : native
tests : false
Found ninja-1.11.1.git.kitware.jobserver-1 at /usr/local/bin/ninja
...
EAL: Maximum logical cores by configuration: 128
EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Checking presence of .so 'librte_eal.so.25.0'
EAL: Checking presence of .so 'librte_eal.so.25'
EAL: Checking presence of .so 'librte_eal.so'
EAL: Detected static linkage of DPDK
EAL: No shared files mode enabled, IPC will be disabled
EAL: No shared files mode enabled, IPC is disabled
EAL: Bus auxiliary wants IOVA as 'DC'
EAL: Bus cdx wants IOVA as 'DC'
EAL: Bus pci wants IOVA as 'DC'
EAL: Bus platform wants IOVA as 'DC'
EAL: Bus vdev wants IOVA as 'DC'
EAL: Bus dsa wants IOVA as 'DC'
EAL: Buses did not request a specific IOVA mode.
EAL: Physical addresses are unavailable, selecting IOVA as VA mode.
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: No shared files mode enabled, IPC is disabled
EAL: IOMMU type 1 (Type 1) is supported
EAL: IOMMU type 7 (sPAPR) is not supported
EAL: IOMMU type 8 (No-IOMMU) is not supported
EAL: VFIO support initialized
EAL: Ask a virtual area of 0x2e000 bytes
EAL: Virtual area found at 0x100000000 (size = 0x2e000)
EAL: Setting up physically contiguous memory...
EAL: Setting maximum number of open files to 1048576
EAL: Ask a virtual area of 0xc09000 bytes
EAL: Virtual area found at 0x10002e000 (size = 0xc09000)
EAL: Memseg list allocated at socket 0, page size 0x4kB
EAL: Using memfd for anonymous memory
EAL: Ask a virtual area of 0x40000000 bytes
EAL: Virtual area found at 0x100c37000 (size = 0x40000000)
EAL: VA reserved for memseg list at 0x100c37000, size 40000000
EAL: No shared files mode enabled, IPC is disabled
EAL: Added 1024M to heap on socket 0
EAL: No shared files mode enabled, IPC is disabled
EAL: TSC frequency is ~2496000 KHz
EAL: Main lcore 0 is ready (tid=7fd78bdf40c0;cpuset=[0])
EAL: lcore 1 is ready (tid=7fd786d1b640;cpuset=[1])
EAL: lcore 2 is ready (tid=7fd78651a640;cpuset=[2])
EAL: lcore 4 is ready (tid=7fd785518640;cpuset=[4])
EAL: lcore 3 is ready (tid=7fd785d19640;cpuset=[3])
EAL: lcore 5 is ready (tid=7fd784d17640;cpuset=[5])
EAL: lcore 6 is ready (tid=7fd784516640;cpuset=[6])
EAL: lcore 7 is ready (tid=7fd783d15640;cpuset=[7])
EAL: Allocated 2112 bytes of per-lcore data with a 64-byte alignment
==================
WARNING: ThreadSanitizer: data race (pid=9472)
Read of size 8 at 0x5611f94dbc10 by thread T3:
#0 find_suitable_element ../lib/eal/common/malloc_heap.c:158 (dpdk_ring_tsan+0x1423b28) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#1 heap_alloc ../lib/eal/common/malloc_heap.c:244 (dpdk_ring_tsan+0x1423e7f) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#2 malloc_heap_alloc_on_heap_id ../lib/eal/common/malloc_heap.c:659 (dpdk_ring_tsan+0x1425186) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#3 malloc_heap_alloc ../lib/eal/common/malloc_heap.c:755 (dpdk_ring_tsan+0x1425425) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#4 malloc_socket ../lib/eal/common/rte_malloc.c:72 (dpdk_ring_tsan+0x1427d5c) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#5 rte_malloc_socket ../lib/eal/common/rte_malloc.c:87 (dpdk_ring_tsan+0x14281b1) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#6 rte_zmalloc_socket ../lib/eal/common/rte_malloc.c:111 (dpdk_ring_tsan+0x14282c9) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#7 rte_zmalloc ../lib/eal/common/rte_malloc.c:140 (dpdk_ring_tsan+0x1428764) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#8 rte_ring_create_elem ../lib/ring/rte_ring.c:279 (dpdk_ring_tsan+0x13f585d) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#9 rte_ring_create ../lib/ring/rte_ring.c:319 (dpdk_ring_tsan+0x13f5ad0) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#10 worker ../main.c:46 (dpdk_ring_tsan+0xc63d9) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#11 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc61) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#12 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x144865a) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
Previous write of size 8 at 0x5611f94dbc10 by thread T2:
#0 malloc_elem_free_list_insert ../lib/eal/common/malloc_elem.c:409 (dpdk_ring_tsan+0x1422538) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#1 malloc_elem_free ../lib/eal/common/malloc_elem.c:588 (dpdk_ring_tsan+0x1422e3a) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#2 malloc_heap_free ../lib/eal/common/malloc_heap.c:888 (dpdk_ring_tsan+0x142594f) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#3 mem_free ../lib/eal/common/rte_malloc.c:37 (dpdk_ring_tsan+0x1427bc7) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#4 rte_free ../lib/eal/common/rte_malloc.c:44 (dpdk_ring_tsan+0x1427c42) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#5 rte_memzone_free ../lib/eal/common/eal_common_memzone.c:336 (dpdk_ring_tsan+0x140fcf0) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#6 rte_ring_free ../lib/ring/rte_ring.c:361 (dpdk_ring_tsan+0x13f5cda) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#7 worker ../main.c:50 (dpdk_ring_tsan+0xc648e) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#8 eal_thread_loop ../lib/eal/common/eal_common_thread.c:212 (dpdk_ring_tsan+0x141cc61) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#9 eal_worker_thread_loop ../lib/eal/linux/eal.c:867 (dpdk_ring_tsan+0x144865a) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
Location is global 'early_mem_config' of size 25344 at 0x5611f94d7140 (dpdk_ring_tsan+0x19c1c10)
Thread T3 'dpdk-worker2' (tid=9477, running) created by main thread at:
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8)
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448827) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498b5) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#3 main ../main.c:57 (dpdk_ring_tsan+0xc64f3) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
Thread T2 'dpdk-worker1' (tid=9476, running) created by main thread at:
#0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1036 (libtsan.so.2+0x3d179) (BuildId: 5e151fac359cd43a07192270fb85f74e380f2fc8)
#1 eal_worker_thread_create ../lib/eal/linux/eal.c:904 (dpdk_ring_tsan+0x1448827) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#2 rte_eal_init ../lib/eal/linux/eal.c:1206 (dpdk_ring_tsan+0x14498b5) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
#3 main ../main.c:57 (dpdk_ring_tsan+0xc64f3) (BuildId: a12cc1004150851b8723d5fe4583f4f7736a7e42)
SUMMARY: ThreadSanitizer: data race ../lib/eal/common/malloc_heap.c:158 in find_suitable_element
==================
Writer:
- tsan report line
LIST_INSERT_HEAD(&elem->heap->free_head[idx], elem, free_list);
- spinlock protection
malloc_heap_free
Reader:
- tsan report line
for (elem = LIST_FIRST(&heap->free_head[idx]); !!elem; elem = LIST_NEXT(elem, free_list))
- spinlock protection
malloc_heap_alloc_on_heap_id
Possible reason: writing to struct __rte_cache_aligned malloc_elem::LIST_ENTRY(malloc_elem) free_list
LIST_INSERT_HEAD man
- if I comment
rte_ring_create
the issue still exists forrte_zmalloc
- TSAN reports about data races only for first two workers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment