[pypy-issue] [issue1080] jit errors (infinite loop and str instead of token object)

Hakan Ardo tracker at bugs.pypy.org
Thu Apr 26 08:50:36 CEST 2012

Hakan Ardo <hakan at debian.org> added the comment:

I've digged a bit regarding inifite_loop (no conclution yet). It is the loop in
trampoline.trampoline that becomes infinitie, always calling
parser.token.base.label.ceval on the same object. The example can be somewhat
simplified by killing trampoline.Bounce.i and trampoline.Bounce.c and still
triggers the bug. A change of the threshold circumvents the bug.

There is:

+688: p71 = getfield_gc(p69, descr=<FieldP
pypy.interpreter.function.Function.inst_code 24>)
+692: guard_value(p71, ConstPtr(ptr72), descr=<Guard154>) [p1, p0, p10, p46,
p71, p67, p69, p2, p5, p62, p63, None, None, i48, p47]

in the preamble that is optimized out of the peeled loop. Dont know why or if
it's just another symptom.

nosy: +hakanardo

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list