GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.12] gh-112536: Add --tsan test for reasonable TSAN execution times. (gh-116601) by pitrou · Pull Request #116929 · python/cpython

[3.12] gh-112536: Add --tsan test for reasonable TSAN execution times. (gh-116601) #116929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
pitrou merged 5 commits into python:3.12 from pitrou:backport-ebf29b3-3.12
Mar 18, 2024

Uh oh!

There was an error while loading. Please reload this page.

Merged

[3.12] gh-112536: Add --tsan test for reasonable TSAN execution times. (gh-116601) #116929

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit Hold shift + click to select a range
3db7958
[3.12] gh-112536: Add --tsan test for reasonable TSAN execution times…
corona10 Mar 15, 2024
6f21c40
Remove references to mimalloc
pitrou Mar 17, 2024
731eef9
gh-112536: Add more TSAN tests (#116896)
corona10 Mar 16, 2024
a81f98b
gh-112536: Add test_threading to TSAN tests (#116898)
pitrou Mar 16, 2024
22ff43c
GH-112536: Add more TSan tests (#116911)
pitrou Mar 17, 2024
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
GH-112536: Add more TSan tests (#116911)
These may all exercise some non-trivial aspects of thread synchronization.
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@pitrou
pitrou committed Mar 17, 2024
commit 22ff43cb84adbead4126577cf3682570154f0690

There are no files selected for viewing

4 changes: 4 additions & 0 deletions 4 Lib/test/libregrtest/tsan.py
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# chosen because they use threads and run in a reasonable amount of time.

TSAN_TESTS = [
'test_capi',
'test_code',
'test_enum',
'test_functools',
Expand All @@ -11,6 +12,9 @@
'test_io',
'test_logging',
'test_queue',
'test_signal',
'test_socket',
'test_sqlite3',
'test_ssl',
'test_syslog',
'test_thread',
Expand Down
4 changes: 2 additions & 2 deletions 4 Modules/_testcapi/mem.c
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ check_pyobject_forbidden_bytes_is_freed(PyObject *self,
static PyObject *
check_pyobject_freed_is_freed(PyObject *self, PyObject *Py_UNUSED(args))
{
/* This test would fail if run with the address sanitizer */
#ifdef _Py_ADDRESS_SANITIZER
/* ASan or TSan would report an use-after-free error */
#if defined(_Py_ADDRESS_SANITIZER) || defined(_Py_THREAD_SANITIZER)
Py_RETURN_NONE;
#else
PyObject *op = PyObject_CallNoArgs((PyObject *)&PyBaseObject_Type);
Expand Down
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.