New issue 2189: pypy3 sandbox mode fails https://bitbucket.org/pypy/pypy/issues/2189/pypy3-sandbox-mode-fails
Scott Joseph: Sandbox mode in pypy3 is not working. I've posted the error message and steps I've taken below. I see it fails right after '/bin/pypy-c', and I see a few verbose lines above that, it says RealFile. I've checked that /Users/josesc/Documents/pypy3-2.4.0-src/pypy/goal/pypy-c does exist. Error message: $ ./pypy_interact.py --verbose ../goal/pypy-c [sandlib:call] ll_os.ll_os_getenv('PYPY_GENERATIONGC_NURSERY') [sandlib:result] None [sandlib:call] ll_os.ll_os_getenv('PYPY_GC_DEBUG') [sandlib:result] None [sandlib:call] ll_os.ll_os_envitems() [sandlib:result] [] [sandlib:call] ll_os.ll_os_stat('/bin/pypy-c') [sandlib:vpath] '/bin/pypy-c' => <RealFile /Users/josesc/Documents/pypy3-2.4.0-src/pypy/goal/pypy-c> [sandlib:result] posix.stat_result(st...ctime=0) [sandlib:call] ll_os.ll_os_access('/bin/pypy-c', 1) [sandlib:exception] RuntimeError: no handler for this function debug: OperationError: debug: operror-type: RuntimeError debug: operror-value: None debug: OperationError: debug: operror-type: AttributeError debug: operror-value: stdout [Subprocess exit code: 1] Steps to reproduce: 1. Build pypy3 using https://bitbucket.org/pypy/pypy/downloads/pypy3-2.4.0-src.tar.bz2 2. python2 ../../rpython/bin/rpython -O2 --sandbox targetpypystandalone.py 3. cd ../sandbox 4. ./pypy_interact.py ../goal/pypy-c _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue