Qt Creator 8.0.1
Valgrind 3.18.1-lubuntu2
Analyze -> Valgrind Memory Analyzer
I get in Issue Pane:
“Memcheck: Error occurred parsing Valgrind output: The remote host closed the connection”
Qt Creator is executing this command:
/usr/bin/valgrind --child-silent-after-fork=yes --xml-socket=127.0.0.1:35943 --log-socket=127.0.0.1:40737 --xml=yes --smc-check=stack --tool=memcheck --gen-suppressions=all --track-origins=yes --leak-check=summary --num-callers=25 my_project
When I execute valgrind from the terminal I get the output:
==1031947== Failed to connect to logging server '127.0.0.1:40737'.
==1031947== Logging messages will be sent to stderr instead.
==1031947== Failed to connect to XML logging server '127.0.0.1:35943'.
==1031947== XML output will be sent to stderr instead.
Here is a similar issue with no solution posted: https://www.qtcentre.org/threads/70237-valgring-memcheck-from-QtCreator
I am not sure what to do; the Valgrind arguments are hardcoded into QtCreator. Is QtCreator not opening ports or this an issue with Valgrind itself?