This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients PlatonAdCo, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-05.20:49:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614977355.91.0.700610148478.issue28259@roundup.psfhosted.org>
In-reply-to
Content
I didn't have time to look deeper into this. I'm sorry for not getting back to you. The rather-large example that you uploaded didn't and doesn't run for me, so I wasn't able to reproduce the problem.

The one bit of advice I have is to always declare required argument types in the `argtypes` attribute of ctypes functions. It can be very useful to take advantage of the type checking that ctypes provides in order to catch problems before they lead to stack or heap corruption, or bad values that lead to corruption later on. 

I'm closing this issue as not a bug. ctypes and libffi have been used in a broad range of cases in 32-bit Windows for many years, and I wasn't able to reproduce the problem with a function of the given call signature when I checked in 2016.
History
Date User Action Args
2021-03-05 20:49:15eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, PlatonAdCo
2021-03-05 20:49:15eryksunsetmessageid: <1614977355.91.0.700610148478.issue28259@roundup.psfhosted.org>
2021-03-05 20:49:15eryksunlinkissue28259 messages
2021-03-05 20:49:15eryksuncreate