Michael Curran <m...@nvaccess.org> added the comment:
I can also reproduce this. I will attach my own testcase below. So far I see it when the callback is __stdcall (WINFUNCTYPE) and it takes an larger than 4 bytes (E.g. a long long or a VARIANT), with one or more arguments preceeding it such that this argument is not aligned on a multiple of 8 bytes. For example arguments can be: * long, long long * long, long, long, long long But the corruption does not occur with something like: * long, long, long long My testcase uses long, long long to show the crash. ---------- nosy: +michaeldcurran Added file: https://bugs.python.org/file49959/py3.8crash.zip _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38748> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com