[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

Steve Dower report at bugs.python.org
Fri Nov 22 18:49:58 EST 2019


Steve Dower <steve.dower at python.org> added the comment:

I would guess this is due to the updated libffi, and probably it's a case that is not sufficiently tested.

Adding tests is the first step. It'll probably have to enumerate many parameter types (in case there's something weird here like misaligning the double after the int and not clearing it up, as opposed to a constant 4-byte offset).

Hopefully then the issue is on our side and not part of libffi, but it could be anywhere.

----------
stage:  -> test needed
versions: +Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38748>
_______________________________________


More information about the Python-bugs-list mailing list