After 1.3a1r14155 (not sure how much after but certainly currently) you
get a SEGV if you use an unknown shell (I use something called ksh93).

Error is at lines 576->580

        if ( i == ORTE_PLS_RSH_SHELL_UNKNOWN ) {
            opal_output(0, "WARNING: local probe returned unhandled shell:%s 
assuming bash\n",
                        orte_pls_rsh_shell_name[i]);
            local_sh = true;
        }


The lines

 opal_output(0, "WARNING: local probe returned unhandled shell:%s assuming 
bash\n",
             orte_pls_rsh_shell_name[i]);

should be

 opal_output(0, "WARNING: local probe returned unhandled shell:%s assuming 
bash\n",
             sh_name);

At 1.3a1r14155, when the i index was at ORTE_PLS_RSH_SHELL_UNKNOWN there was an
extra "unknown" shell in orte_pls_rsh_shell_name[]

static const char * orte_pls_rsh_shell_name[] = {
    "bash",
    "zsh",
    "tcsh",       /* tcsh has to be first otherwise strstr finds csh */
    "csh",
    "ksh",
    "sh",
    "unknown"
};

which prevented the SEGV but you still didn't get your true shell name.


Regards,
Mostyn

Reply via email to