[issue43781] SIGSEGV when replacing _multiprocessing.SemLock at runtime

2021-04-08 Thread Sam Stern


New submission from Sam Stern :

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

--
components: Interpreter Core
files: this-segfaults.py
messages: 390577
nosy: sternj
priority: normal
severity: normal
status: open
title: SIGSEGV when replacing _multiprocessing.SemLock at runtime
type: crash
versions: Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file49945/this-segfaults.py

___
Python tracker 
<https://bugs.python.org/issue43781>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43781] SIGSEGV when replacing _multiprocessing.SemLock at runtime

2021-04-08 Thread Sam Stern


Sam Stern  added the comment:

This does not arise on 3.8.9

--

___
Python tracker 
<https://bugs.python.org/issue43781>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com