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

Antonio Cuni tracker at bugs.pypy.org
Tue Apr 10 21:54:45 CEST 2012


Antonio Cuni <anto.cuni at gmail.com> added the comment:

I confirm that both bugs are still there at revision 124c48df1aab.
inifite_loop.py really looks like an unroll bug.

str_instead_of_token is weird. If I run it with pypy 1.7, I get a Fatal RPython
error: BytecodeCorruption even with --jit off

with pypy 1.8 and trunk, I get the applevel exception the user reported; if I
disable unrolling, I get this:
$ pypy-c --jit enable_opts=intbounds:rewrite:virtualize:string:heap
str_instead_of_token.py
RPython traceback:
  File "jit_metainterp_optimizeopt___init__.c", line 271, in optimize_trace
  File "jit_metainterp_optimizeopt_optimizer.c", line 3596, in
Optimizer_propagate_all_forward
  File "jit_metainterp_optimizeopt_heap.c", line 3694, in OptHeap_emit_operation
  File "jit_metainterp_optimizeopt_heap.c", line 4131, in OptHeap_emitting_operation
Fatal RPython error: AssertionError
Aborted

so it's possible that it's not an unroll fault, but that unroll simply gets a
list of operations which is "buggy".

----------
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1080>
________________________________________


More information about the pypy-issue mailing list