[issue35326] ctypes cast and from_address cause crash on Windows 10

2018-11-28 Thread Mordechai Botrashvily
Mordechai Botrashvily added the comment: Eryk, thanks :). This really solved the problem. Odd how it went unnoticed. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35326] ctypes cast and from_address cause crash on Windows 10

2018-11-27 Thread Mordechai Botrashvily
New submission from Mordechai Botrashvily : Hi, Using cast() or from_address() to convert from c_void_p (or integer) address to POINTER(c_ubyte) causes the interpreter to crash, when accessing the contents of the array. The problem seems to happen when running the following combination