Issue #2433: Numpy segfault with PyPy 5.6.0 on OS X (pypy/pypy)
New issue 2433: Numpy segfault with PyPy 5.6.0 on OS X https://bitbucket.org/pypy/pypy/issues/2433/numpy-segfault-with-pypy-560-on-... Ralf Gommers: This is with current numpy master on OS X 10.12.1. OS X binary from pypy.org: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.6.0-osx64.tar.bz2 Installed numpy with ``./pypy-xxx/bin/pip install cython git+https://github.com/numpy/numpy.git``. $ ./pypy Python 2.7.12 (aff251e54385, Nov 09 2016, 17:25:49) [PyPy 5.6.0 with GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>> import numpy as np >>>> np.test() Running unit tests for numpy NumPy version 1.13.0.dev0+ec02bdc NumPy relaxed strides checking option: True NumPy is installed in /Users/rgommers/Downloads/pypy2-v5.6.0-osx64/site-packages/numpy Python version 2.7.12 (aff251e54385, Nov 09 2016, 17:25:49)[PyPy 5.6.0 with GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] nose version 1.3.7 .................................S.......................................................E........................................................................................S.............................................................RPython traceback: File "pypy_interpreter.c", line 43348, in BuiltinCodePassThroughArguments1_funcrun_obj File "pypy_module_cpyext_4.c", line 16627, in generic_cpy_call__StdObjSpaceConst_funcPtr_SomeI_17 Fatal RPython error: AssertionError Abort trap: 6 Compilers are the default Clang and Gfortran from Homebrew: $ clang --version Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin16.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin $ gfortran --version gfortran: warning: couldn't understand kern.osversion '16.1.0 GNU Fortran (Homebrew gcc 4.9.1) 4.9.1
participants (1)
-
Ralf Gommers