[pypy-issue] Issue #1990: patch_jump_for_descr assertion failure (pypy/pypy)

Carl Friedrich Bolz issues-reply at bitbucket.org
Mon Feb 23 19:15:37 CET 2015

New issue 1990: patch_jump_for_descr assertion failure

Carl Friedrich Bolz:

Assertion failure in ``patch_jump_for_descr``:

RPython traceback:
  File "rpython_jit_metainterp_compile.c", line 17761, in send_bridge_to_backend
  File "rpython_jit_backend_x86_assembler.c", line 62107, in Assembler386_assemble_bridge
  File "rpython_jit_backend_x86_assembler.c", line 62778, in Assembler386_patch_jump_for_descr
Fatal RPython error: AssertionError

It's this assert:


    def patch_jump_for_descr(self, faildescr, adr_new_target):
        adr_jump_offset = faildescr.adr_jump_offset
        assert adr_jump_offset != 0

Way to reproduce:
* clone and build pycket https://github.com/samth/pycket
* clone the benchmarks: https://github.com/krono/pycket-bench/
* go to pycket-bench/Crossbenchmarks and run pycket-c racket/dynamic-nothing.rkt

More information about the pypy-issue mailing list