[Bug 1501382] New: Segmentation fault in ap_create_environment called by spawn_proc_prog