[MacPorts] #59022: py-numpy: Anything that imports numpy crashes python on sierra/10.12 in a vm/virtual machine (was: py35-healpy, py36-matplotlib, py37-matplotlib: Illegal instruction: 4)
MacPorts
noreply at macports.org
Sat Jan 18 02:06:58 UTC 2020
#59022: py-numpy: Anything that imports numpy crashes python on sierra/10.12 in a
vm/virtual machine
-------------------------+-----------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sierra
Port: py-numpy |
-------------------------+-----------------------
Changes (by ryandesign):
* keywords: => sierra
* cc: jmroot, stromnov, reneeotten (added)
* port: py-healpy, py-matplotlib => py-numpy
* owner: reneeotten => michaelld
Comment:
Has duplicates #59383, #59979. Crash logs are attached to #59979.
The upstream bug report we have been presuming this relates to is
https://github.com/numpy/numpy/issues/10330. However it is closed because
it was thought not to be a numpy bug but rather a defect in the Xen
hypervisor that that user was using. There is a
[https://github.com/numpy/numpy/issues/10330#issuecomment-355837109 sample
program] which was reporting that AVX was supported but trying to use AVX
functions was causing a crash.
I have tried that test program on our Sierra and High Sierra buildbot
workers. On both, it reports that AVX is not available. Also, the upstream
bug report says the problem occurs when doing "simple array additions",
but in our case, the problem occurs immediately after "import numpy". So
perhaps our problem is not the same one.
Our buildbot workers ''are'' virtual machines (running under VMware ESXi
on Xserves) so that part may still be relevant. If anybody experiences
this problem on Sierra running directly on a Mac, not in a VM, let us
know.
--
Ticket URL: <https://trac.macports.org/ticket/59022#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list