Unsolved gdb hangs
-
I've seen this and the solution does not work for me. When I try to debug from within Creator I just get
{symbol loading messages}
{breakpoint messages}
NON-CRITICAL TIMEOUT
COMMANDS STILL IN PROGRESSin the debugger log, and then an indefinite hang.
(it might help if the above message included the commands being waited on).
This is with Qt Creator 4.15.1 on RHEL 7.6 with gdb 8.3.1
If I run pstack on the running gdb process, it is waiting in poll(). If both Creator and gdb are waiting for something then that seems like a deadlock.
-
dead lock or infinite loop. Try valgrind or strace and you may find some clue.
-
This is at gdb startup. The deadlock is between Creator and gdb. My app doesn't even get to main().
I'm not going to try to run Creator under Valgrind. I could try strace, but I was hoping that there might be a better way.
-
-
This is gdb on Linux, so the Visual Studio debugger on Windows is not relevant.
I checked the other link and https://doc.qt.io/qtcreator/creator-debugger-engines.html. gdb does have python and is more than the minimum version required. I can't see anything else there of use.