[pypy-dev] AssertionError in rpython_jit_metainterp_resume.c

Armin Rigo arigo at tunes.org
Sun Aug 3 14:26:38 CEST 2014


Hi Anton,

On 3 August 2014 12:57, Anton Gulenko <anton.gulenko at googlemail.com> wrote:
> Since this seems to be related to virtualizable objects: during translation
> we get 2 warnings that the "fresh_virtualizable" hints are ignored (there
> are 2 places where virtualizable frame objects are created.
> Also, we have one virtualizable list[*] field in our Context class, which
> should never be resized. I applied the make_sure_not_resized hint on it, but
> maybe I'm using it wrong... I'm just calling make_sure_not_resized once,
> after setting the list field.

It's not enough to not resize the list: you need to make sure that a
given virtualizable object's list attribute is never re-assigned with
a list of different size.  Is that true?


A bientôt,

Armin.


More information about the pypy-dev mailing list