Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33571 > unrolled thread
| Started by | Aung Thet Naing <aung.thetnaing@gmail.com> |
|---|---|
| First post | 2012-11-19 16:49 -0800 |
| Last post | 2012-12-13 13:39 -0800 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.lang.python
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
| From | Aung Thet Naing <aung.thetnaing@gmail.com> |
|---|---|
| Date | 2012-11-19 16:49 -0800 |
| Subject | Stack_overflow error |
| Message-ID | <1fd7672d-000b-4cbc-bd87-a9f37320c9e8@googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2012-11-20 12:15 +1100 |
| Message-ID | <mailman.24.1353374158.29569.python-list@python.org> |
| In reply to | #33571 |
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
[toc] | [prev] | [next] | [standalone]
| From | Dieter Maurer <dieter@handshake.de> |
|---|---|
| Date | 2012-11-20 19:40 +0100 |
| Message-ID | <mailman.79.1353436828.29569.python-list@python.org> |
| In reply to | #33571 |
Aung Thet Naing <aung.thetnaing@gmail.com> 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?
[toc] | [prev] | [next] | [standalone]
| From | Aung Thet Naing <aung.thetnaing@gmail.com> |
|---|---|
| Date | 2012-12-13 13:39 -0800 |
| Message-ID | <c8f6c12a-4fa9-4d9a-b7ea-53d54cc1ceb5@googlegroups.com> |
| In reply to | #33645 |
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 <aung.thetnaing@gmail.com> 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?
[toc] | [prev] | [next] | [standalone]
| From | Aung Thet Naing <aung.thetnaing@gmail.com> |
|---|---|
| Date | 2012-12-13 13:39 -0800 |
| Message-ID | <mailman.861.1355434783.29569.python-list@python.org> |
| In reply to | #33645 |
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 <aung.thetnaing@gmail.com> 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?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web