Skip to content

Instantly share code, notes, and snippets.

@tridge
Created February 4, 2018 11:13
Show Gist options
  • Save tridge/7192205575bfbde549abd188daaa907a to your computer and use it in GitHub Desktop.
Save tridge/7192205575bfbde549abd188daaa907a to your computer and use it in GitHub Desktop.
(gdb) bt
#0 chSysHalt (reason=reason@entry=0x80d0400 <__func__.9909> "i2c_lld_start")
at /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/os/rt/src/chsys.c:192
#1 0x080a72d6 in i2c_lld_start (i2cp=i2cp@entry=0x2000d7a8 <I2CD1>)
at /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/os/hal/ports/STM32/LLD/I2Cv1/hal_i2c_lld.c:765
#2 0x080a488e in i2cStart (i2cp=0x2000d7a8 <I2CD1>, config=config@entry=0x2000a0b4 <ChibiOS::I2CDeviceManager::businfo+60>)
at /home/tridge/project/UAV/APM.chibios/modules/ChibiOS/os/hal/src/hal_i2c.c:101
#3 0x08091c3c in ChibiOS::I2CBus::dma_allocate (this=0x2000a078 <ChibiOS::I2CDeviceManager::businfo>)
at ../../libraries/AP_HAL_ChibiOS/I2CDevice.cpp:106
#4 0x0809490a in ChibiOS::Shared_DMA::lock (this=0x20011c68) at ../../libraries/AP_HAL_ChibiOS/shared_dma.cpp:84
#5 0x08091dd8 in ChibiOS::I2CDevice::transfer (this=0x2001a8b0, send=0x2001f05f "\003\200\240", send_len=1, recv=0x2001f074 "A3\t\bx\240",
recv_len=6) at ../../libraries/AP_HAL_ChibiOS/I2CDevice.cpp:125
#6 0x080610da in AP_HAL::Device::read_registers (this=<optimized out>, first_reg=first_reg@entry=3 '\003',
recv=recv@entry=0x2001f074 "A3\t\bx\240", recv_len=recv_len@entry=6) at ../../libraries/AP_HAL/Device.h:110
#7 0x08062976 in AP_Compass_IST8310::timer (this=0x2001a900) at ../../libraries/AP_Compass/AP_Compass_IST8310.cpp:208
#8 0x080a28ca in Functor<void>::operator() (this=0x2001a97c) at ../../libraries/AP_HAL/utility/functor.h:54
#9 ChibiOS::DeviceBus::bus_thread (arg=0x2000a078 <ChibiOS::I2CDeviceManager::businfo>) at ../../libraries/AP_HAL_ChibiOS/Device.cpp:48
#10 0x080053da in _port_thread_start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment