[issue39345] Py_Initialize Hangs on Windows 10

2021-06-08 Thread Duane Griffin
Duane Griffin added the comment: I can reproduce this on Windows 10 with Python 3.9. See attached source. At least for us, it is hanging when one thread is doing a read on the file descriptor while a second calls Py_Initialize (or just dup directly). The windows kernel call stack shows the d

[issue39345] Py_Initialize Hangs on Windows 10

2020-08-19 Thread Fieschi
Fieschi added the comment: Personally, I have the same problem of Py_Initialize() hanging indefinitely. Here is the context in which it happens : I am developing an application in Java, in which I use the library jep (https://github.com/ninia/jep), that enables me to get a Python interpreter

[issue39345] Py_Initialize Hangs on Windows 10

2020-08-18 Thread Steve Dower
Steve Dower added the comment: Are you able to capture a process dump at the hang? I haven't seen this anywhere else, and don't even know how to go about trying to reproduce it with this information - Py_Initialize is called by every single Python process, so there's something special about

[issue39345] Py_Initialize Hangs on Windows 10

2020-08-18 Thread Fieschi
Change by Fieschi : -- nosy: +feellemon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue39345] Py_Initialize Hangs on Windows 10

2020-01-15 Thread Darren Hamilton
New submission from Darren Hamilton : This is related to https://bugs.python.org/issue17797, which is closed. Using Python 3.7.4, Windows 10.0.18362, Visual Studio 2017 and running as a C Application. Py_Initialize() eventually calls is_valid_fd with STDIN. The behavior appears to cause bot