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.

classification
Title: SIGSEGV when replacing _multiprocessing.SemLock at runtime
Type: crash Stage:
Components: Interpreter Core Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: sternj
Priority: normal Keywords:

Created on 2021-04-09 01:23 by sternj, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
this-segfaults.py sternj, 2021-04-09 01:23
Messages (2)
msg390577 - (view) Author: Sam Stern (sternj) Date: 2021-04-09 01:23
When patching `_multiprocessing.SemLock` at runtime and then instantiating an instance of `multiprocessing.Pool`, the interpreter throws a SIGSEGV when trying to access a field of `_multiprocessing.SemLock` on pre-3.9 pythons
msg390578 - (view) Author: Sam Stern (sternj) Date: 2021-04-09 01:30
This does not arise on 3.8.9
History
Date User Action Args
2022-04-11 14:59:44adminsetgithub: 87947
2021-04-09 01:30:22sternjsetmessages: + msg390578
2021-04-09 01:23:59sternjcreate