Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33573

Re: Stack_overflow error

References <1fd7672d-000b-4cbc-bd87-a9f37320c9e8@googlegroups.com>
Date 2012-11-20 12:15 +1100
Subject Re: Stack_overflow error
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.24.1353374158.29569.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Stack_overflow error Aung Thet Naing <aung.thetnaing@gmail.com> - 2012-11-19 16:49 -0800
  Re: Stack_overflow error Chris Angelico <rosuav@gmail.com> - 2012-11-20 12:15 +1100
  Re: Stack_overflow error Dieter Maurer <dieter@handshake.de> - 2012-11-20 19:40 +0100
    Re: Stack_overflow error Aung Thet Naing <aung.thetnaing@gmail.com> - 2012-12-13 13:39 -0800
    Re: Stack_overflow error Aung Thet Naing <aung.thetnaing@gmail.com> - 2012-12-13 13:39 -0800

csiph-web