You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Avoid TSan reported race in run_udp_echo_server #122187
Thread sanitizer complains about the sock.sendto(b'STOP', sock.getsockname()) line in the main thread happening concurrently with the sock.close() in the echo_datagrams thread.
This seems a bit bogus to me: the sendto has to start before the close starts because it triggers the echo_datagrams shutdown, but it's easy enough to avoid the data race. I also think it's better in this case to do a small code change to the test, instead of adding or keeping a global suppression.
Activity
pythongh-122187: Avoid TSan reported race in `run_udp_echo_server`
pythongh-122187: Skip tests that use threads after fork
gh-122187: Avoid TSan reported race in `run_udp_echo_server` (#122189)
pythongh-122187: Avoid TSan reported race in `run_udp_echo_server` (p…
[3.13] gh-122187: Avoid TSan reported race in `run_udp_echo_server` (G…