[pypy-issue] [issue812] gc problem when dealing with numpy's virtual arrays

Justin Peel tracker at bugs.pypy.org
Thu Jul 28 05:39:15 CEST 2011


Justin Peel <peelpy at gmail.com> added the comment:

Attached the crash message.

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

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue812>
________________________________________
-------------- next part --------------
[bogus _immutable_field_ declaration: <GcPtrFieldDescr pypy.module.micronumpy.interp_numarray.Call2.inst_left 28>]
[0.0 0.0 0.0 ..., 0.0 0.0 0.0]
RPython traceback:
  File "translator_goal_targetpypystandalone.c", line 1615, in entry_point
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 155, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "module_pypyjit_interp_jit.c", line 146, in portal
  File "interpreter_pyopcode.c", line 2935, in handle_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 7815, in dispatch_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 14609, in call_function__AccessDirect_None
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 155, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "module_pypyjit_interp_jit.c", line 146, in portal
  File "interpreter_pyopcode.c", line 2935, in handle_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 7428, in dispatch_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 14609, in call_function__AccessDirect_None
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 155, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "module_pypyjit_interp_jit.c", line 146, in portal
  File "interpreter_pyopcode.c", line 2935, in handle_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 8572, in dispatch_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 14609, in call_function__AccessDirect_None
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 155, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "module_pypyjit_interp_jit.c", line 146, in portal
  File "interpreter_pyopcode.c", line 2935, in handle_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 8465, in dispatch_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 20275, in EXEC_STMT__AccessDirect_None
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 155, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "module_pypyjit_interp_jit.c", line 146, in portal
  File "interpreter_pyopcode.c", line 2935, in handle_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 5293, in dispatch_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 11430, in CALL_FUNCTION__AccessDirect_None
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 155, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "module_pypyjit_interp_jit.c", line 146, in portal
  File "interpreter_pyopcode.c", line 2935, in handle_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 9559, in dispatch_bytecode__AccessDirect_None
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 155, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "module_pypyjit_interp_jit.c", line 146, in portal
  File "interpreter_pyopcode.c", line 2935, in handle_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 5293, in dispatch_bytecode__AccessDirect_None
  File "interpreter_pyopcode.c", line 11430, in CALL_FUNCTION__AccessDirect_None
  File "interpreter_pyframe.c", line 992, in PyFrame_execute_frame
  File "jit_metainterp_warmspot.c", line 323, in ll_portal_runner__Unsigned_Bool_pypy_interpreter
  File "jit_metainterp_warmstate.c", line 602, in maybe_compile_and_run__star_5
  File "jit_metainterp_pyjitpl.c", line 2483, in compile_and_run_once___pypy_jit_metainterp_jitdr
  File "jit_metainterp_pyjitpl.c", line 4245, in MetaInterp__compile_and_run_once
  File "jit_metainterp_pyjitpl.c", line 7002, in MetaInterp_interpret
  File "jit_metainterp_pyjitpl.c", line 9469, in MetaInterp__interpret
  File "jit_metainterp_pyjitpl.c", line 14210, in MIFrame_run_one_step
  File "jit_metainterp_pyjitpl.c", line 24230, in handler_ref_return
  File "jit_metainterp_pyjitpl.c", line 57439, in MetaInterp_finishframe
  File "jit_metainterp_pyjitpl.c", line 84057, in MetaInterp_compile_done_with_this_frame
  File "jit_metainterp_compile.c", line 6807, in compile_new_bridge
  File "jit_metainterp_optimize.c", line 89, in optimize_bridge
  File "jit_metainterp_optimize.c", line 336, in _optimize_bridge
  File "jit_metainterp_optimizeopt_optimizer.c", line 3053, in Optimizer_propagate_all_forward
  File "jit_metainterp_optimizeopt_heap.c", line 4822, in OptHeap_optimize_SETFIELD_GC
Fatal RPython error: BogusPureField


More information about the pypy-issue mailing list