ghtdak/qtreactor — Issue #7: long recursion in doIteration / _iterate
Author: croepha
Created: 2011-12-23 17:11:25+00:00
State: open

twisted.internet.reactor.run()
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 293, in run
self._blockApp.exec_()
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
.... repeats ...
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 235, in _iterate
self.doIteration(delay, fromqt)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 259, in doIteration
self.qApp.processEvents(QEventLoop.AllEvents, delay * 1000)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 93, in read
log.callWithLogger(w, _read)
File "/usr/lib/python2.7/site-packages/twisted/python/log.py", line 84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 92, in _read
self.reactor._iterate(fromqt=True)
File "/usr/lib/python2.7/site-packages/qt4reactor.py", line 234, in _iterate
self.runUntilCurrent()
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 793, in runUntilCurrent
call.func(*call.args, **call.kw)

Is this normal? why exactly is this happening? how is it going from processEvents to _iterate? I am using the q4tractor with the recursion fix, and some slight modifications (print statements, gc.collect()...) for debugging