Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Stack_overflow error

Reply
Thread Tools

Stack_overflow error

 
 
Aung Thet Naing
Guest
Posts: n/a
 
      11-20-2012
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

Aung.

 
Reply With Quote
 
 
 
 
Chris Angelico
Guest
Posts: n/a
 
      11-20-2012
On Tue, Nov 20, 2012 at 11:49 AM, Aung Thet Naing
<> 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
 
Reply With Quote
 
 
 
 
Dieter Maurer
Guest
Posts: n/a
 
      11-20-2012
Aung Thet Naing <> 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?

 
Reply With Quote
 
Aung Thet Naing
Guest
Posts: n/a
 
      12-13-2012
I'm sorry that I have been away from this issue for a while.

Yes, I'm working on windows. I need to review the error again so that I could rephrase my issue clearly.

Thanks.

Aung.
On Tuesday, November 20, 2012 10:40:42 AM UTC-8, Dieter Maurer wrote:
> Aung Thet Naing <> 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?


 
Reply With Quote
 
Aung Thet Naing
Guest
Posts: n/a
 
      12-13-2012
I'm sorry that I have been away from this issue for a while.

Yes, I'm working on windows. I need to review the error again so that I could rephrase my issue clearly.

Thanks.

Aung.
On Tuesday, November 20, 2012 10:40:42 AM UTC-8, Dieter Maurer wrote:
> Aung Thet Naing <> 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?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xffc Thread 0x228 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-30-2006 03:16 PM
Error connecting to SQLExpress 2005 locally (error: 26 - Error Locating Server/Instance Specified) hfk0 ASP .Net 2 03-27-2006 08:43 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM
Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error JavaQueries Java 1 03-01-2005 06:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57