[issue13616] Never ending loop in in update_refs Modules/gcmodule.c

Jesús Cea Avión report at bugs.python.org
Tue Dec 20 01:23:28 CET 2011


Jesús Cea Avión <jcea at jcea.es> added the comment:

It seems to be a real infinite loop. Bad thing. Could be a bug in an extension, difficult to say.

This is going to be VERY difficult to debug without a reproductible case we can try.

Could you possibly check the object type of the "infinite loop" object?. If the loop is from an object to itself, maybe you can instrumentalize python to detect this loop when created.

Add to your code "gc.collect()" is a frequent loop. It is going to suck CPU, but could reproduce the issue faster and make it easier to diagnose.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13616>
_______________________________________


More information about the Python-bugs-list mailing list