Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
1.16.0
Description
44: WARNING: ThreadSanitizer: data race (pid=652787) 44: Read of size 1 at 0x7b300002ddc0 by main thread: 44: #0 remote_sasl_prepare /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:344 (libqpid-dispatch.so+0xab480) 44: #1 pni_sasl_impl_prepare_write /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:219 (libqpid-proton-core.so.10+0x2895b) 44: #2 pn_output_write_sasl /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:691 (libqpid-proton-core.so.10+0x2895b) 44: #3 qd_server_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1501 (libqpid-dispatch.so+0x132935) 44: #4 main_process /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40271a) 44: #5 main /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x403557) 44: 44: Previous write of size 1 at 0x7b300002ddc0 by thread T4: 44: #0 notify_downstream /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:276 (libqpid-dispatch.so+0xaaf79) 44: #1 remote_sasl_process_init /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:445 (libqpid-dispatch.so+0xabb75) 44: #2 pni_sasl_impl_process_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:224 (libqpid-proton-core.so.10+0x297b5) 44: #3 pn_do_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:903 (libqpid-proton-core.so.10+0x297b5) 44: #4 _thread_init /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xad38a) 44: #5 <null> <null> (libtsan.so.0+0x2d33f)
--------------------------------------------
44: Read of size 8 at 0x7b300002dda8 by main thread: 44: #0 remote_sasl_prepare /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:345 (libqpid-dispatch.so+0xab4a5) 44: #1 pni_sasl_impl_prepare_write /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:219 (libqpid-proton-core.so.10+0x2895b) 44: #2 pn_output_write_sasl /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:691 (libqpid-proton-core.so.10+0x2895b) 44: #3 qd_server_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1501 (libqpid-dispatch.so+0x132935) 44: #4 main_process /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40271a) 44: #5 main /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x403557) 44: 44: Previous write of size 8 at 0x7b300002dda8 by thread T4: 44: #0 remote_sasl_process_init /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:443 (libqpid-dispatch.so+0xabb40) 44: #1 pni_sasl_impl_process_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:224 (libqpid-proton-core.so.10+0x297b5) 44: #2 pn_do_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:903 (libqpid-proton-core.so.10+0x297b5) 44: #3 _thread_init /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xad38a) 44: #4 <null> <null> (libtsan.so.0+0x2d33f)
----------
44: Read of size 8 at 0x7b04000018b0 by main thread: 44: #0 strlen <null> (libtsan.so.0+0x32c4f) 44: #1 pn_strdup /home/kgiusti/work/proton/qpid-proton/c/src/core/util.c:122 (libqpid-proton-core.so.10+0x26b3c) 44: #2 pnx_sasl_set_selected_mechanism /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:147 (libqpid-proton-core.so.10+0x26b3c) 44: #3 pni_sasl_impl_prepare_write /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:219 (libqpid-proton-core.so.10+0x2895b) 44: #4 pn_output_write_sasl /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:691 (libqpid-proton-core.so.10+0x2895b) 44: #5 qd_server_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1501 (libqpid-dispatch.so+0x132935) 44: #6 main_process /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40271a) 44: #7 main /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x403557) 44: 44: Previous write of size 8 at 0x7b04000018b0 by thread T4: 44: #0 malloc <null> (libtsan.so.0+0x304d3) 44: #1 __GI___strdup /usr/src/debug/glibc-2.31-74-gd0c84d22b6/string/strdup.c:42 (libc.so.6+0x900ae) 44: #2 remote_sasl_process_init /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:443 (libqpid-dispatch.so+0xabb2d) 44: #3 pni_sasl_impl_process_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:224 (libqpid-proton-core.so.10+0x297b5) 44: #4 pn_do_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:903 (libqpid-proton-core.so.10+0x297b5) 44: #5 _thread_init /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xad38a) 44: #6 <null> <null> (libtsan.so.0+0x2d33f)
--------------------
44: WARNING: ThreadSanitizer: data race (pid=652787) 44: Read of size 8 at 0x7b300002ddb8 by main thread: 44: #0 remote_sasl_prepare /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:347 (libqpid-dispatch.so+0xab4f3) 44: #1 pni_sasl_impl_prepare_write /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:219 (libqpid-proton-core.so.10+0x2895b) 44: #2 pn_output_write_sasl /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:691 (libqpid-proton-core.so.10+0x2895b) 44: #3 qd_server_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1501 (libqpid-dispatch.so+0x132935) 44: #4 main_process /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40271a) 44: #5 main /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x403557) 44: 44: Previous write of size 8 at 0x7b300002ddb8 by thread T4: 44: #0 copy_bytes /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:133 (libqpid-dispatch.so+0xaa550) 44: #1 remote_sasl_process_init /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:444 (libqpid-dispatch.so+0xabb5f) 44: #2 pni_sasl_impl_process_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:224 (libqpid-proton-core.so.10+0x297b5) 44: #3 pn_do_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:903 (libqpid-proton-core.so.10+0x297b5) 44: #4 _thread_init /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xad38a) 44: #5 <null> <null> (libtsan.so.0+0x2d33f)
--------------------------------
44: Read of size 8 at 0x7b0c000032a0 by main thread: 44: #0 memmove <null> (libtsan.so.0+0x42bd3) 44: #1 pn_buffer_append /home/kgiusti/work/proton/qpid-proton/c/src/core/buffer.c:179 (libqpid-proton-core.so.10+0x13d00) 44: #2 pn_buffer_append /home/kgiusti/work/proton/qpid-proton/c/src/core/buffer.c:169 (libqpid-proton-core.so.10+0x13d00) 44: #3 qd_server_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1501 (libqpid-dispatch.so+0x132935) 44: #4 main_process /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:115 (qdrouterd+0x40271a) 44: #5 main /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:369 (qdrouterd+0x403557) 44: 44: Previous write of size 8 at 0x7b0c000032a0 by thread T4: 44: #0 malloc <null> (libtsan.so.0+0x304d3) 44: #1 copy_bytes /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:133 (libqpid-dispatch.so+0xaa53d) 44: #2 remote_sasl_process_init /home/kgiusti/work/dispatch/qpid-dispatch/src/remote_sasl.c:444 (libqpid-dispatch.so+0xabb5f) 44: #3 pni_sasl_impl_process_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:224 (libqpid-proton-core.so.10+0x297b5) 44: #4 pn_do_init /home/kgiusti/work/proton/qpid-proton/c/src/sasl/sasl.c:903 (libqpid-proton-core.so.10+0x297b5) 44: #5 _thread_init /home/kgiusti/work/dispatch/qpid-dispatch/src/posix/threading.c:172 (libqpid-dispatch.so+0xad38a) 44: #6 <null> <null> (libtsan.so.0+0x2d33f)
-------------------------------------------------------------
Attachments
Issue Links
- is related to
-
DISPATCH-2197 Data race in system_tests_auth_service_plugin involving remote_sasl_list_mechs
- Open