Details
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
- relates to
-
QTBUG-111243 [REG: 5->6] pthread functions seem to refer to the parent process in QProcess child setup
-
- Closed
-
- resulted from
-
QTBUG-104493 Application performance drops if many threads are running while QProcess creates sub-processes on Unix
-
- Closed
-
For Gerrit Dashboard: QTBUG-111964 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
467493,5 | Revert commit "don't ever force fork() instead of forkfd()" | dev | qt/qtbase | Status: MERGED | +2 | 0 |
467508,18 | QProcess/Linux: add a flag to re-enable the vfork()-like semantics | dev | qt/qtbase | Status: MERGED | +2 | 0 |
477743,2 | Revert commit "don't ever force fork() instead of forkfd()" | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |