Details
Description
This simple program:
#include <QCoreApplication> #include <QProcess> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); auto p = new QProcess(qApp); p->start(QStringLiteral("/usr/bin/dd"), {"--help"}); return a.exec(); }
under the GDB debugger, causes SIGTRAP and then SISSEGV signals on line 'p->start(...)'.
- This happens with any executables, running from the QProcess.
- This happens as from QtCreator, and as from the GDB command line.
Attachments
Issue Links
- is replaced by
-
QTBUG-86319 Use of CLONE_PIDFD for forkfd interacts badly with debugging
- Closed