[issue45879] Access violation

2021-11-23 Thread vladexl
vladexl added the comment: Sorry i can't provide simple example, but will describe steps. And also i found reason of such behavior. It was a function from pythonwin: PyWinObject_FromHANDLE. When i removed it from code - issue gone. So, in order to start 2 python scripts simultaneously: 1.

[issue45879] Access violation

2021-11-23 Thread Eric V. Smith
Eric V. Smith added the comment: Please provide the code you used to trigger this error, so that we can reproduce it. -- nosy: +eric.smith ___ Python tracker ___

[issue45879] Access violation

2021-11-23 Thread vladexl
New submission from vladexl : It seems object.c hasn't taken into account possible nullptr: object.c: ...else if (Py_TYPE(v)->tp_as_number != NULL &&... It seems Py_TYPE(v) returns null StackTrace: > python310.dll!PyObject_IsTrue(_object * v=0x1d91e2d4) Line 1444 C