translating with --sandbox fails on latest "default" branch.

Hi. Is it possible that the latest default branch does not translate a sandboxed pypy:? I do: python rpython/bin/rpython -O2 --sandbox pypy/goal/targetpypystandalone.py And get the traceback below after a bit of mandelbrot. Do we consider "default" the most stable branch? It is because I also have a fork (with the await-keyword), and I'd like to keep it up-to-date with the latest stable. Thanks! Jonathan [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/goal/translate.py", line 317, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/driver.py", line 733, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/driver.py", line 284, in _do [translation:ERROR] res = func() [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/driver.py", line 464, in task_database_c [translation:ERROR] database = cbuilder.build_database() [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/genc.py", line 175, in build_database [translation:ERROR] db.complete() [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/database.py", line 306, in complete [translation:ERROR] add_dependencies(node.enum_dependencies(), node) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/database.py", line 294, in add_dependencies [translation:ERROR] self.get(value, parent and parent._funccodegen_owner) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/database.py", line 226, in get [translation:ERROR] node = self.getcontainernode(container) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/database.py", line 160, in getcontainernode [translation:ERROR] node = nodefactory(self, T, container, **buildkwds) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/node.py", line 844, in __init__ [translation:ERROR] self.make_funcgens() [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/node.py", line 851, in make_funcgens [translation:ERROR] self.funcgens = select_function_code_generators(self.obj, self.db, self.name) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/node.py", line 968, in select_function_code_generators [translation:ERROR] return sandbox_transform(fnobj, db) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/c/node.py", line 944, in sandbox_transform [translation:ERROR] graph = rsandbox.get_external_function_sandbox_graph(fnobj, db) [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/translator/sandbox/rsandbox.py", line 166, in get_external_function_sandbox_graph [translation:ERROR] ann.finish() [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/rtyper/annlowlevel.py", line 241, in finish [translation:ERROR] self.finish_annotate() [translation:ERROR] File "/home/jonathan/hg/pypy-april/pypy/rpython/rtyper/annlowlevel.py", line 267, in finish_annotate [translation:ERROR] (graph, s_result, s_real_result)) [translation:ERROR] Exception: wrong annotation for the result of <FunctionGraph of (rpython.translator.sandbox.rsandbox:147)sandboxed_ll_os.ll_os_execve__star_3 at 0x28526bcc>: [translation:ERROR] originally specified: SomeImpossibleValue() [translation:ERROR] found by annotating: SomePBC(can_be_None=True, const=None, subset_of=None)
participants (2)
-
Armin Rigo
-
Jonathan Slenders