Advertisement
Guest User

GDB

a guest
Jan 9th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. root@valkyrie:~# gdb /opt/apm/bin/ArduCopter-quad
  2. GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
  3. Copyright (C) 2014 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "arm-linux-gnueabihf".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from /opt/apm/bin/ArduCopter-quad...done.
  17. (gdb) run
  18. Starting program: /opt/apm/bin/ArduCopter-quad
  19. [Thread debugging using libthread_db enabled]
  20. Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
  21. Raspberry Pi 2 with BCM2709!
  22.  
  23. Program received signal SIGSEGV, Segmentation fault.
  24. memset () at ../ports/sysdeps/arm/memset.S:35
  25. 35 ../ports/sysdeps/arm/memset.S: No such file or directory.
  26. (gdb) bt
  27. #0 memset () at ../ports/sysdeps/arm/memset.S:35
  28. #1 0x0002ddd8 in Memory_table::Memory_table (this=0xb8098,
  29. page_count=<optimized out>, version=470097920)
  30. at /home/george/Documents/code/emlid/navio/NavioPackageBuilder/ardupilot/libraries/AP_HAL_Linux/RCInput_Navio.cpp:127
  31. #2 0x0002e608 in Linux::LinuxRCInput_Navio::LinuxRCInput_Navio (
  32. this=0xb6800 <rcinDriver>)
  33. at /home/george/Documents/code/emlid/navio/NavioPackageBuilder/ardupilot/libraries/AP_HAL_Linux/RCInput_Navio.cpp:409
  34. #3 0x0000a4c0 in __static_initialization_and_destruction_0 (
  35. __initialize_p=1, __priority=65535)
  36. at /home/george/Documents/code/emlid/navio/NavioPackageBuilder/ardupilot/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp:79
  37. #4 _GLOBAL__sub_I__ZN9HAL_LinuxC2Ev ()
  38. at /home/george/Documents/code/emlid/navio/NavioPackageBuilder/ardupilot/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp:220
  39. #5 0x00093204 in __libc_csu_init ()
  40. #6 0x76d985ee in __libc_start_main (main=0xa0c4 <main(int, char* const*)>,
  41. argc=1, argv=0x7efff7c4, init=0x931b8 <__libc_csu_init>,
  42. fini=0x93218 <__libc_csu_fini>, rtld_fini=0x76fea4c5 <_dl_fini>,
  43. stack_end=0x7efff7c4) at libc-start.c:246
  44. #7 0x0000a7fc in _start ()
  45. (gdb) list
  46. 30 in ../ports/sysdeps/arm/memset.S
  47. (gdb) q
  48. A debugging session is active.
  49.  
  50. Inferior 1 [process 4218] will be killed.
  51.  
  52. Quit anyway? (y or n) y
  53. root@valkyrie:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement