Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87230

QProcess fails with valgrind/memcheck

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
      - Distribution: Arch Linux
      - GCC 10.2.0
      - Valgrind: 3.16.1
      - Kernel: 5.8.13-arch1-1
    • Platform/s:
      Linux/X11

      Description

      A simple program with QProcess running under valgrind/memcheck will cause the child process not to run, and valgrind will write errors/stacktraces. See appendix. A test with Qt 5.12.9 ran without problems.

      Is this a Qt or valgrind problem?

        Attachments

        1. main.cpp
          0.3 kB
        2. valgrind.log
          3 kB

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              matthias_klein Matthias Klein
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes