Valgrind ends console program without executing any code...
-
wrote on 20 Dec 2019, 12:59 last edited by Guerrian
I'm using Valgrind version 3.15. The output is just:
Press <RETURN> to close this window...
Even though I have a "cout" as the very first line in main. The problem seems to be specific to one project.
This is from the application output pane:
14:00:56: valgrind --child-silent-after-fork=yes --xml-socket=127.0.0.1:41967 --log-socket=127.0.0.1:37281 --xml=yes --smc-check=stack --tool=memcheck --gen-suppressions=all --track-origins=yes --leak-check=summary --num-callers=25 /home/daniel/Documents/QtNew/SCR2/build-SCR2-Desktop_Qt_5_12_5_GCC_64bit-Debug/SCR2 14:00:56: Error: "valgrind" could not be started: Cannot execute "valgrind": No such file or directory 14:00:56: Analyzing finished.
-
@Guerrian said in Valgrind ends console program without executing any code...:
Error: "valgrind" could not be started: Cannot execute "valgrind": No such file or directory
This should give you a hint what's wrong, or?
-
@Guerrian said in Valgrind ends console program without executing any code...:
Error: "valgrind" could not be started: Cannot execute "valgrind": No such file or directory
This should give you a hint what's wrong, or?
wrote on 20 Dec 2019, 14:25 last edited by GuerrianI edited my question, it looks like kcachegrind is missing.
-
@Guerrian kcachegrind?
Cannot execute "valgrind": No such file or directory
-
@Guerrian kcachegrind?
Cannot execute "valgrind": No such file or directory
wrote on 20 Dec 2019, 19:24 last edited by@Christian-Ehrlicher said in Valgrind ends console program without executing any code...:
@Guerrian kcachegrind?
Cannot execute "valgrind": No such file or directory
I installed valgrind and kcachegrind, it still shows the same error.
-
Try to execute valgrind on the command line to be really sure. Is valgrind really in /home/daniel/valgrind/bin/ ?
1/6