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

QProcess::waitForFinished waits forever on a zombie process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.7.0
    • Core: I/O
    • None

    Description

      QProcess keeps on timing out in ::poll (qt_safe_poll), while waiting on a zombie process.
      I do not have a simple test case for this, but I know that the same code worked with Qt5.6.x.
      Maybe this regression was introduced when switching from "select" to "poll" in qprocess_unix.cpp.

      Attachments

        1. qprocess.tar.gz
          1 kB
        2. out.txt
          5.37 MB

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              paeglis Gatis Paeglis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes