Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2153

Many various race-condition warnings reported from system_tests_log_level_update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17.0
    • None
    • None

    Description

      These reports should probably be broken down into individual Jiras after triage. I just don't want to create 7 Jiras right away.

      https://github.com/apache/qpid-dispatch/pull/1231/checks?check_run_id=2640447672#step:25:2525

      66: ==================
      66: WARNING: ThreadSanitizer: data race (pid=3300)
      66:   Write of size 2 at 0x7b4c0002062a by main thread (mutexes: write M13, write M270):
      66:     #0 pn_logger_reset_mask /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:167 (libqpid-proton-core.so.10+0x167bb)
      66:     #1 pn_transport_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2862 (libqpid-proton-core.so.10+0x33820)
      66:     #2 qd_server_trace_all_connections /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1441 (libqpid-dispatch.so+0xf38ec)
      66:     #3 qd_log_entity /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/log.c:676 (libqpid-dispatch.so+0x7edb0)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 qdr_forward_on_message /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/forwarder.c:336 (libqpid-dispatch.so+0xbcc9c)
      66:     #6 qdr_general_handler /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core.c:929 (libqpid-dispatch.so+0xc62db)
      66:     #7 qd_timer_visit /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/timer.c:317 (libqpid-dispatch.so+0xf707d)
      66:     #8 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1006 (libqpid-dispatch.so+0xf108e)
      66:     #9 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #10 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1501 (libqpid-dispatch.so+0xf5808)
      66:     #11 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #12 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Previous read of size 2 at 0x7b4c0002062a by thread T4:
      66:     #0 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:890 (libqpid-proton-core.so.10+0x33f88)
      66:     #1 pn_post_frame /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33f88)
      66:     #2 pni_post_flow /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2180 (libqpid-proton-core.so.10+0x345b7)
      66:     #3 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2202 (libqpid-proton-core.so.10+0x378ae)
      66:     #4 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2191 (libqpid-proton-core.so.10+0x378ae)
      66:     #5 pni_phase /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2597 (libqpid-proton-core.so.10+0x378ae)
      66:     #6 pni_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2610 (libqpid-proton-core.so.10+0x378ae)
      66:     #7 pn_output_write_amqp /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2767 (libqpid-proton-core.so.10+0x378ae)
      66:     #8 transport_produce /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2820 (libqpid-proton-core.so.10+0x2f794)
      66:     #9 pn_transport_pending /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:3110 (libqpid-proton-core.so.10+0x2f794)
      66:     #10 pn_connection_driver_write_buffer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:112 (libqpid-proton-core.so.10+0x24d6d)
      66:     #11 ensure_wbuf /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:827 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #12 write_flush /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1074 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #13 pconnection_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:892 (libqpid-proton-proactor.so.1+0xb39a)
      66:     #14 pn_event_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:84 (libqpid-proton-proactor.so.1+0xf21f)
      66:     #15 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1111 (libqpid-dispatch.so+0xf546f)
      66:     #16 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Location is heap block of size 424 at 0x7b4c00020600 allocated by thread T4:
      66:     #0 calloc <null> (libtsan.so.0+0x32b3e)
      66:     #1 pni_mem_zallocate /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/memory.c:271 (libqpid-proton-core.so.10+0x11a39)
      66:     #2 pn_object_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:205 (libqpid-proton-core.so.10+0x11a39)
      66:     #3 pn_class_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:64 (libqpid-proton-core.so.10+0x11b97)
      66:     #4 pn_transport /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:554 (libqpid-proton-core.so.10+0x2c6a6)
      66:     #5 pn_connection_driver_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:56 (libqpid-proton-core.so.10+0x270e4)
      66:     #6 pconnection_setup /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:732 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #7 pn_listener_accept2 /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1845 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #8 pn_listener_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:94 (libqpid-proton-proactor.so.1+0xf293)
      66:     #9 on_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:610 (libqpid-dispatch.so+0xf44ad)
      66:     #10 handle_listener /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:853 (libqpid-dispatch.so+0xf44ad)
      66:     #11 handle_event_with_context /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xf113d)
      66:     #12 do_handle_raw_connection_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xf113d)
      66:     #13 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xf113d)
      66:     #14 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #15 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Mutex M13 (0x7b1000000300) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_python_initialize /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/python_embedded.c:54 (libqpid-dispatch.so+0x9858c)
      66:     #3 qd_dispatch /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:111 (libqpid-dispatch.so+0x763c5)
      66:     #4 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:92 (qdrouterd+0x4027b9)
      66:     #5 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Mutex M270 (0x7b1000000800) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_server /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1357 (libqpid-dispatch.so+0xf35d5)
      66:     #3 qd_dispatch_prepare /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:333 (libqpid-dispatch.so+0x75f06)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x40281c)
      66:     #6 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T4 (tid=3305, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66: SUMMARY: ThreadSanitizer: data race /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:167 in pn_logger_reset_mask
      66: ==================
      
      66: ==================
      66: WARNING: ThreadSanitizer: data race (pid=3300)
      66:   Write of size 2 at 0x7b4c00020628 by main thread (mutexes: write M13, write M270):
      66:     #0 pn_logger_reset_mask /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:168 (libqpid-proton-core.so.10+0x167d9)
      66:     #1 pn_transport_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2862 (libqpid-proton-core.so.10+0x33820)
      66:     #2 qd_server_trace_all_connections /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1441 (libqpid-dispatch.so+0xf38ec)
      66:     #3 qd_log_entity /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/log.c:676 (libqpid-dispatch.so+0x7edb0)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 qdr_forward_on_message /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/forwarder.c:336 (libqpid-dispatch.so+0xbcc9c)
      66:     #6 qdr_general_handler /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core.c:929 (libqpid-dispatch.so+0xc62db)
      66:     #7 qd_timer_visit /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/timer.c:317 (libqpid-dispatch.so+0xf707d)
      66:     #8 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1006 (libqpid-dispatch.so+0xf108e)
      66:     #9 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #10 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1501 (libqpid-dispatch.so+0xf5808)
      66:     #11 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #12 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Previous read of size 2 at 0x7b4c00020628 by thread T4:
      66:     #0 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:890 (libqpid-proton-core.so.10+0x33d71)
      66:     #1 pn_post_frame /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33d71)
      66:     #2 pni_post_flow /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2180 (libqpid-proton-core.so.10+0x345b7)
      66:     #3 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2202 (libqpid-proton-core.so.10+0x378ae)
      66:     #4 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2191 (libqpid-proton-core.so.10+0x378ae)
      66:     #5 pni_phase /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2597 (libqpid-proton-core.so.10+0x378ae)
      66:     #6 pni_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2610 (libqpid-proton-core.so.10+0x378ae)
      66:     #7 pn_output_write_amqp /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2767 (libqpid-proton-core.so.10+0x378ae)
      66:     #8 transport_produce /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2820 (libqpid-proton-core.so.10+0x2f794)
      66:     #9 pn_transport_pending /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:3110 (libqpid-proton-core.so.10+0x2f794)
      66:     #10 pn_connection_driver_write_buffer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:112 (libqpid-proton-core.so.10+0x24d6d)
      66:     #11 ensure_wbuf /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:827 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #12 write_flush /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1074 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #13 pconnection_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:892 (libqpid-proton-proactor.so.1+0xb39a)
      66:     #14 pn_event_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:84 (libqpid-proton-proactor.so.1+0xf21f)
      66:     #15 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1111 (libqpid-dispatch.so+0xf546f)
      66:     #16 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Location is heap block of size 424 at 0x7b4c00020600 allocated by thread T4:
      66:     #0 calloc <null> (libtsan.so.0+0x32b3e)
      66:     #1 pni_mem_zallocate /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/memory.c:271 (libqpid-proton-core.so.10+0x11a39)
      66:     #2 pn_object_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:205 (libqpid-proton-core.so.10+0x11a39)
      66:     #3 pn_class_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:64 (libqpid-proton-core.so.10+0x11b97)
      66:     #4 pn_transport /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:554 (libqpid-proton-core.so.10+0x2c6a6)
      66:     #5 pn_connection_driver_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:56 (libqpid-proton-core.so.10+0x270e4)
      66:     #6 pconnection_setup /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:732 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #7 pn_listener_accept2 /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1845 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #8 pn_listener_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:94 (libqpid-proton-proactor.so.1+0xf293)
      66:     #9 on_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:610 (libqpid-dispatch.so+0xf44ad)
      66:     #10 handle_listener /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:853 (libqpid-dispatch.so+0xf44ad)
      66:     #11 handle_event_with_context /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xf113d)
      66:     #12 do_handle_raw_connection_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xf113d)
      66:     #13 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xf113d)
      66:     #14 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #15 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Mutex M13 (0x7b1000000300) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_python_initialize /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/python_embedded.c:54 (libqpid-dispatch.so+0x9858c)
      66:     #3 qd_dispatch /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:111 (libqpid-dispatch.so+0x763c5)
      66:     #4 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:92 (qdrouterd+0x4027b9)
      66:     #5 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Mutex M270 (0x7b1000000800) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_server /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1357 (libqpid-dispatch.so+0xf35d5)
      66:     #3 qd_dispatch_prepare /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:333 (libqpid-dispatch.so+0x75f06)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x40281c)
      66:     #6 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T4 (tid=3305, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66: SUMMARY: ThreadSanitizer: data race /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:168 in pn_logger_reset_mask
      66: ==================
      
      66: ==================
      66: WARNING: ThreadSanitizer: data race (pid=3300)
      66:   Read of size 2 at 0x7b4c00000028 by thread T4:
      66:     #0 batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:45 (libqpid-proton-core.so.10+0x24fc8)
      66:     #1 pn_connection_driver_next_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:140 (libqpid-proton-core.so.10+0x24fc8)
      66:     #2 pconnection_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:879 (libqpid-proton-proactor.so.1+0xb2ea)
      66:     #3 pn_event_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:84 (libqpid-proton-proactor.so.1+0xf21f)
      66:     #4 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1111 (libqpid-dispatch.so+0xf546f)
      66:     #5 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Previous write of size 2 at 0x7b4c00000028 by thread T3 (mutexes: write M13, write M270):
      66:     #0 pn_logger_reset_mask /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:168 (libqpid-proton-core.so.10+0x167d9)
      66:     #1 pn_transport_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2862 (libqpid-proton-core.so.10+0x33820)
      66:     #2 qd_server_trace_all_connections /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1441 (libqpid-dispatch.so+0xf38ec)
      66:     #3 qd_log_entity /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/log.c:676 (libqpid-dispatch.so+0x7edb0)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 qdr_forward_on_message /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/forwarder.c:336 (libqpid-dispatch.so+0xbcc9c)
      66:     #6 qdr_general_handler /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core.c:929 (libqpid-dispatch.so+0xc62db)
      66:     #7 qd_timer_visit /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/timer.c:317 (libqpid-dispatch.so+0xf707d)
      66:     #8 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1006 (libqpid-dispatch.so+0xf108e)
      66:     #9 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #10 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Location is heap block of size 424 at 0x7b4c00000000 allocated by thread T4:
      66:     #0 calloc <null> (libtsan.so.0+0x32b3e)
      66:     #1 pni_mem_zallocate /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/memory.c:271 (libqpid-proton-core.so.10+0x11a39)
      66:     #2 pn_object_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:205 (libqpid-proton-core.so.10+0x11a39)
      66:     #3 pn_class_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:64 (libqpid-proton-core.so.10+0x11b97)
      66:     #4 pn_transport /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:554 (libqpid-proton-core.so.10+0x2c6a6)
      66:     #5 pn_connection_driver_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:56 (libqpid-proton-core.so.10+0x270e4)
      66:     #6 pconnection_setup /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:732 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #7 pn_listener_accept2 /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1845 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #8 pn_listener_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:94 (libqpid-proton-proactor.so.1+0xf293)
      66:     #9 on_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:610 (libqpid-dispatch.so+0xf44ad)
      66:     #10 handle_listener /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:853 (libqpid-dispatch.so+0xf44ad)
      66:     #11 handle_event_with_context /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xf113d)
      66:     #12 do_handle_raw_connection_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xf113d)
      66:     #13 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xf113d)
      66:     #14 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #15 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Mutex M13 (0x7b1000000300) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_python_initialize /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/python_embedded.c:54 (libqpid-dispatch.so+0x9858c)
      66:     #3 qd_dispatch /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:111 (libqpid-dispatch.so+0x763c5)
      66:     #4 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:92 (qdrouterd+0x4027b9)
      66:     #5 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Mutex M270 (0x7b1000000800) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_server /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1357 (libqpid-dispatch.so+0xf35d5)
      66:     #3 qd_dispatch_prepare /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:333 (libqpid-dispatch.so+0x75f06)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x40281c)
      66:     #6 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T4 (tid=3305, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T3 (tid=3304, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66: SUMMARY: ThreadSanitizer: data race /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:45 in batch_next
      66: ==================
      
      66: ==================
      66: WARNING: ThreadSanitizer: data race (pid=3300)
      66:   Read of size 2 at 0x7b4c0000002a by thread T4:
      66:     #0 batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:45 (libqpid-proton-core.so.10+0x24fd8)
      66:     #1 pn_connection_driver_next_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:140 (libqpid-proton-core.so.10+0x24fd8)
      66:     #2 pconnection_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:879 (libqpid-proton-proactor.so.1+0xb2ea)
      66:     #3 pn_event_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:84 (libqpid-proton-proactor.so.1+0xf21f)
      66:     #4 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1111 (libqpid-dispatch.so+0xf546f)
      66:     #5 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Previous write of size 2 at 0x7b4c0000002a by thread T3 (mutexes: write M13, write M270):
      66:     #0 pn_logger_reset_mask /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:167 (libqpid-proton-core.so.10+0x167bb)
      66:     #1 pn_transport_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2862 (libqpid-proton-core.so.10+0x33820)
      66:     #2 qd_server_trace_all_connections /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1441 (libqpid-dispatch.so+0xf38ec)
      66:     #3 qd_log_entity /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/log.c:676 (libqpid-dispatch.so+0x7edb0)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 qdr_forward_on_message /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/forwarder.c:336 (libqpid-dispatch.so+0xbcc9c)
      66:     #6 qdr_general_handler /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core.c:929 (libqpid-dispatch.so+0xc62db)
      66:     #7 qd_timer_visit /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/timer.c:317 (libqpid-dispatch.so+0xf707d)
      66:     #8 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1006 (libqpid-dispatch.so+0xf108e)
      66:     #9 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #10 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Location is heap block of size 424 at 0x7b4c00000000 allocated by thread T4:
      66:     #0 calloc <null> (libtsan.so.0+0x32b3e)
      66:     #1 pni_mem_zallocate /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/memory.c:271 (libqpid-proton-core.so.10+0x11a39)
      66:     #2 pn_object_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:205 (libqpid-proton-core.so.10+0x11a39)
      66:     #3 pn_class_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:64 (libqpid-proton-core.so.10+0x11b97)
      66:     #4 pn_transport /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:554 (libqpid-proton-core.so.10+0x2c6a6)
      66:     #5 pn_connection_driver_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:56 (libqpid-proton-core.so.10+0x270e4)
      66:     #6 pconnection_setup /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:732 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #7 pn_listener_accept2 /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1845 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #8 pn_listener_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:94 (libqpid-proton-proactor.so.1+0xf293)
      66:     #9 on_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:610 (libqpid-dispatch.so+0xf44ad)
      66:     #10 handle_listener /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:853 (libqpid-dispatch.so+0xf44ad)
      66:     #11 handle_event_with_context /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xf113d)
      66:     #12 do_handle_raw_connection_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xf113d)
      66:     #13 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xf113d)
      66:     #14 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #15 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Mutex M13 (0x7b1000000300) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_python_initialize /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/python_embedded.c:54 (libqpid-dispatch.so+0x9858c)
      66:     #3 qd_dispatch /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:111 (libqpid-dispatch.so+0x763c5)
      66:     #4 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:92 (qdrouterd+0x4027b9)
      66:     #5 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Mutex M270 (0x7b1000000800) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_server /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1357 (libqpid-dispatch.so+0xf35d5)
      66:     #3 qd_dispatch_prepare /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:333 (libqpid-dispatch.so+0x75f06)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x40281c)
      66:     #6 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T4 (tid=3305, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T3 (tid=3304, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66: SUMMARY: ThreadSanitizer: data race /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:45 in batch_next
      66: ==================
      
      66: ==================
      66: WARNING: ThreadSanitizer: data race (pid=3300)
      66:   Read of size 8 at 0x7b4c00000010 by thread T4:
      66:     #0 pni_logger_log /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:203 (libqpid-proton-core.so.10+0x33ba6)
      66:     #1 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:905 (libqpid-proton-core.so.10+0x33ba6)
      66:     #2 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33fc0)
      66:     #3 pn_post_frame /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33fc0)
      66:     #4 pni_post_flow /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2180 (libqpid-proton-core.so.10+0x345b7)
      66:     #5 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2202 (libqpid-proton-core.so.10+0x378ae)
      66:     #6 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2191 (libqpid-proton-core.so.10+0x378ae)
      66:     #7 pni_phase /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2597 (libqpid-proton-core.so.10+0x378ae)
      66:     #8 pni_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2610 (libqpid-proton-core.so.10+0x378ae)
      66:     #9 pn_output_write_amqp /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2767 (libqpid-proton-core.so.10+0x378ae)
      66:     #10 transport_produce /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2820 (libqpid-proton-core.so.10+0x2f794)
      66:     #11 pn_transport_pending /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:3110 (libqpid-proton-core.so.10+0x2f794)
      66:     #12 pn_connection_driver_write_buffer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:112 (libqpid-proton-core.so.10+0x24d6d)
      66:     #13 ensure_wbuf /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:827 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #14 write_flush /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1074 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #15 pconnection_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:892 (libqpid-proton-proactor.so.1+0xb39a)
      66:     #16 pn_event_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:84 (libqpid-proton-proactor.so.1+0xf21f)
      66:     #17 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1111 (libqpid-dispatch.so+0xf546f)
      66:     #18 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Previous write of size 8 at 0x7b4c00000010 by thread T3 (mutexes: write M13, write M270):
      66:     #0 pn_logger_set_log_sink /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:173 (libqpid-proton-core.so.10+0x16816)
      66:     #1 pn_transport_set_tracer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2882 (libqpid-proton-core.so.10+0x33906)
      66:     #2 qd_server_trace_all_connections /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1442 (libqpid-dispatch.so+0xf38fb)
      66:     #3 qd_log_entity /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/log.c:676 (libqpid-dispatch.so+0x7edb0)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 qdr_forward_on_message /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/forwarder.c:336 (libqpid-dispatch.so+0xbcc9c)
      66:     #6 qdr_general_handler /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core.c:929 (libqpid-dispatch.so+0xc62db)
      66:     #7 qd_timer_visit /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/timer.c:317 (libqpid-dispatch.so+0xf707d)
      66:     #8 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1006 (libqpid-dispatch.so+0xf108e)
      66:     #9 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #10 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Location is heap block of size 424 at 0x7b4c00000000 allocated by thread T4:
      66:     #0 calloc <null> (libtsan.so.0+0x32b3e)
      66:     #1 pni_mem_zallocate /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/memory.c:271 (libqpid-proton-core.so.10+0x11a39)
      66:     #2 pn_object_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:205 (libqpid-proton-core.so.10+0x11a39)
      66:     #3 pn_class_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:64 (libqpid-proton-core.so.10+0x11b97)
      66:     #4 pn_transport /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:554 (libqpid-proton-core.so.10+0x2c6a6)
      66:     #5 pn_connection_driver_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:56 (libqpid-proton-core.so.10+0x270e4)
      66:     #6 pconnection_setup /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:732 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #7 pn_listener_accept2 /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1845 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #8 pn_listener_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:94 (libqpid-proton-proactor.so.1+0xf293)
      66:     #9 on_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:610 (libqpid-dispatch.so+0xf44ad)
      66:     #10 handle_listener /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:853 (libqpid-dispatch.so+0xf44ad)
      66:     #11 handle_event_with_context /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xf113d)
      66:     #12 do_handle_raw_connection_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xf113d)
      66:     #13 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xf113d)
      66:     #14 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #15 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Mutex M13 (0x7b1000000300) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_python_initialize /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/python_embedded.c:54 (libqpid-dispatch.so+0x9858c)
      66:     #3 qd_dispatch /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:111 (libqpid-dispatch.so+0x763c5)
      66:     #4 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:92 (qdrouterd+0x4027b9)
      66:     #5 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Mutex M270 (0x7b1000000800) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_server /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1357 (libqpid-dispatch.so+0xf35d5)
      66:     #3 qd_dispatch_prepare /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:333 (libqpid-dispatch.so+0x75f06)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x40281c)
      66:     #6 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T4 (tid=3305, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T3 (tid=3304, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66: SUMMARY: ThreadSanitizer: data race /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:203 in pni_logger_log
      66: ==================
      
      66: ==================
      66: WARNING: ThreadSanitizer: data race (pid=3300)
      66:   Read of size 8 at 0x7b4c00000018 by thread T4:
      66:     #0 pni_logger_log /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:203 (libqpid-proton-core.so.10+0x33bb2)
      66:     #1 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:905 (libqpid-proton-core.so.10+0x33bb2)
      66:     #2 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33fc0)
      66:     #3 pn_post_frame /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33fc0)
      66:     #4 pni_post_flow /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2180 (libqpid-proton-core.so.10+0x345b7)
      66:     #5 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2202 (libqpid-proton-core.so.10+0x378ae)
      66:     #6 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2191 (libqpid-proton-core.so.10+0x378ae)
      66:     #7 pni_phase /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2597 (libqpid-proton-core.so.10+0x378ae)
      66:     #8 pni_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2610 (libqpid-proton-core.so.10+0x378ae)
      66:     #9 pn_output_write_amqp /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2767 (libqpid-proton-core.so.10+0x378ae)
      66:     #10 transport_produce /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2820 (libqpid-proton-core.so.10+0x2f794)
      66:     #11 pn_transport_pending /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:3110 (libqpid-proton-core.so.10+0x2f794)
      66:     #12 pn_connection_driver_write_buffer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:112 (libqpid-proton-core.so.10+0x24d6d)
      66:     #13 ensure_wbuf /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:827 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #14 write_flush /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1074 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #15 pconnection_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:892 (libqpid-proton-proactor.so.1+0xb39a)
      66:     #16 pn_event_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:84 (libqpid-proton-proactor.so.1+0xf21f)
      66:     #17 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1111 (libqpid-dispatch.so+0xf546f)
      66:     #18 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Previous write of size 8 at 0x7b4c00000018 by thread T3 (mutexes: write M13, write M270):
      66:     #0 pn_logger_set_log_sink /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:174 (libqpid-proton-core.so.10+0x16822)
      66:     #1 pn_transport_set_tracer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2882 (libqpid-proton-core.so.10+0x33906)
      66:     #2 qd_server_trace_all_connections /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1442 (libqpid-dispatch.so+0xf38fb)
      66:     #3 qd_log_entity /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/log.c:676 (libqpid-dispatch.so+0x7edb0)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 qdr_forward_on_message /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/forwarder.c:336 (libqpid-dispatch.so+0xbcc9c)
      66:     #6 qdr_general_handler /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core.c:929 (libqpid-dispatch.so+0xc62db)
      66:     #7 qd_timer_visit /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/timer.c:317 (libqpid-dispatch.so+0xf707d)
      66:     #8 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1006 (libqpid-dispatch.so+0xf108e)
      66:     #9 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #10 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Location is heap block of size 424 at 0x7b4c00000000 allocated by thread T4:
      66:     #0 calloc <null> (libtsan.so.0+0x32b3e)
      66:     #1 pni_mem_zallocate /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/memory.c:271 (libqpid-proton-core.so.10+0x11a39)
      66:     #2 pn_object_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:205 (libqpid-proton-core.so.10+0x11a39)
      66:     #3 pn_class_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:64 (libqpid-proton-core.so.10+0x11b97)
      66:     #4 pn_transport /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:554 (libqpid-proton-core.so.10+0x2c6a6)
      66:     #5 pn_connection_driver_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:56 (libqpid-proton-core.so.10+0x270e4)
      66:     #6 pconnection_setup /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:732 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #7 pn_listener_accept2 /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1845 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #8 pn_listener_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:94 (libqpid-proton-proactor.so.1+0xf293)
      66:     #9 on_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:610 (libqpid-dispatch.so+0xf44ad)
      66:     #10 handle_listener /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:853 (libqpid-dispatch.so+0xf44ad)
      66:     #11 handle_event_with_context /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xf113d)
      66:     #12 do_handle_raw_connection_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xf113d)
      66:     #13 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xf113d)
      66:     #14 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #15 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Mutex M13 (0x7b1000000300) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_python_initialize /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/python_embedded.c:54 (libqpid-dispatch.so+0x9858c)
      66:     #3 qd_dispatch /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:111 (libqpid-dispatch.so+0x763c5)
      66:     #4 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:92 (qdrouterd+0x4027b9)
      66:     #5 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Mutex M270 (0x7b1000000800) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_server /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1357 (libqpid-dispatch.so+0xf35d5)
      66:     #3 qd_dispatch_prepare /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:333 (libqpid-dispatch.so+0x75f06)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x40281c)
      66:     #6 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T4 (tid=3305, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T3 (tid=3304, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66: SUMMARY: ThreadSanitizer: data race /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:203 in pni_logger_log
      66: ==================
      
      66: ==================
      66: WARNING: ThreadSanitizer: data race (pid=3300)
      66:   Read of size 8 at 0x7b4c00000030 by thread T4:
      66:     #0 pni_tracer_to_log_sink /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2874 (libqpid-proton-core.so.10+0x338ab)
      66:     #1 pni_logger_log /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/logger.c:203 (libqpid-proton-core.so.10+0x33bc6)
      66:     #2 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:905 (libqpid-proton-core.so.10+0x33bc6)
      66:     #3 pn_do_trace /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33fc0)
      66:     #4 pn_post_frame /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:924 (libqpid-proton-core.so.10+0x33fc0)
      66:     #5 pni_post_flow /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2180 (libqpid-proton-core.so.10+0x345b7)
      66:     #6 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2202 (libqpid-proton-core.so.10+0x378ae)
      66:     #7 pni_process_flow_receiver /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2191 (libqpid-proton-core.so.10+0x378ae)
      66:     #8 pni_phase /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2597 (libqpid-proton-core.so.10+0x378ae)
      66:     #9 pni_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2610 (libqpid-proton-core.so.10+0x378ae)
      66:     #10 pn_output_write_amqp /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2767 (libqpid-proton-core.so.10+0x378ae)
      66:     #11 transport_produce /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2820 (libqpid-proton-core.so.10+0x2f794)
      66:     #12 pn_transport_pending /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:3110 (libqpid-proton-core.so.10+0x2f794)
      66:     #13 pn_connection_driver_write_buffer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:112 (libqpid-proton-core.so.10+0x24d6d)
      66:     #14 ensure_wbuf /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:827 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #15 write_flush /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1074 (libqpid-proton-proactor.so.1+0x8f0e)
      66:     #16 pconnection_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:892 (libqpid-proton-proactor.so.1+0xb39a)
      66:     #17 pn_event_batch_next /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:84 (libqpid-proton-proactor.so.1+0xf21f)
      66:     #18 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1111 (libqpid-dispatch.so+0xf546f)
      66:     #19 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Previous write of size 8 at 0x7b4c00000030 by thread T3 (mutexes: write M13, write M270):
      66:     #0 pn_transport_set_tracer /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2881 (libqpid-proton-core.so.10+0x338ef)
      66:     #1 qd_server_trace_all_connections /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1442 (libqpid-dispatch.so+0xf38fb)
      66:     #2 qd_log_entity /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/log.c:676 (libqpid-dispatch.so+0x7edb0)
      66:     #3 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #4 qdr_forward_on_message /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/forwarder.c:336 (libqpid-dispatch.so+0xbcc9c)
      66:     #5 qdr_general_handler /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/router_core/router_core.c:929 (libqpid-dispatch.so+0xc62db)
      66:     #6 qd_timer_visit /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/timer.c:317 (libqpid-dispatch.so+0xf707d)
      66:     #7 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1006 (libqpid-dispatch.so+0xf108e)
      66:     #8 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #9 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Location is heap block of size 424 at 0x7b4c00000000 allocated by thread T4:
      66:     #0 calloc <null> (libtsan.so.0+0x32b3e)
      66:     #1 pni_mem_zallocate /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/memory.c:271 (libqpid-proton-core.so.10+0x11a39)
      66:     #2 pn_object_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:205 (libqpid-proton-core.so.10+0x11a39)
      66:     #3 pn_class_new /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/object/object.c:64 (libqpid-proton-core.so.10+0x11b97)
      66:     #4 pn_transport /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:554 (libqpid-proton-core.so.10+0x2c6a6)
      66:     #5 pn_connection_driver_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/connection_driver.c:56 (libqpid-proton-core.so.10+0x270e4)
      66:     #6 pconnection_setup /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:732 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #7 pn_listener_accept2 /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/epoll.c:1845 (libqpid-proton-proactor.so.1+0xe96a)
      66:     #8 pn_listener_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/proactor/proactor-internal.c:94 (libqpid-proton-proactor.so.1+0xf293)
      66:     #9 on_accept /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:610 (libqpid-dispatch.so+0xf44ad)
      66:     #10 handle_listener /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:853 (libqpid-dispatch.so+0xf44ad)
      66:     #11 handle_event_with_context /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xf113d)
      66:     #12 do_handle_raw_connection_event /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xf113d)
      66:     #13 handle /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xf113d)
      66:     #14 thread_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf55a5)
      66:     #15 _thread_init /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x95fa2)
      66: 
      66:   Mutex M13 (0x7b1000000300) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_python_initialize /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/python_embedded.c:54 (libqpid-dispatch.so+0x9858c)
      66:     #3 qd_dispatch /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:111 (libqpid-dispatch.so+0x763c5)
      66:     #4 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:92 (qdrouterd+0x4027b9)
      66:     #5 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Mutex M270 (0x7b1000000800) created at:
      66:     #0 pthread_mutex_init <null> (libtsan.so.0+0x49603)
      66:     #1 sys_mutex /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x95ffc)
      66:     #2 qd_server /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1357 (libqpid-dispatch.so+0xf35d5)
      66:     #3 qd_dispatch_prepare /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/dispatch.c:333 (libqpid-dispatch.so+0x75f06)
      66:     #4 ffi_call_unix64 <null> (libffi.so.6+0x6c03)
      66:     #5 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x40281c)
      66:     #6 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T4 (tid=3305, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66:   Thread T3 (tid=3304, running) created by main thread at:
      66:     #0 pthread_create <null> (libtsan.so.0+0x5bf45)
      66:     #1 sys_thread /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x9643e)
      66:     #2 qd_server_run /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf57e2)
      66:     #3 main_process /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40287c)
      66:     #4 main /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x4024fc)
      66: 
      66: SUMMARY: ThreadSanitizer: data race /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-proton/c/src/core/transport.c:2874 in pni_tracer_to_log_sink
      66: ==================
      66: ThreadSanitizer: reported 7 warnings
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: