Qt remote debugging crashes
-
I am trying to remote debug a hello world program using Qt creator in Ubuntu 22.04.01 LTS version. The program crashes with below error messages.
The same program runs fine in release mode. But crashes in debug and profile mode.
I tried with Qt Creator 6.0 , 7.0 and 8.0 version the result is the same.I am able to remote gdb debug from command line successfully. But it is crashing when tried from Qt Creator.
I tried changing debugger from options menu with following , but still it crashes
- /opt/fslc-framebuffer/3.1/sysroots/x86_64-fslcsdk-linux/usr/bin/arm-fslc-linux-gnueabi/arm-fslc-linux-gnueabi-gdb
- /bin/gdb-multiarch
Please provide support on How to debug this issue further ?
Regards,
James A -
So far this looks like a normal crash in your application.
Given that you don't have anything legible in the stack trace and you say this is a debug build (i.e. with debug information) you are already beyond the code that is actually broken. I'd try to find out a still-good place before this triggers, and step in the debugger from there, or if that gets too complex, use valgrind (with the default memcheck tool)