Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.15.0
-
None
Description
72: WARNING: ThreadSanitizer: data race (pid=1013398) 72: Write of size 8 at 0x7b5000029bb0 by thread T1: 72: #0 qdr_link_process_initial_delivery_CT /home/gmurthy/opensource/qpid-dispatch/src/router_core/connections.c:1652 (libqpid-dispatch.so+0xca2c4) 72: #1 qdr_link_inbound_first_attach_CT /home/gmurthy/opensource/qpid-dispatch/src/router_core/connections.c:1781 (libqpid-dispatch.so+0xcad28) 72: #2 router_core_thread /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core_thread.c:239 (libqpid-dispatch.so+0xf7ff0) 72: #3 _thread_init /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xaac44) 72: #4 <null> <null> (libtsan.so.0+0x2d18f) 72: 72: Previous read of size 8 at 0x7b5000029bb0 by thread T2: 72: #0 qdr_delivery_decref /home/gmurthy/opensource/qpid-dispatch/src/router_core/delivery.c:140 (libqpid-dispatch.so+0xd3bbc) 72: #1 qdr_tcp_open_server_side_connection /home/gmurthy/opensource/qpid-dispatch/src/adaptors/tcp_adaptor.c:784 (libqpid-dispatch.so+0x61092) 72: #2 handle_connection_event /home/gmurthy/opensource/qpid-dispatch/src/adaptors/tcp_adaptor.c:621 (libqpid-dispatch.so+0x600a9) 72: #3 handle_event_with_context /home/gmurthy/opensource/qpid-dispatch/src/server.c:804 (libqpid-dispatch.so+0x12b61c) 72: #4 do_handle_raw_connection_event /home/gmurthy/opensource/qpid-dispatch/src/server.c:810 (libqpid-dispatch.so+0x12b66e) 72: #5 handle /home/gmurthy/opensource/qpid-dispatch/src/server.c:1090 (libqpid-dispatch.so+0x12ced7) 72: #6 thread_run /home/gmurthy/opensource/qpid-dispatch/src/server.c:1122 (libqpid-dispatch.so+0x12d02b) 72: #7 _thread_init /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xaac44) 72: #8 <null> <null> (libtsan.so.0+0x2d18f) 72: 72: Location is heap block of size 512 at 0x7b5000029a00 allocated by thread T3: 72: #0 posix_memalign <null> (libtsan.so.0+0x301df) 72: #1 qd_alloc /home/gmurthy/opensource/qpid-dispatch/src/alloc_pool.c:389 (libqpid-dispatch.so+0x68895) 72: #2 new_qdr_delivery_t /home/gmurthy/opensource/qpid-dispatch/src/router_core/delivery.c:23 (libqpid-dispatch.so+0xd33f9) 72: #3 qdr_link_deliver_to_routed_link /home/gmurthy/opensource/qpid-dispatch/src/router_core/transfer.c:115 (libqpid-dispatch.so+0x100d90) 72: #4 AMQP_rx_handler /home/gmurthy/opensource/qpid-dispatch/src/router_node.c:619 (libqpid-dispatch.so+0x120391) 72: #5 do_receive /home/gmurthy/opensource/qpid-dispatch/src/container.c:223 (libqpid-dispatch.so+0x7850a) 72: #6 qd_container_handle_event /home/gmurthy/opensource/qpid-dispatch/src/container.c:733 (libqpid-dispatch.so+0x7aabe) 72: #7 handle /home/gmurthy/opensource/qpid-dispatch/src/server.c:1097 (libqpid-dispatch.so+0x12cf28) 72: #8 thread_run /home/gmurthy/opensource/qpid-dispatch/src/server.c:1122 (libqpid-dispatch.so+0x12d02b) 72: #9 _thread_init /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xaac44) 72: #10 <null> <null> (libtsan.so.0+0x2d18f)
Attachments
Issue Links
- is duplicated by
-
DISPATCH-1919 Thread race accessing qdr_delivery_t->conn_id and ->link_id
- Closed
- is related to
-
DISPATCH-2134 qdr_link_process_initial_delivery_CT race clearing link pointer
- Open
-
DISPATCH-2245 [TSan] data race in qdr_link_process_deliveries during system_tests_delivery_counts
- Open