[pypy-issue] Issue #2504: pypy pythonnet call fails on PyPyClass_New (pypy/pypy)

Denis Akhiyarov issues-reply at bitbucket.org
Sat Mar 18 02:08:41 EDT 2017

New issue 2504: pypy pythonnet call fails on PyPyClass_New

Denis Akhiyarov:

Exception thrown at 0x1081C174 (libpypy-c.dll) in pypy.exe: 0xC0000005: Access violation reading location 0x00000004.

IntPtr s = Runtime.PyPyString_FromString("_temp");
IntPtr d = Runtime.PyPyDict_New();
IntPtr c = Runtime.PyPyClass_New(IntPtr.Zero, d, s);

Python 2.7.13 (3ecf4b9db0f5, Mar 16 2017, 21:26:47)
[PyPy 5.8.0-alpha0 with MSC v.1500 32 bit] on win32

More information about the pypy-issue mailing list