Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.16.0
Description
Start 70: system_tests_tcp_adaptor
70: Test command: /usr/bin/python3.8 "/home/travis/build/apache/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" "system_tests_tcp_adaptor"
70: WARNING: ThreadSanitizer: data race (pid=17034)
70: Write of size 8 at 0x7b4400031f28 by thread T1 (mutexes: write M2555):
70: #0 qdr_delivery_move_delivery_state_CT /home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:1263 (libqpid-dispatch.so+0xb60a8)
70: #1 qdr_delivery_anycast_update_CT /home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:728 (libqpid-dispatch.so+0xb6228)
70: #2 qdr_update_delivery_CT /home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:688 (libqpid-dispatch.so+0xb6228)
70: #3 router_core_thread /home/travis/build/apache/qpid-dispatch/src/router_core/router_core_thread.c:239 (libqpid-dispatch.so+0xca645)
70: #4 _thread_init /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x96f16)
70: #5 <null> <null> (libtsan.so.0+0x2d1af)
70: Previous read of size 8 at 0x7b4400031f28 by thread T4:
70: #0 qdr_connection_process /home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:403 (libqpid-dispatch.so+0xa7fbd)
70: #1 handle_connection_event /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:855 (libqpid-dispatch.so+0x5d621)
70: #2 handle_event_with_context /home/travis/build/apache/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xed109)
70: #3 do_handle_raw_connection_event /home/travis/build/apache/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xed109)
70: #4 handle /home/travis/build/apache/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xed109)
70: #5 thread_run /home/travis/build/apache/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf0ad7)
70: #6 _thread_init /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x96f16)
70: #7 <null> <null> (libtsan.so.0+0x2d1af)
70: Location is heap block of size 320 at 0x7b4400031ec0 allocated by thread T3:
70: #0 posix_memalign <null> (libtsan.so.0+0x3048d)
70: #1 qd_alloc /home/travis/build/apache/qpid-dispatch/src/alloc_pool.c:396 (libqpid-dispatch.so+0x614c4)
70: #2 new_qdr_delivery_t /home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:24 (libqpid-dispatch.so+0xb25e5)
70: #3 qdr_link_deliver /home/travis/build/apache/qpid-dispatch/src/router_core/transfer.c:47 (libqpid-dispatch.so+0xd013d)
70: #4 AMQP_rx_handler /home/travis/build/apache/qpid-dispatch/src/router_node.c:868 (libqpid-dispatch.so+0xe6571)
70: #5 do_receive /home/travis/build/apache/qpid-dispatch/src/container.c:227 (libqpid-dispatch.so+0x76574)
70: #6 qd_container_handle_event /home/travis/build/apache/qpid-dispatch/src/container.c:737 (libqpid-dispatch.so+0x76574)
70: #7 handle /home/travis/build/apache/qpid-dispatch/src/server.c:1096 (libqpid-dispatch.so+0xed0b1)
70: #8 thread_run /home/travis/build/apache/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf09d8)
70: #9 _thread_init /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x96f16)
70: #10 <null> <null> (libtsan.so.0+0x2d1af)
70: Mutex M2555 (0x7b1000058600) created at:
70: #0 pthread_mutex_init <null> (libtsan.so.0+0x4a636)
70: #1 sys_mutex /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:43 (libqpid-dispatch.so+0x96f7f)
70: #2 qdr_link_deliver /home/travis/build/apache/qpid-dispatch/src/router_core/transfer.c:62 (libqpid-dispatch.so+0xd02b1)
70: #3 handle_incoming /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:360 (libqpid-dispatch.so+0x5c38e)
70: #4 qdr_tcp_flow /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:1325 (libqpid-dispatch.so+0x5de0d)
70: #5 qdr_connection_process /home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:422 (libqpid-dispatch.so+0xa8493)
70: #6 handle_connection_event /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:840 (libqpid-dispatch.so+0x5c9a9)
70: #7 handle_event_with_context /home/travis/build/apache/qpid-dispatch/src/server.c:802 (libqpid-dispatch.so+0xed109)
70: #8 do_handle_raw_connection_event /home/travis/build/apache/qpid-dispatch/src/server.c:808 (libqpid-dispatch.so+0xed109)
70: #9 handle /home/travis/build/apache/qpid-dispatch/src/server.c:1089 (libqpid-dispatch.so+0xed109)
70: #10 thread_run /home/travis/build/apache/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0xf0ad7)
70: #11 _thread_init /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0x96f16)
70: #12 <null> <null> (libtsan.so.0+0x2d1af)
70: Thread T1 (tid=17036, running) created by main thread at:
70: #0 pthread_create <null> (libtsan.so.0+0x5ea99)
70: #1 sys_thread /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x974d2)
70: #2 qdr_core /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:124 (libqpid-dispatch.so+0xc4bee)
70: #3 qd_router_setup_late /home/travis/build/apache/qpid-dispatch/src/router_node.c:2123 (libqpid-dispatch.so+0xe865c)
70: #4 <null> <null> (libffi.so.7+0x6ff4)
70: #5 main_process /home/travis/build/apache/qpid-dispatch/router/src/main.c:97 (qdrouterd+0x2bb2)
70: #6 main /home/travis/build/apache/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x2882)
70: Thread T4 (tid=17039, running) created by main thread at:
70: #0 pthread_create <null> (libtsan.so.0+0x5ea99)
70: #1 sys_thread /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x974d2)
70: #2 qd_server_run /home/travis/build/apache/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf0cca)
70: #3 main_process /home/travis/build/apache/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x2c27)
70: #4 main /home/travis/build/apache/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x2882)
70: Thread T3 (tid=17038, running) created by main thread at:
70: #0 pthread_create <null> (libtsan.so.0+0x5ea99)
70: #1 sys_thread /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:181 (libqpid-dispatch.so+0x974d2)
70: #2 qd_server_run /home/travis/build/apache/qpid-dispatch/src/server.c:1499 (libqpid-dispatch.so+0xf0cca)
70: #3 main_process /home/travis/build/apache/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x2c27)
70: #4 main /home/travis/build/apache/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x2882)
70: SUMMARY: ThreadSanitizer: data race /home/travis/build/apache/qpid-dispatch/src/router_core/delivery.c:1263 in qdr_delivery_move_delivery_state_CT