GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — gh-117657: Quiet TSAN warning about a data race between `start_the_world()` and `tstate_try_attach()` by mpage · Pull Request #117828 · python/cpython Conversation
|
| return _Py_atomic_compare_exchange_int(&tstate->state, | |
| &expected, | |
| _Py_THREAD_ATTACHED); |
and the non-atomic load of tstate->state in start_the_world():
Line 2251 in 069de14
| assert(t->state == _Py_THREAD_SUSPENDED); |
The _Py_atomic_compare_exchange_int fails, but TSAN erroneously treats it as a store.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…`tstate_try_attach()` TSAN erroneously reports a data race between the `_Py_atomic_compare_exchange_int` on `tstate->state` in `tstate_try_attach()` and the non-atomic load of `tstate->state` in `start_the_world`. The `_Py_atomic_compare_exchange_int` fails, but TSAN erroneously treats it as a store.
There was an error while loading. Please reload this page.
The underlying races were fixed in pythongh-117830 and pythongh-117828
…the_world()` and `tstate_try_attach()` (python#117828) TSAN erroneously reports a data race between the `_Py_atomic_compare_exchange_int` on `tstate->state` in `tstate_try_attach()` and the non-atomic load of `tstate->state` in `start_the_world`. The `_Py_atomic_compare_exchange_int` fails, but TSAN erroneously treats it as a store.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.