[PD] envgen crashes