FS#68001 - GDB causes SIGTRAP && SIGSEGV for QProcess::start()
Attached to Project:
Arch Linux
Opened by Denis Shienkov (kuzulis) - Saturday, 26 September 2020, 07:33 GMT
Last edited by freswa (frederik) - Saturday, 26 September 2020, 16:12 GMT
Opened by Denis Shienkov (kuzulis) - Saturday, 26 September 2020, 07:33 GMT
Last edited by freswa (frederik) - Saturday, 26 September 2020, 16:12 GMT
|
Details
Description: GDB causes SIGTRAP && SIGSEGV at
attempt to debug the Qt5 code
This happens at QProcess::start() call for this simple code: #include <QCoreApplication> #include <QProcess> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); auto p = new QProcess(qApp); p->start(QStringLiteral("/usr/bin/dd"), {"--help"}); qDebug() << "Hello"; return a.exec(); } But this does work successfully using the LLDB debugger. Seems, an issue is in ArchLinux GDB package. Additional info: * GDB v10.2-1 * Details bug on Qt bugtracker: https://bugreports.qt.io/browse/QTBUG-86983 Steps to reproduce: 1) Install: * GCC v10.2.0 * CLANG v10.0.1 * GDB v9.2 * Qt v5.15.1 * QtCreator v4.13.1 2) Run QtCreator and compile the source code above. 3) Try to start debugging using the GDB. |
This task depends upon
Closed by freswa (frederik)
Saturday, 26 September 2020, 16:12 GMT
Reason for closing: Not a bug
Additional comments about closing: Doesn't seem to be a gdb packaging bug.
Saturday, 26 September 2020, 16:12 GMT
Reason for closing: Not a bug
Additional comments about closing: Doesn't seem to be a gdb packaging bug.