This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pablogsal, vstinner
Date 2022-02-04.10:09:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643969351.1.0.716031320154.issue46633@roundup.psfhosted.org>
In-reply-to
Content
It seems like bpo-45200: "Address Sanitizer: libasan dead lock in pthread_create() (test_multiprocessing_fork.test_get() hangs)" is not fixed yet.

In the GitHub Action job, test_multiprocessing_fork is skipped because it's too slow, so the job doesn't hang.

Yesterday, I modified the ASAN buildbot to double its timeout from 20 to 40 minutes:
https://github.com/python/buildmaster-config/commit/5a37411e75c9475d48eabaac18102a3c9fc2d467

But it's useful, when it hangs, it hangs forever. Exmaple on the AMD64 Arch Linux Asan Debug 3.9 buildbot (with the new config):

---
(test.test_multiprocessing_fork.WithProcessesTestPicklingConnections) ... ok
Timeout (0:35:00)!
---
https://buildbot.python.org/all/#/builders/588/builds/332

Tests are tuned for ASAN, but the configuration is copied and inconsistent between the GitHub Actions job and the buildbot configuration.

I propose to move this configuration directly into Python.

test_decimal.py checks for "-fsanitize=address" in CFLAGS and skip some tests if it's present.
History
Date User Action Args
2022-02-04 10:09:11vstinnersetrecipients: + vstinner, pablogsal
2022-02-04 10:09:11vstinnersetmessageid: <1643969351.1.0.716031320154.issue46633@roundup.psfhosted.org>
2022-02-04 10:09:11vstinnerlinkissue46633 messages
2022-02-04 10:09:10vstinnercreate