Index: obj_pstk_inlines.h =================================================================== --- obj_pstk_inlines.h (revision 32748) +++ obj_pstk_inlines.h (revision 32749) @@ -352,7 +352,10 @@ if (proto->mech_idx < 0) return NULL; /* no mech shape -> no slot */ - ts = pcb_pstk_get_tshape(ps); + if (ps == NULL) + ts = &proto->tr.array[0]; + else + ts = pcb_pstk_get_tshape(ps); return ts->shape + proto->mech_idx; }