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

QProcess::start does not return if setChildModifier hangs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important 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)

      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.

        For Gerrit Dashboard: QTBUG-111964
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes