PDA

View Full Version : valgring memcheck from QtCreator



icegood
16th May 2019, 08:44
Hi, i'm trying to run valgrind from QtCreator and obtain:


valgrind --child-silent-after-fork=yes --xml-socket=127.0.0.1:43851 --log-socket=127.0.0.1:39469 --xml=yes --smc-check=stack --tool=memcheck --gen-suppressions=all --track-origins=yes --leak-check=summary --num-callers=25 my_program my_args
==25268== failed to connect to logging server '127.0.0.1:39469'.
==25268== Log messages will sent to stderr instead.
==25268== failed to connect to XML logging server '127.0.0.1:43851'.
==25268== XML output will sent to stderr instead.

valgrind: m_main.c:1136 (main_process_cmd_line_options): Assertion 'VG_(xml_output_sink).fd == 2' failed.
Segmentation fault (core dumped)


I wonder how do i remove '--xml-socket=127.0.0.1:43851 --log-socket=127.0.0.1:39469 --xml=yes' line from qt?