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/11/02 19:13:00 UTC
[jira] [Updated] (DISPATCH-2125) qdr_link_t->stalled_outbound flag
race
[ https://issues.apache.org/jira/browse/DISPATCH-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ganesh Murthy updated DISPATCH-2125:
------------------------------------
Fix Version/s: (was: 1.18.0)
1.19.0
> qdr_link_t->stalled_outbound flag race
> --------------------------------------
>
> Key: DISPATCH-2125
> URL: https://issues.apache.org/jira/browse/DISPATCH-2125
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Router Node
> Affects Versions: 1.16.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
> Labels: race-condition, tsan
> Fix For: 1.19.0
>
>
> Read/write race between I/O and core threads accessing qdr_link_t->stalled_outbound flag:
>
> 65: WARNING: ThreadSanitizer: data race (pid=566878)
> 65: Write of size 1 at 0x7b58000a7ef9 by thread T4:
> 65: #0 qdr_link_stalled_outbound /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/connections.c:552 (libqpid-dispatch.so+0xc5a8e)
> 65: #1 CORE_link_second_attach /home/kgiusti/work/dispatch/qpid-dispatch/src/router_node.c:1747 (libqpid-dispatch.so+0x1277ac)
> 65: #2 qdr_connection_process /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/connections.c:355 (libqpid-dispatch.so+0xc43f3)
> 65: #3 AMQP_writable_conn_handler /home/kgiusti/work/dispatch/qpid-dispatch/src/router_node.c:299 (libqpid-dispatch.so+0x122d42)
> 65: #4 writable_handler /home/kgiusti/work/dispatch/qpid-dispatch/src/container.c:395 (libqpid-dispatch.so+0x7b2e2)
> 65: #5 qd_container_handle_event /home/kgiusti/work/dispatch/qpid-dispatch/src/container.c:747 (libqpid-dispatch.so+0x7cfd5)
> 65: #6 handle /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1096 (libqpid-dispatch.so+0x130537)
> 65: #7 thread_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1121 (libqpid-dispatch.so+0x13063a)
> 65: #8 _thread_init /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xad37a)
> 65: #9 <null> <null> (libtsan.so.0+0x2d33f)
> 65:
> 65: Previous read of size 1 at 0x7b58000a7ef9 by thread T1:
> 65: #0 qdr_link_flow_CT /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/transfer.c:422 (libqpid-dispatch.so+0x1061b0)
> 65: #1 router_core_thread /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/router_core_thread.c:239 (libqpid-dispatch.so+0xfb2ae)
> 65: #2 _thread_init /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xad37a)
> 65: #3 <null> <null> (libtsan.so.0+0x2d33f)
--
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