[pypy-issue] Issue #3128: Fatal RPython Error: AssertionError in UnrollOptimizer_optimize_bridge (pypy/pypy)

Asger Hautop Drewsen issues-reply at bitbucket.org
Wed Dec 18 04:23:08 EST 2019

New issue 3128: Fatal RPython Error: AssertionError in UnrollOptimizer_optimize_bridge

Asger Hautop Drewsen:

While solving Advent of Code Day 18, I got the following error:

RPython traceback:
  File "rpython_jit_metainterp_optimizeopt.c", line 31592, in UnrollOptimizer_optimize_bridge
  File "rpython_jit_metainterp_optimizeopt.c", line 53499, in OptUnroll_jump_to_existing_trace
  File "rpython_jit_metainterp_optimizeopt_1.c", line 26529, in OptUnroll_inline_short_preamble
  File "rpython_jit_metainterp_optimizeopt.c", line 45673, in Optimizer_send_extra_operation
  File "rpython_jit_metainterp_optimizeopt_2.c", line 28749, in Optimizer_propagate_forward
  File "rpython_jit_metainterp_optimizeopt_1.c", line 53851, in Optimizer_emit
  File "rpython_jit_metainterp_optimizeopt_2.c", line 1141, in _emit_operation__rpython_jit_metainterp_optimize
  File "rpython_jit_metainterp_optimizeopt_2.c", line 11733, in Optimizer_emit_guard_operation
  File "rpython_jit_metainterp_optimizeopt_2.c", line 17385, in Optimizer__maybe_replace_guard_value
Fatal RPython error: AssertionError

I’m using the following version of PyPy on Arch Linux:

Python 3.6.9 (5da45ced70e515f94686be0df47c59abd1348ebc, Oct 15 2019, 07:59:05)
[PyPy 7.2.0 with GCC 9.2.0]

I have attached the code and the input file it should be given as stdin to trigger this.


More information about the pypy-issue mailing list