Check out example codes for "execvp bad address". It will help you in understanding the concepts better.

Code Example 1

execvp(argv[0], argv);
Usually due to not null-terminate your argv list.

Learn ReactJs, React Native from akashmittal.com