Comment 2 for bug 72505

Revision history for this message
Thomas Heller (theller) wrote :

I can reproduce this behaviour on several Ubuntu boxes with '--with-system-ffi'.

Actually the ctypes unittests throw errors with this configuration, and eventually die with a segfault.

It would probably be a good idea to insert some runtime checks in ctypes itself, the sizes of the various c_... types should be compared with the sizes that the struct module calculates. This will not fix the bug but would avoid that users are bitten by it.