We have a Qt based application and it compiles and runs successfully on target board. However, when we try to debug the application, SEGV signal got from the application and application stops running. Below please find the output:
0x76fcfac0 in ?? () from /toolchain/sysroots/cortexa7hf-vfp-neon-dey-linux-gnueabi/lib/ld-linux-armhf.so.3
The target endianness is set automatically (currently little endian)
Program received signal SIGSEGV, Segmentation fault.
0x76fdfa98 in ?? () from /toolchain/sysroots/cortexa7hf-vfp-neon-dey-linux-gnueabi/lib/ld-linux-armhf.so.3
To debug the application, we start the gdbserver in target platform and we simply start the gdb (compiled within the cross tool chain).
However the same application runs without any problems when we simply run the application from the console.
Please find below the used Ecplise debugger settings for debugging the application:
GDB Debugger: /toolchain/sysroots/x86_64-deysdk-linux/usr/bin/arm-dey-linux-gnueabi/arm-dey-linux-gnueabi-gdb
GDB Command Line: (Below is the file content)
set sysroot /toolchain/sysroots/cortexa7hf-vfp-neon-dey-linux-gnueabi
set auto-load safe-path /
Using GDB (DSF) Manual Remote Debugger Launcher
Why there is such problem?