Issue 36244: Lock release fails under windows (original) (raw)

Issue36244

Created on 2019-03-08 20:04 by Konrad Ciecierski, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
multip-test.py Konrad Ciecierski,2019-03-08 20:04 sample file for bug reproduction
Messages (3)
msg337527 - (view) Author: Konrad Ciecierski (Konrad Ciecierski) Date: 2019-03-08 20:04
In python 3.7.2 when the subprocess releases the acquired lock, the OSError occurs: "OSError: [WinError 6] The handle is invalid". Problem does not occur under Ubuntu 18. File "multip-test.py", line 13, in worker lock.release() OSError: [WinError 6] The handle is invalid
msg337553 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2019-03-09 03:52
If you're using a virtual environment, then this is most likely a duplicate of issue 35797.
msg337581 - (view) Author: Konrad Ciecierski (Konrad Ciecierski) Date: 2019-03-09 19:50
Yes, it is the same case. Still, the current official (3.7.2) release is affected by this problem.
History
Date User Action Args
2022-04-11 14:59:12 admin set github: 80425
2019-03-10 01:49:48 eryksun set superseder: concurrent.futures.ProcessPoolExecutor does not work in venv on Windows
2019-03-09 19:50:28 Konrad Ciecierski set status: open -> closedresolution: duplicatemessages: + stage: resolved
2019-03-09 03:52:50 eryksun set nosy: + eryksunmessages: +
2019-03-08 20:04:20 Konrad Ciecierski create