Description
A simple "Hello World" program results in a SIGSEGV when executed via mana_launch if the number of command-line arguments is odd. The same executable runs correctly when launched with dmtcp_launch or directly via the shell.
Steps to Reproduce
Code (hello.c):
#include <stdio.h>
int main() {
printf("Hello world!\n");
return 0;
}
Compile: gcc hello.c -o hello
Run with ODD arguments (Fails): mana_launch ./hello arg1
Run with EVEN arguments (Works): mana_launch ./hello arg1 arg2
Run with ODD arguments (Works): dmtcp_launch ./hello arg1
Run with EVEN arguments (Works): dmtcp_launch ./hello arg1 arg2
Run with ODD arguments (Works): ./hello arg1
Run with EVEN arguments (Works): ./hello arg1 arg2
Suspected Cause
Alignment issue