Results 1 to 1 of 1

Thread: valgring memcheck from QtCreator

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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=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
    2. ==25268== failed to connect to logging server '127.0.0.1:39469'.
    3. ==25268== Log messages will sent to stderr instead.
    4. ==25268== failed to connect to XML logging server '127.0.0.1:43851'.
    5. ==25268== XML output will sent to stderr instead.
    6.  
    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=127.0.0.1:43851 --log-socket=127.0.0.1:39469 --xml=yes' line from qt?
    Last edited by anda_skoa; 17th May 2019 at 16:11.

Similar Threads

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

Bookmarks

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.