Skip to content

Instantly share code, notes, and snippets.

@aep
Created December 20, 2019 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aep/edf31614c2d36d0115b283ecdf006273 to your computer and use it in GitHub Desktop.
Save aep/edf31614c2d36d0115b283ecdf006273 to your computer and use it in GitHub Desktop.
(gdb) bt
#0 0x0000a702 in arch_irq_lock () at /home/aep/proj/artanis/os/zephyrproject/zephyr/include/arch/arm/asm_inline_gcc.h:52
#1 arch_system_halt (reason=reason@entry=0) at /home/aep/proj/artanis/os/zephyrproject/zephyr/kernel/fatal.c:28
#2 0x00006456 in k_sys_fatal_error_handler (reason=reason@entry=0, esf=esf@entry=0x2001c570 <_interrupt_stack+5832>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/kernel/fatal.c:43
#3 0x0000652a in z_fatal_error (reason=reason@entry=0, esf=esf@entry=0x2001c570 <_interrupt_stack+5832>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/kernel/fatal.c:118
#4 0x00004222 in z_arm_fatal_error (reason=reason@entry=0, esf=esf@entry=0x2001c570 <_interrupt_stack+5832>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/arch/arm/core/fatal.c:47
#5 0x000048c6 in z_arm_fault (msp=<optimized out>, psp=<optimized out>, exc_return=<optimized out>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/arch/arm/core/cortex_m/fault.c:968
#6 0x00004154 in z_arm_usage_fault () at /home/aep/proj/artanis/os/zephyrproject/zephyr/arch/arm/core/fault_s.S:108
#7 <signal handler called>
#8 0x0000aecc in sys_dlist_remove (node=0x0 <z_finalize_fd>) at /home/aep/proj/artanis/os/zephyrproject/zephyr/include/sys/dlist.h:497
#9 sys_dlist_get (list=list@entry=0x20000bc4 <k_sys_work_q+8>) at /home/aep/proj/artanis/os/zephyrproject/zephyr/include/sys/dlist.h:518
#10 z_handle_obj_poll_events (events=events@entry=0x20000bc4 <k_sys_work_q+8>, state=state@entry=4)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/kernel/poll.c:405
#11 0x0000a7e6 in handle_poll_events (state=4, queue=0x20000bbc <k_sys_work_q>) at /home/aep/proj/artanis/os/zephyrproject/zephyr/kernel/queue.c:113
#12 queue_insert (queue=0x20000bbc <k_sys_work_q>, prev=0x0 <z_finalize_fd>, data=<optimized out>, data@entry=0x2001d41c <temp_measure_work>,
alloc=alloc@entry=false) at /home/aep/proj/artanis/os/zephyrproject/zephyr/kernel/queue.c:178
#13 0x0000a840 in k_queue_append (queue=<optimized out>, data=data@entry=0x2001d41c <temp_measure_work>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/kernel/queue.c:192
#14 0x00003998 in k_work_submit_to_queue (work_q=<optimized out>, work=0x2001d41c <temp_measure_work>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/include/kernel.h:2841
#15 k_work_submit (work=0x2001d41c <temp_measure_work>) at /home/aep/proj/artanis/os/zephyrproject/zephyr/include/kernel.h:3044
#16 cal_hf_on_callback (dev=<optimized out>, user_data=<optimized out>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/drivers/clock_control/nrf_clock_calibration.c:248
#17 0x00009e9e in clkstarted_handle (dev=dev@entry=0x2001d4a8 <__device_clock_nrf5_m16src>)
at /home/aep/proj/artanis/os/zephyrproject/zephyr/drivers/clock_control/nrf_power_clock.c:287
#18 0x00003812 in nrf_power_clock_isr (arg=<optimized out>) at /home/aep/proj/artanis/os/zephyrproject/zephyr/drivers/clock_control/nrf_power_clock.c:341
#19 0x0000429e in _isr_wrapper () at /home/aep/proj/artanis/os/zephyrproject/zephyr/arch/arm/core/isr_wrapper.S:152
#20 <signal handler called>
#21 0xaaaaaaaa in ?? ()
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