Stack_overflow error

Chris Angelico rosuav at gmail.com
Mon Nov 19 20:15:55 EST 2012


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

ChrisA



More information about the Python-list mailing list