Hello,

I am working on the RSqueak VM (https://bitbucket.org/pypy/lang-smalltalk).
Usually I debug assertion errors by executing the VM in interpreted mode.
Recently I started getting an error where that doesn't work. See below for
the only output on the console.
I am working on Windows, so the VM is compiled with Visual Studio.
The VM is translated using the pypy commit tagged "release-2.3.1".

RPython traceback:
  File "rpython_jit_metainterp_compile.c", line 379, in
ResumeGuardForcedDescr_handle_async_forcing
  File "rpython_jit_metainterp_resume.c", line 256, in force_from_resumedata
  File "rpython_jit_metainterp_virtualizable.c", line 426, in
write_from_resume_data_partial
  File "rpython_jit_metainterp_resume.c", line 768, in
ResumeDataDirectReader_decode_ref
Fatal RPython error: AssertionError

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.

Any ideas?
Thanks in advance!
Best,
Anton
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to