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