[PyPy-issue] [issue642] 64bit sandboxes with jit fail during startup

Janno pypy-dev-issue at codespeak.net
Thu Feb 24 23:47:55 CET 2011


New submission from Janno <mail at janno-kaiser.de>:

After managing to translate a sandbox with jit based on 40712-e8966331cd0d I
tried newer revisions and found out that every revision after 40745-9317ec76d9eb
I tested produce sandboxes that fail during initializiation:

/usr/src/pypy/pypy/translator/sandbox/pypy_interact.py pypy-c
[sandlib:call] ll_os.ll_os_getenv('PYPY_GC_NURSERY')
[sandlib:result] None
[sandlib:call] ll_os.ll_os_open('/proc/cpuinfo', 0L, 420L)
[sandlib:exception] OSError: [Errno 2] proc
Warning: cannot find your CPU L2 cache size in /proc/cpuinfo
[sandlib:call] ll_os.ll_os_getenv('PYPY_GC_MAJOR_COLLECT')
[sandlib:result] None
[sandlib:call] ll_os.ll_os_getenv('PYPY_GC_GROWTH')
[sandlib:result] None
[sandlib:call] ll_os.ll_os_getenv('PYPY_GC_MIN')
[sandlib:result] None
[sandlib:call] ll_os.ll_os_getenv('PYPY_GC_MAX')
[sandlib:result] None
[sandlib:call] ll_os.ll_os_getenv('PYPY_GC_MAX_DELTA')
[sandlib:result] None
[sandlib:call] ll_os.ll_os_open('/proc/meminfo', 0L, 420L)
[sandlib:exception] OSError: [Errno 2] proc
[sandlib:call] ll_os.ll_os_getenv('PYPY_GC_DEBUG')
[sandlib:result] None
Not Implemented: sandboxing for external function 'pypysig_getaddr_occurred'
Invalid RPython operation (NULL ptr or bad array index)
[Subprocess killed by SIGIOT]

Sadly, sandboxes from earlier revision suffer from issue 629 which makes them
highly unreliable. Since I'm mostly interested in the performance benefit of jit
I have not yet tried non-jit sandboxes. I'll keep you updated if I get around to
do more trials in the next few days.

----------
effort: ???
messages: 2164
nosy: Janno, pypy-issue
priority: bug
release: ???
status: unread
title: 64bit sandboxes with jit fail during startup

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue642>
_______________________________________________________



More information about the Pypy-issue mailing list