Author Topic: Valgrind plugin fails  (Read 5400 times)

Offline tainted

  • Single posting newcomer
  • *
  • Posts: 5
Valgrind plugin fails
« on: April 19, 2009, 11:33:21 am »
Hi all,

I cannot use the C::B Valgrind plugin. The message i get when i want to use the plugin is:
valgrind --version
execvp(valgrind, --version) failed with error 2!
valgrind --leak-check=yes --xml=yes "bin/Debug/test_wx"
execvp(valgrind, --leak-check=yes, --xml=yes, bin/Debug/test_wx, ) failed with error 2!

C::B version i use is SVN build 5380
Has anyone encountered this problem?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Valgrind plugin fails
« Reply #1 on: April 19, 2009, 12:12:34 pm »
Hi all,

I cannot use the C::B Valgrind plugin. The message i get when i want to use the plugin is:
valgrind --version
execvp(valgrind, --version) failed with error 2!
valgrind --leak-check=yes --xml=yes "bin/Debug/test_wx"
execvp(valgrind, --leak-check=yes, --xml=yes, bin/Debug/test_wx, ) failed with error 2!

C::B version i use is SVN build 5380
Has anyone encountered this problem?

You need to install valgrind to be able to use it.

Offline tainted

  • Single posting newcomer
  • *
  • Posts: 5
Re: Valgrind plugin fails
« Reply #2 on: April 19, 2009, 01:12:32 pm »
Right! How stupid of me.
Thanks

But still i have no results. I ran Valgrind MemCheck but I got no message. I deliberately
introduced memory leaks in my app but i cannot get anything out of the execution of this plugin.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Valgrind plugin fails
« Reply #3 on: April 19, 2009, 01:18:55 pm »
But still i have no results. I ran Valgrind MemCheck but I got no message. I deliberately
introduced memory leaks in my app but i cannot get anything out of the execution of this plugin.

Do you mean, that the Valgrind and Valgrind messages tab in the logger pane is empty ?


Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: Valgrind plugin fails
« Reply #4 on: April 19, 2009, 01:19:19 pm »
Quote
valgrind --leak-check=yes --xml=yes "bin/Debug/test_wx"

Try the command the plug-in creates manually on the shell, any output there ?

Offline tainted

  • Single posting newcomer
  • *
  • Posts: 5
Re: Valgrind plugin fails
« Reply #5 on: April 19, 2009, 03:01:29 pm »

Do you mean, that the Valgrind and Valgrind messages tab in the logger pane is empty ?


Exactly.

@killerbot
I will try that but right now i have some problems building my project.