[pypy-issue] [issue815] segfault in register allocator

Alex Gaynor tracker at bugs.pypy.org
Sat Jul 30 04:48:22 CEST 2011


Alex Gaynor <alex.gaynor at gmail.com> added the comment:

Compiled with lldebug, here's the position it crashes:


Program received signal SIGSEGV, Segmentation fault.
pypy_g_FrameManager_loc (l_self_10414=0x7ffff5b94510, l_box_82=<value optimized 
out>) at jit_backend_llsupport_regalloc.c:968
968		l_v1081674 = (struct pypy_object_vtable0 
*)_OP_GET_NEXT_GROUP_MEMBER((&pypy_g_typeinfo), (pypy_halfword_t)l_v1081643-
>_gcheader.h_tid, sizeof(struct pypy_type_info0));
(gdb) list
963		RPyField(l_self_10414, xfm_inst_frame_depth) = l_v1081669;
964		l_v1081671 = (struct pypy_object_vtable0 
*)_OP_GET_NEXT_GROUP_MEMBER((&pypy_g_typeinfo), (pypy_halfword_t)l_v1081649-
>_gcheader.h_tid, sizeof(struct pypy_type_info0));
965		l_v1081672 = (struct 
pypy_pypy_jit_backend_x86_regalloc_X86FrameManager_vtab0 *)l_v1081671;
966		l_v1081673 = RPyField(l_v1081672, xfm_cls_frame_pos);
967		l_v1081644 = RPyField(l_self_10414, xfm_inst_frame_depth);
968		l_v1081674 = (struct pypy_object_vtable0 
*)_OP_GET_NEXT_GROUP_MEMBER((&pypy_g_typeinfo), (pypy_halfword_t)l_v1081643-
>_gcheader.h_tid, sizeof(struct pypy_type_info0));
969		l_v1081675 = (struct 
pypy_pypy_jit_metainterp_history_AbstractValue_vtable0 *)l_v1081674;
970		l_v1081642 = RPyField(l_v1081675, av_cls_type);
971		switch (l_v1081673) {
972	    case ((char)0):

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

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


More information about the pypy-issue mailing list