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-145912: Add a free-threading section on testing with ThreadSanitizer by johng · Pull Request #161165 · python/cpython Conversation
|
|
I can't say I'm an expert on using TSAN only using what has been required to find some FT bugs in the past (so maybe some better people to have raised/reviewed this), from what I can see this is correct and enough to get started though |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The HOWTO sets the default highlight language to C, so the TSan report was lexed as C and raised a highlighting warning. Mark it, and the shell commands, with explicit languages.
There was an error while loading. Please reload this page.
Documentation build overview
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| Enable ThreadSanitizer data race detector, ``tsan`` | ||
| (default is no). | ||
| (default is no). It is most useful together with :option:`--disable-gil`. | ||
| See :ref:`freethreading-tsan`. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This sentence is acutally needed?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I had made this in relation to FT but Doc/howto/free-threading-extensions.rst change should be enough of a reference?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| SUMMARY: ThreadSanitizer: data race racy.c:8 in bump | ||
|
|
||
| The TSan runtime can be configured with the ``TSAN_OPTIONS`` environment | ||
| variable, for example ``TSAN_OPTIONS="suppressions=path/to/suppressions.txt"`` |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This feels like it belongs in https://devguide.python.org/development-tools/sanitizers/ instead, but I'll leave the decision up to the free-threading experts.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.