[pypy-issue] [issue941] 15000+ matrix filling instructions kill pypy-c

Anton tracker at bugs.pypy.org
Sat Nov 26 19:56:22 CET 2011


New submission from Anton <litvinenkoas at rambler.ru>:

The attached script (mostly generated by another one, but is not artificial,
such situations really occur in my program) causes pypy 1.5--1.7 (built from
release sources on Fedora 12) to die with the following error:

[anton at anton heavy]$ ~/build/pypy-1.6/pypy/translator/goal/pypy-c
pypy_large_failure.py 
RPython traceback:
  File "module_pypyjit_interp_jit.c", line 590, in jump_absolute__AccessDirect_None
  File "jit_metainterp_warmstate.c", line 602, in maybe_compile_and_run__star_5
  File "jit_metainterp_pyjitpl.c", line 2506, in
compile_and_run_once___pypy_jit_metainterp_jitdr
  File "jit_metainterp_pyjitpl.c", line 4274, in MetaInterp__compile_and_run_once
  File "jit_metainterp_pyjitpl.c", line 7042, in MetaInterp_interpret
  File "jit_metainterp_pyjitpl.c", line 9519, in MetaInterp__interpret
  File "jit_metainterp_pyjitpl.c", line 14272, in MIFrame_run_one_step
  File "jit_metainterp_pyjitpl.c", line 54706, in MIFrame_opimpl_jit_merge_point
  File "jit_metainterp_pyjitpl.c", line 79876, in MetaInterp_reached_loop_header
  File "jit_metainterp_pyjitpl.c", line 96559, in MetaInterp_compile
  File "jit_metainterp_compile.c", line 11356, in compile_new_loop
  File "jit_metainterp_optimize.c", line 140, in optimize_loop
  File "jit_metainterp_optimize.c", line 446, in _optimize_loop
  File "jit_metainterp_optimizeopt_unroll.c", line 6057, in
UnrollOptimizer_propagate_all_forward
  File "jit_metainterp_optimizeopt_optimizer.c", line 3365, in
Optimizer_propagate_all_forward
  File "jit_metainterp_optimizeopt_intbounds.c", line 279, in
OptIntBounds_optimize_GUARD_TRUE
  File "jit_metainterp_optimizeopt_rewrite.c", line 2975, in
OptRewrite_optimize_guard
  File "jit_metainterp_optimizeopt_optimizer.c", line 9643, in
Optimizer_optimize_default
  File "jit_metainterp_optimizeopt_optimizer.c", line 9383, in
Optimizer__emit_operation
  File "jit_metainterp_optimizeopt_optimizer.c", line 13006, in
Optimizer_store_final_boxes_in_guard
  File "jit_metainterp_resume.c", line 13422, in ResumeDataVirtualAdder_finish
  File "jit_metainterp_resume.c", line 14651, in ResumeDataLoopMemo_number
~~~ Crash in JIT! <ValueError object at 0x8c12d7c>
Aborted

CPython and CPython+psyco work fine. The matrices with lower size are also built
successfully.

----------
files: pypy_large_failure.py
messages: 3471
nosy: Scriptor, pypy-issue
priority: bug
status: unread
title: 15000+ matrix filling instructions kill pypy-c

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


More information about the pypy-issue mailing list