Stack_overflow error

Chris Angelico rosuav at
Tue Nov 20 02:15:55 CET 2012

On Tue, Nov 20, 2012 at 11:49 AM, Aung Thet Naing
<aung.thetnaing at> wrote:
> 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

Can you offer more details? I'm guessing you're using ctypes from a
Python script; can you share the script with us?

What Python version are you using? What procedure are you calling?


More information about the Python-list mailing list