You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2021/03/23 16:16:00 UTC

[jira] [Resolved] (DISPATCH-2012) [tsan] data race warning in qdr_link_process_initial_delivery_CT

     [ https://issues.apache.org/jira/browse/DISPATCH-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy resolved DISPATCH-2012.
-------------------------------------
    Fix Version/s: 1.16.0
       Resolution: Fixed

> [tsan] data race warning in qdr_link_process_initial_delivery_CT
> ----------------------------------------------------------------
>
>                 Key: DISPATCH-2012
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2012
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Protocol Adaptors
>    Affects Versions: 1.15.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.16.0
>
>
> {noformat}
> 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) {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org