Results 1 to 1 of 1

Thread: valgring memcheck from QtCreator

  1. #1

    Default valgring memcheck from QtCreator

    Hi, i'm trying to run valgrind from QtCreator and obtain:
    Qt Code:
    1. valgrind --child-silent-after-fork=yes --xml-socket= --log-socket= --xml=yes --smc-check=stack --tool=memcheck --gen-suppressions=all --track-origins=yes --leak-check=summary --num-callers=25 my_program my_args
    2. ==25268== failed to connect to logging server ''.
    3. ==25268== Log messages will sent to stderr instead.
    4. ==25268== failed to connect to XML logging server ''.
    5. ==25268== XML output will sent to stderr instead.
    7. valgrind: m_main.c:1136 (main_process_cmd_line_options): Assertion 'VG_(xml_output_sink).fd == 2' failed.
    8. Segmentation fault (core dumped)
    To copy to clipboard, switch view to plain text mode 

    I wonder how do i remove '--xml-socket= --log-socket= --xml=yes' line from qt?
    Last edited by anda_skoa; 17th May 2019 at 15:11.

Similar Threads

  1. Memcheck showing issues for external errors and Leaks.
    By CaptainDaVinci in forum Newbie
    Replies: 1
    Last Post: 4th April 2017, 21:16


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.