Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Running Valgrind under Qt Creater
QtWS25 Last Chance

Running Valgrind under Qt Creater

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
valgrindqt5memory leakmemory analyzer
5 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    enthusiasticDeveloper
    wrote on last edited by enthusiasticDeveloper
    #1

    Hi,

    When I'm trying to run Valgrind Memory Analyzer I get this error:
    Analyzing memory of /executable
    valgrind: /executable: No such file or directory
    Analyzing finished.
    ** Unknown error**

    In the Options Valgrind executable is set to the correct path.

    I'm trying to run it on an external system using Qt5.

    How could I fix it so it would run my executable?

    aha_1980A 1 Reply Last reply
    0
    • E enthusiasticDeveloper

      Hi,

      When I'm trying to run Valgrind Memory Analyzer I get this error:
      Analyzing memory of /executable
      valgrind: /executable: No such file or directory
      Analyzing finished.
      ** Unknown error**

      In the Options Valgrind executable is set to the correct path.

      I'm trying to run it on an external system using Qt5.

      How could I fix it so it would run my executable?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @enthusiasticDeveloper,

      • Which operating system is that?
      • Which Qt Creator version?
      • Which valgrind version?

      Regards

      Qt has to stay free or it will die.

      E 1 Reply Last reply
      0
      • aha_1980A aha_1980

        Hi @enthusiasticDeveloper,

        • Which operating system is that?
        • Which Qt Creator version?
        • Which valgrind version?

        Regards

        E Offline
        E Offline
        enthusiasticDeveloper
        wrote on last edited by
        #3

        @aha_1980

        Qt Creator: 3.5.1 running on Ubuntu
        The executable is deployed onto an embedded system running on Linux.
        I have valgrind 3.11.0 installed on the embedded system and Valgrind 3.15.0 installed on Ubuntu.

        I can run valgrind from terminal when I SSH into the embedded system.

        I just can't run it under Qt creator.

        aha_1980A 1 Reply Last reply
        0
        • E enthusiasticDeveloper

          @aha_1980

          Qt Creator: 3.5.1 running on Ubuntu
          The executable is deployed onto an embedded system running on Linux.
          I have valgrind 3.11.0 installed on the embedded system and Valgrind 3.15.0 installed on Ubuntu.

          I can run valgrind from terminal when I SSH into the embedded system.

          I just can't run it under Qt creator.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @enthusiasticDeveloper

          Qt Creator: 3.5.1 running on Ubuntu

          Then that would be the first thing to upgrade.

          I can run valgrind from terminal when I SSH into the embedded system.

          I'm not even sure that is possible, but chances are higher with a more recent version of Creator.

          Regards

          Qt has to stay free or it will die.

          E 1 Reply Last reply
          0
          • aha_1980A aha_1980

            @enthusiasticDeveloper

            Qt Creator: 3.5.1 running on Ubuntu

            Then that would be the first thing to upgrade.

            I can run valgrind from terminal when I SSH into the embedded system.

            I'm not even sure that is possible, but chances are higher with a more recent version of Creator.

            Regards

            E Offline
            E Offline
            enthusiasticDeveloper
            wrote on last edited by
            #5

            @aha_1980

            That's what I thought. If I manually start valgrid it runs fine, it produces a report as well.
            I just wanted to make it work with Qt because it looks more convenient.

            I'll try updating Qt creator later on.

            Thanks

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved