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

QProcess::start does not return if setChildModifier hangs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.2, 6.6.0
    • 6.4.0 FF
    • Core: I/O
    • None
    • Linux/X11
    • 29b2fe40d (dev), 65528387d (6.5), c5221f6be (dev)

    Description

      Previously in Qt 6.2.x it was possible to call "kill(getpid(), SIGSTOP);" inside the setChildProcessModifier callback. 

      This is necessary to start an app suspended, e.g. to later attach a debugger to it.

      With 6.4.x ( my guess would be with https://codereview.qt-project.org/c/qt/qtbase/+/417829 ) this hangs in QProcess::start.

      FYI: On macOS it still works, its just linux having an issue.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              madwinter Marcus Tillmanns
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes