I got segmentation fault when debugging PX4 with black magic probe. With the older version of the firmware, I can successfully debug the board, but with 1.4.1, I got error. Has anyone encountered this situation?
Hi, Can you please provide more info. What error are you seeing? How can I reproduce this?
@metusa The segfault is in GDB, right? If yes, you need to refer to the GDB mailing list.
Yes, it is in GDB. I have achieved debugging with version 1.4.0 successfully. But with 1.4.1 I get this error:
Program received signal SIGSEGV, Segmentation fault.
0x080a0182 in sig_unmaskpendingsignal () at sig_unmaskpendingsignal.c:142
In that case I can only recommend to try a different GDB version. There is nothing we can do about that.
When I exclude some modules from building to reduce code size, it now works correctly.