Stack_overflow error

Dieter Maurer dieter at
Tue Nov 20 19:40:09 CET 2012

Aung Thet Naing <aung.thetnaing at> writes:

> I'm having Stack_overflow exception in _ctypes_callproc (callproc.c). The error actually come from the:
>  cleanup:
>     for (i = 0; i < argcount; ++i)
>         Py_XDECREF(args[i].keep);
> when args[i].keep->ob_refCnt == 1

Really a stack overflow or a general segmentation violation?
Under *nix, both are not easy to distinguish -- but maybe, you are
working with Windows?

More information about the Python-list mailing list