This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]