Re: recursion limit exceeded in Python API, but there's only one function in traceback

Phil Muldoon <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 17/10/14 15:26, Ömer Sinan Ağacan wrote:
>> The patch has already been written (I had to fix it for a RH bugzilla
>> entry).  I just have not gotten around to posting it upstream yet.  I
>> will do that very soon.  But if you are interested, the patch is here:
>>
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1116957
>
> Can anyone explain me how does GIL related with my problem? A blocking call
> will still be blocking no matter what happens to GIL, I don't understand how
> `gdb.execute("continue")` won't fill the stack with free GIL.

The GIL is only part of the problem.  You are seeing the recursion
limit as you are recursively entering the handler.

If you could expand what you are trying to do, with what codebase that
would be the best thing. 

Cheers,

Phil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.