mark allyn
June 29th, 2015, 04:33 PM
Hello everyone,
I installed valgrind on a 14.04 ubuntu box. I removed a previous version using apt-get remove --purge command. The new installation appears to be correct. The man page is there. And, "which valgrind" command shows that the executable is located in /usr/local/bin and cd'ing to that directory and doing a "ls -ail valgrind" shows that it is an executable and appears to have a large number of bytes. I wrote a trivial c program (nu.c) and it runs without a problem. However, when I issue the command "valgrind ./nu" , I immediately get a seg fault. In fact, if I just type "valgrind" I get a seg fault.
Ideas?
Thanks,
Mark Allyn
I installed valgrind on a 14.04 ubuntu box. I removed a previous version using apt-get remove --purge command. The new installation appears to be correct. The man page is there. And, "which valgrind" command shows that the executable is located in /usr/local/bin and cd'ing to that directory and doing a "ls -ail valgrind" shows that it is an executable and appears to have a large number of bytes. I wrote a trivial c program (nu.c) and it runs without a problem. However, when I issue the command "valgrind ./nu" , I immediately get a seg fault. In fact, if I just type "valgrind" I get a seg fault.
Ideas?
Thanks,
Mark Allyn