Questions tagged [valgrind]

10 questions
10
votes
1 answer

Valgrind can't find debug symbols, even with --extra-debuginfo-path

I'm attempting to install Valgrind on an embedded Debian-based PowerPC system. I've managed to cross-compile it successfully, but now it's complaining that it can't find debug information. I've put non-stripped copies of the relevant shared objects…
ashastral
  • 1,103
  • 2
  • 9
  • 15
4
votes
1 answer

Valgrind installation errors on OSX 10.8

Hi so I've been trying to Valgrind on mountain lion. I followed the instructions on valgrind's webpage: http://valgrind.org/docs/manual/dist.install.html As well as the instructions on this…
kamatama
  • 53
  • 1
  • 3
4
votes
1 answer

installing valgrind on ubuntu

I'm trying to install valgrind, but the installation failed. This is what I did: #tar jxvf valgrind−3.7.0.tar.bz2 #cd valgrind−3.7.0 #./configure #make #make install Here it says /usr/local/include/valgrind Permission denied. #sudo apt-get…
ubuntuHelp
  • 43
  • 1
  • 1
  • 3
4
votes
1 answer

Finding a directory with find command - huge list of unknown items Mac OS X 10.11

I am trying to uninstall the previous version of valgrind. I have manually deleted the specific valgrind folder, which was saved in my working directory and had a name valgrind 3.11, and now I try to check if anything is left in the system. I used…
Vitale
  • 153
  • 1
  • 2
  • 8
3
votes
0 answers

Mac OS Mojave: "brew install --HEAD valgrind" fails. Suggested online solutions do not work

When attempting brew install --HEAD valgrind I get this error: ==> Deleted Formulae apache-arrow cputhrottle liblastfm ruby@1.8 apache-arrow-glib hyper percona-server@5.6 valgrind: This formula either does…
Han Bonsen
  • 31
  • 1
  • 2
1
vote
1 answer

valgrind does not show line numbers

I'm probably missing sth obvious. I find many related questions on StackOverflow, but they just tell me things I already did. I compile my test app like: g++ -std=c++11 -g -O0 core_cpu.cpp test.cpp -o test.bin Then, running valgrind…
Albert
  • 6,531
  • 11
  • 39
  • 51
1
vote
3 answers

`less`: multiple commands, including a search

Imagine you would want less to auto scroll to the end. Easy, as its manual states, do less +G. Imagine you would want less to start at the beginning but after soaking its whole input. Easy, do less +Gg (to the end then back to the beginning), it…
174140
  • 94
  • 2
  • 13
  • 33
1
vote
0 answers

Valgrind returns "Illegal instruction" reguardless of options. Raspbian

I'm trying to get Valgrind running on my raspberry pi zero W. I've installed it through apt but running it returns "Illegal instruction" no matter what. pi@raspberrypi:~/Documnents/test $ valgrind --help Illegal instruction How can I debug or fix…
Fish11
  • 113
  • 3
0
votes
1 answer

Is it possible to launch an instance of Chrome/Chromium which is isolated from the rest of the system?

I'm trying to debug some of Chrome's behaviour when running one of my extensions. However the test is fairly memory intensive and I want to run it under Valgrind. Is it possible to launch an instance of the browser which is entirely independent of…
stsquad
  • 499
  • 5
  • 19
0
votes
1 answer

Valgrind cannot attach on OSX Lion

When I run valgrind with the options --tool=memcheck --db-attach=yes and then try to attach when an error pops up i get: valgrind: m_debugger.c:235 (ptrace_setregs): Assertion 'Unimplemented functionality' failed. It seems odd to me that this would…
chacham15
  • 898
  • 1
  • 8
  • 13