If aindex was pushed as a 32bit value (sp->data.i = 0) then reading sp->data.nati (64bit on LP64) will load undefined bits. Should stelem/ldelem check sp->type to correctly load aindex? Laurent