Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP for thread sanitizer improvement #2162

Open
wants to merge 9 commits into
base: releases/0.10.x
Choose a base branch
from

Conversation

comicfans
Copy link

@comicfans comicfans commented Jan 19, 2025

Hello here, I use cyclonedds as a dependency of my project, and found that cyclonedds mix using gcc __sync built-in and arch-specified behavior and also disable tsan for some ops, which make it play not well with thread sanitizer. so I did a quick hack to replace them with new __atomic built-in (which supported by gcc and thread sanitizer https://github.com/google/sanitizers/wiki/ThreadSanitizerAtomicOperations) , make it "theoretically tsan warning free" (if all othe places using thread primitives correctly)

but running cyclonedds test shows that there're also some issues which can't be easily detected without thread sanitizer (all tests in my branch also pass all cunit assert check ). for example ddsi_proxy_reader declare serval member as bit field which live in one byte, but being read/write from different thread. there're also some issues that I don't have enough knowledge to resolve, so I put this WIP branch here to get some feedback, I wonder if we have plan to achieve a tsan warning free codebase (or even further, tsan build/test became part of CI check), or we still prefer current atomic implementation ?

I've put the tsan log here, which already removed similar stack trace and non-important ones from tests.
output.log

WANG XINYU and others added 9 commits January 18, 2025 20:28
…" "ddsc_topic_discovery" "-t" "remote_topics"

Environment variables:
 LD_LIBRARY_PATH=/home/xwang/project/cyclonedds/build/lib::
Test timeout computed to be: 180
==================
WARNING: ThreadSanitizer: data race (pid=383863)
  Write of size 1 at 0x72440004d188 by thread T2 (mutexes: write M0):
    #0 proxy_reader_set_delete_and_ack_all_messages /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_endpoint.c:659:17 (libddsc.so.0+0xb2cd0) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#1 ddsi_delete_proxy_reader /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_endpoint.c:770:3 (libddsc.so.0+0xb2cd0)
    eclipse-cyclonedds#2 delete_ppt /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:669:7 (libddsc.so.0+0xa89bd) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#3 ddsi_delete_proxy_participant_by_guid /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:724:3 (libddsc.so.0+0xa89bd)
    eclipse-cyclonedds#4 handle_spdp_dead /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:652:11 (libddsc.so.0+0xb8797) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#5 handle_spdp /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:999:23 (libddsc.so.0+0xb8797)
    eclipse-cyclonedds#6 builtins_dqueue_handler /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:2101:7 (libddsc.so.0+0xb8797)
    eclipse-cyclonedds#7 dqueue_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_radmin.c:2552:17 (libddsc.so.0+0xd176d) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#8 create_thread_wrapper /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:257:24 (libddsc.so.0+0xe1cf9) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#9 os_startRoutineWrapper /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:175:17 (libddsc.so.0+0x1549ef) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)

  Previous read of size 1 at 0x72440004d188 by thread T1 (mutexes: write M1):
    #0 wras_calc_cover /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_wraddrset.c:526:17 (libddsc.so.0+0x94056) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#1 compute_writer_addrset /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_wraddrset.c:762:8 (libddsc.so.0+0x94056)
    eclipse-cyclonedds#2 ddsi_rebuild_writer_addrset /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_endpoint.c:168:12 (libddsc.so.0+0xab2ee) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#3 writer_drop_connection /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_entity_match.c:1150:7 (libddsc.so.0+0x9fffa) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#4 gc_delete_proxy_reader /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_endpoint.c:718:5 (libddsc.so.0+0xb3648) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#5 gcreq_queue_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_gc.c:183:9 (libddsc.so.0+0xc0609) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#6 create_thread_wrapper /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:257:24 (libddsc.so.0+0xe1cf9) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#7 os_startRoutineWrapper /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:175:17 (libddsc.so.0+0x1549ef) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)

  Location is heap block of size 296 at 0x72440004d080 allocated by thread T2:
    #0 malloc <null> (cunit_ddsc+0x7154c) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#1 ddsrt_malloc_s /home/xwang/project/cyclonedds/src/ddsrt/src/heap/posix/heap.c:20:10 (libddsc.so.0+0x15354d) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#2 ddsrt_malloc /home/xwang/project/cyclonedds/src/ddsrt/src/heap/posix/heap.c:26:15 (libddsc.so.0+0x15354d)
    eclipse-cyclonedds#3 ddsi_new_proxy_reader /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_endpoint.c:550:9 (libddsc.so.0+0xb254e) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#4 create_proxy_builtin_endpoint_impl /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:117:5 (libddsc.so.0+0xa8dba) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#5 create_proxy_builtin_endpoints /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:140:7 (libddsc.so.0+0xa8dba)
    eclipse-cyclonedds#6 add_proxy_builtin_endpoints /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:185:3 (libddsc.so.0+0xa7a17) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#7 ddsi_new_proxy_participant /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:451:3 (libddsc.so.0+0xa7a17)
    eclipse-cyclonedds#8 handle_spdp_alive /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:940:8 (libddsc.so.0+0xb9623) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#9 handle_spdp /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:993:23 (libddsc.so.0+0xb9623)
    eclipse-cyclonedds#10 builtins_dqueue_handler /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:2101:7 (libddsc.so.0+0xb9623)
    eclipse-cyclonedds#11 dqueue_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_radmin.c:2552:17 (libddsc.so.0+0xd176d) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#12 create_thread_wrapper /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:257:24 (libddsc.so.0+0xe1cf9) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#13 os_startRoutineWrapper /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:175:17 (libddsc.so.0+0x1549ef) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)

  Mutex M0 (0x72440004d0b0) created at:
    #0 pthread_mutex_init <null> (cunit_ddsc+0x7469f) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#1 ddsrt_mutex_init /home/xwang/project/cyclonedds/src/ddsrt/src/sync/posix/sync.c:26:3 (libddsc.so.0+0x153ef7) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#2 ddsi_entity_common_init /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_entity.c:68:3 (libddsc.so.0+0x9ce09) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#3 proxy_endpoint_common_init /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_endpoint.c:65:3 (libddsc.so.0+0xb1726) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#4 ddsi_new_proxy_reader /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_endpoint.c:551:14 (libddsc.so.0+0xb257d) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#5 create_proxy_builtin_endpoint_impl /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:117:5 (libddsc.so.0+0xa8dba) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#6 create_proxy_builtin_endpoints /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:140:7 (libddsc.so.0+0xa8dba)
    eclipse-cyclonedds#7 add_proxy_builtin_endpoints /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:185:3 (libddsc.so.0+0xa7a17) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#8 ddsi_new_proxy_participant /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_participant.c:451:3 (libddsc.so.0+0xa7a17)
    eclipse-cyclonedds#9 handle_spdp_alive /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:940:8 (libddsc.so.0+0xb9623) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#10 handle_spdp /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:993:23 (libddsc.so.0+0xb9623)
    eclipse-cyclonedds#11 builtins_dqueue_handler /home/xwang/project/cyclonedds/src/core/ddsi/src/q_ddsi_discovery.c:2101:7 (libddsc.so.0+0xb9623)
    eclipse-cyclonedds#12 dqueue_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_radmin.c:2552:17 (libddsc.so.0+0xd176d) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#13 create_thread_wrapper /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:257:24 (libddsc.so.0+0xe1cf9) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#14 os_startRoutineWrapper /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:175:17 (libddsc.so.0+0x1549ef) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)

  Mutex M1 (0x725400002fb0) created at:
    #0 pthread_mutex_init <null> (cunit_ddsc+0x7469f) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#1 ddsrt_mutex_init /home/xwang/project/cyclonedds/src/ddsrt/src/sync/posix/sync.c:26:3 (libddsc.so.0+0x153ef7) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#2 ddsi_entity_common_init /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_entity.c:68:3 (libddsc.so.0+0x9ce09) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#3 endpoint_common_init /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_endpoint.c:425:3 (libddsc.so.0+0xad92e) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#4 ddsi_new_writer_guid /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_endpoint.c:964:3 (libddsc.so.0+0xad494) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#5 add_builtin_endpoints /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_participant.c:339:5 (libddsc.so.0+0xa5632) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#6 new_participant_guid /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_participant.c:916:3 (libddsc.so.0+0xa5632)
    eclipse-cyclonedds#7 ddsi_new_participant /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_participant.c:1020:10 (libddsc.so.0+0xa5632)
    eclipse-cyclonedds#8 dds_create_participant /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_participant.c:142:9 (libddsc.so.0+0x10b2fa) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#9 topic_discovery_init /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_discovery.c:50:20 (cunit_ddsc+0x1a3a6e) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#10 CU_TestProxy_ddsc_topic_discovery_remote_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_discovery.c:72:1 (cunit_ddsc+0x1a3102) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#11 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d6e) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
    eclipse-cyclonedds#12 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x19eb) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
    eclipse-cyclonedds#13 main /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:1814:5 (cunit_ddsc+0x100d50) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)

  Thread T2 'dq.builtins' (tid=383866, running) created by main thread at:
    #0 pthread_create <null> (cunit_ddsc+0x72eab) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#1 ddsrt_thread_create /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:326:21 (libddsc.so.0+0x1548f2) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#2 create_thread_int /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:337:7 (libddsc.so.0+0xe1870) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#3 create_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:360:10 (libddsc.so.0+0xe1960) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#4 nn_dqueue_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_radmin.c:2641:22 (libddsc.so.0+0xd13b5) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#5 rtps_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_init.c:1983:3 (libddsc.so.0+0xc6be0) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#6 dds_domain_init /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:176:7 (libddsc.so.0+0x119fe6) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#7 dds_domain_create_internal_xml_or_raw /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:250:17 (libddsc.so.0+0x119fe6)
    eclipse-cyclonedds#8 dds_create_domain /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:293:9 (libddsc.so.0+0x11a3a2) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#9 topic_discovery_init /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_discovery.c:45:15 (cunit_ddsc+0x1a3a1e) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#10 CU_TestProxy_ddsc_topic_discovery_remote_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_discovery.c:72:1 (cunit_ddsc+0x1a3102) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#11 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d6e) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
    eclipse-cyclonedds#12 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x19eb) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
    eclipse-cyclonedds#13 main /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:1814:5 (cunit_ddsc+0x100d50) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)

  Thread T1 'gc' (tid=383865, running) created by main thread at:
    #0 pthread_create <null> (cunit_ddsc+0x72eab) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#1 ddsrt_thread_create /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:326:21 (libddsc.so.0+0x1548f2) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#2 create_thread_int /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:337:7 (libddsc.so.0+0xe1870) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#3 create_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:360:10 (libddsc.so.0+0xe1960) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#4 gcreq_queue_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_gc.c:212:7 (libddsc.so.0+0xc04da) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#5 rtps_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_init.c:1981:3 (libddsc.so.0+0xc6bc8) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#6 dds_domain_init /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:176:7 (libddsc.so.0+0x119fe6) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#7 dds_domain_create_internal_xml_or_raw /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:250:17 (libddsc.so.0+0x119fe6)
    eclipse-cyclonedds#8 dds_create_domain /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:293:9 (libddsc.so.0+0x11a3a2) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
    eclipse-cyclonedds#9 topic_discovery_init /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_discovery.c:45:15 (cunit_ddsc+0x1a3a1e) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#10 CU_TestProxy_ddsc_topic_discovery_remote_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_discovery.c:72:1 (cunit_ddsc+0x1a3102) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
    eclipse-cyclonedds#11 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d6e) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
    eclipse-cyclonedds#12 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x19eb) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
    eclipse-cyclonedds#13 main /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:1814:5 (cunit_ddsc+0x100d50) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)

SUMMARY: ThreadSanitizer: data race /home/xwang/project/cyclonedds/src/core/ddsi/src/ddsi_proxy_endpoint.c:659:17 in proxy_reader_set_delete_and_ack_all_messages
1280:   Write of size 4 at 0x72100000dd20 by main thread:
1280:     #0 CU_assertImplementation /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:34:21 (libucunit.so+0x1279) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#1 CU_Test_ddsc_topic_find_global_find_delete_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_find_global.c:245:7 (cunit_ddsc+0x1a592d) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#2 CU_TestProxy_ddsc_topic_find_global_find_delete_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_find_global.c:204:1 (cunit_ddsc+0x1a592d)
1280:     eclipse-cyclonedds#3 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d6e) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#4 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x19eb) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#5 main /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:1814:5 (cunit_ddsc+0x100d50) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:
1280:   Previous write of size 4 at 0x72100000dd20 by thread T28:
1280:     #0 CU_assertImplementation /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:34:21 (libucunit.so+0x1279) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#1 topics_thread /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_find_global.c:168:5 (cunit_ddsc+0x1a62bc) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#2 os_startRoutineWrapper /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:175:17 (libddsc.so.0+0x1549ef) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
1280:
1280:   Location is heap block of size 56 at 0x72100000dd00 allocated by main thread:
1280:     #0 malloc <null> (cunit_ddsc+0x7154c) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#1 CU_add_test /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:132:9 (libucunit.so+0x16ae) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#2 add_test /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:151:13 (cunit_ddsc+0x100d21) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#3 main /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:1812:1 (cunit_ddsc+0x100d21)
1280:
1280:   Thread T28 'create_topic' (tid=384006, running) created by main thread at:
1280:     #0 pthread_create <null> (cunit_ddsc+0x72eab) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#1 ddsrt_thread_create /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:326:21 (libddsc.so.0+0x1548f2) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
1280:     eclipse-cyclonedds#2 CU_Test_ddsc_topic_find_global_find_delete_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_find_global.c:228:11 (cunit_ddsc+0x1a562c) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#3 CU_TestProxy_ddsc_topic_find_global_find_delete_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_find_global.c:204:1 (cunit_ddsc+0x1a562c)
1280:     eclipse-cyclonedds#4 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d6e) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#5 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x19eb) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#6 main /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:1814:5 (cunit_ddsc+0x100d50) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:
1280: SUMMARY: ThreadSanitizer: data race /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:34:21 in CU_assertImplementation
1280: ==================
1280: WARNING: ThreadSanitizer: thread leak (pid=383971)
1280:   Thread T22 'create_topic' (tid=383994, finished) created by main thread at:
1280:     #0 pthread_create <null> (cunit_ddsc+0x72eab) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#1 ddsrt_thread_create /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:326:21 (libddsc.so.0+0x1548f2) (BuildId: 5f5642c07f670e5d236611d4c155482ab0703937)
1280:     eclipse-cyclonedds#2 CU_Test_ddsc_topic_find_global_find_delete_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_find_global.c:228:11 (cunit_ddsc+0x1a562c) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:     eclipse-cyclonedds#3 CU_TestProxy_ddsc_topic_find_global_find_delete_topics /home/xwang/project/cyclonedds/src/core/ddsc/tests/topic_find_global.c:204:1 (cunit_ddsc+0x1a562c)
1280:     eclipse-cyclonedds#4 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d6e) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#5 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x19eb) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
1280:     eclipse-cyclonedds#6 main /home/xwang/project/cyclonedds/build/src/core/ddsc/tests/cunit_ddsc.c:1814:5 (cunit_ddsc+0x100d50) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113)
1280:
1280:   And 21 more similar thread leaks.
1280:
1280: SUMMARY: ThreadSanitizer: thread leak (/home/xwang/project/cyclonedds/build/bin/cunit_ddsc+0x72eab) (BuildId: 72655519e4609904ffa79d61bf344011e9bd8113) in pthread_create
74:   Thread T1 'foobar' (tid=366844, finished) created by main thread at:
74:     #0 pthread_create <null> (cunit_ddsrt+0x699eb) (BuildId: 1c8d228c0380a89589b4be71c9ce71c642821b42)
74:     eclipse-cyclonedds#1 ddsrt_thread_create /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:326:21 (cunit_ddsrt+0xff762) (BuildId: 1c8d228c0380a89589b4be71c9ce71c642821b42)
74:     eclipse-cyclonedds#2 CU_Test_dds_log_synchronous_sink_changes /home/xwang/project/cyclonedds/src/ddsrt/tests/log.c:401:9 (cunit_ddsrt+0xf1c89) (BuildId: 1c8d228c0380a89589b4be71c9ce71c642821b42)
74:     eclipse-cyclonedds#3 CU_TestProxy_dds_log_synchronous_sink_changes /home/xwang/project/cyclonedds/src/ddsrt/tests/log.c:384:1 (cunit_ddsrt+0xf1c89)
74:     eclipse-cyclonedds#4 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d6e) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
74:     eclipse-cyclonedds#5 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x19eb) (BuildId: 0425938d5cb8507b34af48b4885a3169f7b036f5)
74:     eclipse-cyclonedds#6 main /home/xwang/project/cyclonedds/build/src/ddsrt/tests/cunit_ddsrt.c:393:5 (cunit_ddsrt+0xe9303) (BuildId: 1c8d228c0380a89589b4be71c9ce71c642821b42)
229:   Write of size 1 at 0x558fc3656005 by thread T4:
229:     #0 simple_callback /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:89:18 (cunit_security_core+0xe7ade) (BuildId: 40030d5079e5766721132b2be58322f9f47333e0)
229:     eclipse-cyclonedds#1 timed_event_cb /home/xwang/project/cyclonedds/src/security/core/src/dds_security_timed_cb.c:113:5 (libddsc.so.0+0x13f381) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#2 handle_individual_xevent /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1119:5 (libddsc.so.0+0xe73a3) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#3 handle_timed_xevent /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1179:3 (libddsc.so.0+0xe73a3)
229:     eclipse-cyclonedds#4 handle_xevents /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1234:9 (libddsc.so.0+0xe73a3)
229:     eclipse-cyclonedds#5 xevent_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1274:5 (libddsc.so.0+0xe73a3)
229:     eclipse-cyclonedds#6 create_thread_wrapper /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:257:24 (libddsc.so.0+0xe1d79) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#7 os_startRoutineWrapper /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:175:17 (libddsc.so.0+0x154a6f) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:
229:   Previous read of size 1 at 0x558fc3656005 by main thread:
229:     #0 CU_Test_ddssec_timed_cb_simple_test_with_future /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:179:3 (cunit_security_core+0xe6ac5) (BuildId: 40030d5079e5766721132b2be58322f9f47333e0)
229:     eclipse-cyclonedds#1 CU_TestProxy_ddssec_timed_cb_simple_test_with_future /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:168:1 (cunit_security_core+0xe6ac5)
229:     eclipse-cyclonedds#2 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d8e) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
229:     eclipse-cyclonedds#3 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x1a0b) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
229:     eclipse-cyclonedds#4 main /home/xwang/project/cyclonedds/build/src/security/core/tests/cunit_security_core.c:329:5 (cunit_security_core+0xe408f) (BuildId: 40030d5079e5766721132b2be58322f9f47333e0)
229:
229:   Location is global 'CU_Test_ddssec_timed_cb_simple_test_with_future.test_var' of size 1 at 0x558fc3656005 (cunit_security_core+0x14c5005)
229:
229:   Thread T4 'tev' (tid=775050, running) created by main thread at:
229:     #0 pthread_create <null> (cunit_security_core+0x6515b) (BuildId: 40030d5079e5766721132b2be58322f9f47333e0)
229:     eclipse-cyclonedds#1 ddsrt_thread_create /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:326:21 (libddsc.so.0+0x154972) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#2 create_thread_int /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:337:7 (libddsc.so.0+0xe18f0) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#3 create_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:360:10 (libddsc.so.0+0xe19e0) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#4 xeventq_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:547:8 (libddsc.so.0+0xe6eb6) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#5 rtps_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_init.c:1991:7 (libddsc.so.0+0xc6c9a) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#6 dds_domain_init /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:176:7 (libddsc.so.0+0x11a066) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#7 dds_domain_create_internal_xml_or_raw /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:250:17 (libddsc.so.0+0x11a066)
229:     eclipse-cyclonedds#8 dds_domain_create_internal /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:274:10 (libddsc.so.0+0x119c3d) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#9 dds_create_participant /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_participant.c:112:14 (libddsc.so.0+0x10b198) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
229:     eclipse-cyclonedds#10 setup /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:73:8 (cunit_security_core+0xe68f2) (BuildId: 40030d5079e5766721132b2be58322f9f47333e0)
229:     eclipse-cyclonedds#11 CU_TestProxy_ddssec_timed_cb_simple_test_with_future /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:168:1 (cunit_security_core+0xe68f2)
229:     eclipse-cyclonedds#12 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d8e) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
229:     eclipse-cyclonedds#13 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x1a0b) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
229:     eclipse-cyclonedds#14 main /home/xwang/project/cyclonedds/build/src/security/core/tests/cunit_security_core.c:329:5 (cunit_security_core+0xe408f) (BuildId: 40030d5079e5766721132b2be58322f9f47333e0)
229:
229: SUMMARY: ThreadSanitizer: data race /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:89:18 in simple_callback
WARNING: ThreadSanitizer: data race (pid=838868)
  Read of size 4 at 0x7fffb57276cc by thread T46:
    #0 test_callback /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:111:17 (cunit_security_core+0xe7bff) (BuildId: 9edd5eb208c3bfd270a11ae268bd768809cacbc3)
    eclipse-cyclonedds#1 timed_event_cb /home/xwang/project/cyclonedds/src/security/core/src/dds_security_timed_cb.c:113:5 (libddsc.so.0+0x13f381) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#2 handle_individual_xevent /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1119:5 (libddsc.so.0+0xe73a3) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#3 handle_timed_xevent /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1179:3 (libddsc.so.0+0xe73a3)
    eclipse-cyclonedds#4 handle_xevents /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1234:9 (libddsc.so.0+0xe73a3)
    eclipse-cyclonedds#5 xevent_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:1274:5 (libddsc.so.0+0xe73a3)
    eclipse-cyclonedds#6 create_thread_wrapper /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:257:24 (libddsc.so.0+0xe1d79) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#7 os_startRoutineWrapper /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:175:17 (libddsc.so.0+0x154a6f) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)

  Previous atomic write of size 4 at 0x7fffb57276cc by main thread:
    #0 test_callback /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:118:3 (cunit_security_core+0xe7cc2) (BuildId: 9edd5eb208c3bfd270a11ae268bd768809cacbc3)
    eclipse-cyclonedds#1 dds_security_timed_dispatcher_remove /home/xwang/project/cyclonedds/src/security/core/src/dds_security_timed_cb.c:238:5 (libddsc.so.0+0x13f7d5) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#2 CU_Test_ddssec_timed_cb_test_remove_timer /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:346:3 (cunit_security_core+0xe7870) (BuildId: 9edd5eb208c3bfd270a11ae268bd768809cacbc3)
    eclipse-cyclonedds#3 CU_TestProxy_ddssec_timed_cb_test_remove_timer /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:307:1 (cunit_security_core+0xe7870)
    eclipse-cyclonedds#4 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d8e) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
    eclipse-cyclonedds#5 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x1a0b) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
    eclipse-cyclonedds#6 main /home/xwang/project/cyclonedds/build/src/security/core/tests/cunit_security_core.c:329:5 (cunit_security_core+0xe408f) (BuildId: 9edd5eb208c3bfd270a11ae268bd768809cacbc3)

  Location is stack of main thread.

  Location is global '??' at 0x7fffb5708000 ([stack]+0x1f6cc)

  Thread T46 'tev' (tid=838974, running) created by main thread at:
    #0 pthread_create <null> (cunit_security_core+0x6515b) (BuildId: 9edd5eb208c3bfd270a11ae268bd768809cacbc3)
    eclipse-cyclonedds#1 ddsrt_thread_create /home/xwang/project/cyclonedds/src/ddsrt/src/threads/posix/threads.c:326:21 (libddsc.so.0+0x154972) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#2 create_thread_int /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:337:7 (libddsc.so.0+0xe18f0) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#3 create_thread /home/xwang/project/cyclonedds/src/core/ddsi/src/q_thread.c:360:10 (libddsc.so.0+0xe19e0) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#4 xeventq_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_xevent.c:547:8 (libddsc.so.0+0xe6eb6) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#5 rtps_start /home/xwang/project/cyclonedds/src/core/ddsi/src/q_init.c:1991:7 (libddsc.so.0+0xc6c9a) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#6 dds_domain_init /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:176:7 (libddsc.so.0+0x11a066) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#7 dds_domain_create_internal_xml_or_raw /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:250:17 (libddsc.so.0+0x11a066)
    eclipse-cyclonedds#8 dds_domain_create_internal /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_domain.c:274:10 (libddsc.so.0+0x119c3d) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#9 dds_create_participant /home/xwang/project/cyclonedds/src/core/ddsc/src/dds_participant.c:112:14 (libddsc.so.0+0x10b198) (BuildId: 38deddd28d7db9f1139c95c21b49ad4166a2ebf7)
    eclipse-cyclonedds#10 setup /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:73:8 (cunit_security_core+0xe75bb) (BuildId: 9edd5eb208c3bfd270a11ae268bd768809cacbc3)
    eclipse-cyclonedds#11 CU_TestProxy_ddssec_timed_cb_test_remove_timer /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:307:1 (cunit_security_core+0xe75bb)
    eclipse-cyclonedds#12 runtest /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:163:5 (libucunit.so+0x1d8e) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
    eclipse-cyclonedds#13 CU_basic_run_tests /home/xwang/project/cyclonedds/src/ucunit/src/ucunit.c:194:11 (libucunit.so+0x1a0b) (BuildId: 4e447c2221db2617695a156097f7314ec294d4de)
    eclipse-cyclonedds#14 main /home/xwang/project/cyclonedds/build/src/security/core/tests/cunit_security_core.c:329:5 (cunit_security_core+0xe408f) (BuildId: 9edd5eb208c3bfd270a11ae268bd768809cacbc3)

SUMMARY: ThreadSanitizer: data race /home/xwang/project/cyclonedds/src/security/core/tests/timed_cb.c:111:17 in test_callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant