Загрузка данных


Breakpoint 1, z_cstart () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:777
777             z_sys_init_run_level(INIT_LEVEL_EARLY);
(gdb) n
780             arch_kernel_init();
(gdb) n
817             switch_to_main_thread(prepare_multithreading());
(gdb) n
780             arch_kernel_init();
(gdb) n
817             switch_to_main_thread(prepare_multithreading());
(gdb) n
780             arch_kernel_init();
(gdb) n
782             LOG_CORE_INIT();
(gdb) n
785             z_dummy_thread_init(&_thread_dummy);
(gdb) n
788             z_device_state_init();
(gdb) n
791             soc_early_init_hook();
(gdb) n
797             z_sys_init_run_level(INIT_LEVEL_PRE_KERNEL_1);
(gdb) n
801             z_sys_init_run_level(INIT_LEVEL_PRE_KERNEL_2);
(gdb) n
817             switch_to_main_thread(prepare_multithreading());
(gdb) s
prepare_multithreading () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:680
680             z_sched_init();
(gdb) s
z_sched_init () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/sched.c:965
965             init_ready_q(&_kernel.ready_q);
(gdb) s
init_ready_q (ready_q=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/sched.c:955
955             _priq_run_init(&ready_q->runq);
(gdb) s
z_priq_simple_init (pq=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/priority_q.h:62
62              sys_dlist_init(pq);
(gdb) s
sys_dlist_init (list=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/include/zephyr/sys/dlist.h:204
204             list->head = (sys_dnode_t *)list;
(gdb) s
prepare_multithreading () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:692
692             _kernel.ready_q.cache = &z_main_thread;
(gdb) break main
Breakpoint 2 at 0x6000a788: file /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/samples/pjsip/pjproject/pjsip-apps/src/samples/zephyr_pjsua.c, line 857.
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
arch_system_halt (reason=reason@entry=4) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/fatal.c:30
30              for (;;) {
(gdb) monitor reset halt
Resetting target with halt
Successfully halted device on reset
(gdb) s

Breakpoint 1, z_cstart () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:777
777             z_sys_init_run_level(INIT_LEVEL_EARLY);
(gdb) n
780             arch_kernel_init();
(gdb) n
817             switch_to_main_thread(prepare_multithreading());
(gdb) n
780             arch_kernel_init();
(gdb) n
817             switch_to_main_thread(prepare_multithreading());
(gdb) n
780             arch_kernel_init();
(gdb) n
782             LOG_CORE_INIT();
(gdb) n
785             z_dummy_thread_init(&_thread_dummy);
(gdb) n
788             z_device_state_init();
(gdb) n
791             soc_early_init_hook();
(gdb) n
797             z_sys_init_run_level(INIT_LEVEL_PRE_KERNEL_1);
(gdb) n
801             z_sys_init_run_level(INIT_LEVEL_PRE_KERNEL_2);
(gdb) n
817             switch_to_main_thread(prepare_multithreading());
(gdb) s
prepare_multithreading () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:680
680             z_sched_init();
(gdb) s
z_sched_init () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/sched.c:965
965             init_ready_q(&_kernel.ready_q);
(gdb) s
init_ready_q (ready_q=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/sched.c:955
955             _priq_run_init(&ready_q->runq);
(gdb) s
z_priq_simple_init (pq=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/priority_q.h:62
62              sys_dlist_init(pq);
(gdb) s
sys_dlist_init (list=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/include/zephyr/sys/dlist.h:204
204             list->head = (sys_dnode_t *)list;
(gdb) s
prepare_multithreading () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/init.c:692
692             _kernel.ready_q.cache = &z_main_thread;
(gdb) s
694             stack_ptr = z_setup_new_thread(&z_main_thread, z_main_stack,
(gdb) s
z_setup_new_thread (new_thread=new_thread@entry=0x80006950 <z_main_thread>, stack=stack@entry=0x8001e968 <z_main_stack>, stack_size=stack_size@entry=2048, entry=entry@entry=0x6002fad5 <bg_thread_main>, p1=0xe000e100, p1@entry=0x0, p2=0x10, p2@entry=0x0, p3=0xe000e18d, p3@entry=0x0, prio=142, prio@entry=0, options=1610620928, options@entry=1, name=0xc76519b4 <error: Cannot access memory at address 0xc76519b4>, name@entry=0x600f080f "main") at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:517
517             Z_ASSERT_VALID_PRIO(prio, entry);
(gdb) s
544             z_waitq_init(&new_thread->join_queue);
(gdb) s
z_waitq_init (w=0x800069b8 <z_main_thread+104>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/wait_q.h:49
49              sys_dlist_init(&w->waitq);
(gdb) s
z_setup_new_thread (new_thread=0x80006950 <z_main_thread>, stack=0x8001e968 <z_main_stack>, stack_size=2048, entry=0x6002fad5 <bg_thread_main>, p1=0xe000e100, p2=0x10, p3=0xe000e18d, prio=142, options=1610620928, name=0xc76519b4 <error: Cannot access memory at address 0xc76519b4>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:548
548             stack_ptr = setup_thread_stack(new_thread, stack, stack_size);
(gdb) s
setup_thread_stack (stack_size=<optimized out>, stack=<optimized out>, new_thread=<optimized out>)
    at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/include/zephyr/sys/dlist.h:204
204             list->head = (sys_dnode_t *)list;
(gdb) s
0x60031c18 in z_init_thread_base (options=<optimized out>, initial_state=<optimized out>, priority=<optimized out>, thread_base=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:751
751             thread_base->prio = priority;
(gdb) s
0x60031c1e in setup_thread_stack (stack_size=<optimized out>, stack=<optimized out>, new_thread=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:462
462             memset(stack_buf_start, 0xaa, stack_buf_size);
(gdb) s
548             stack_ptr = setup_thread_stack(new_thread, stack, stack_size);
(gdb) s
0x60031c22 in setup_thread_stack (stack_size=<optimized out>, stack=<optimized out>, new_thread=<optimized out>)
    at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:452
452             stack_ptr = (char *)stack + stack_obj_size;
(gdb) s
544             z_waitq_init(&new_thread->join_queue);
(gdb) s
z_waitq_init (w=0x800069b8 <z_main_thread+104>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/wait_q.h:49
49              sys_dlist_init(&w->waitq);
(gdb) s
0x60031c2a in sys_dlist_init (list=0x800069b8 <z_main_thread+104>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/include/zephyr/sys/dlist.h:205
205             list->tail = (sys_dnode_t *)list;
(gdb) s
z_setup_new_thread (new_thread=0x80006950 <z_main_thread>, stack=0x8001e968 <z_main_stack>, stack_size=<optimized out>, entry=0x6002fad5 <bg_thread_main>, p1=0xe000e100, p2=0x10, p3=0xe000e18d, prio=142, options=1610620928, name=0xc76519b4 <error: Cannot access memory at address 0xc76519b4>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:547
547             z_init_thread_base(&new_thread->base, prio, _THREAD_SLEEPING, options);
(gdb) s
z_init_thread_base (options=1610620928, initial_state=4, priority=<optimized out>, thread_base=0x80006950 <z_main_thread>)
    at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:748
748             thread_base->user_options = (uint8_t)options;
(gdb) s
749             thread_base->thread_state = (uint8_t)initial_state;
(gdb) s
766             z_init_thread_timeout(thread_base);
(gdb) s
z_init_thread_timeout (thread_base=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/timeout_q.h:54
54              z_init_timeout(&thread_base->timeout);
(gdb) s
z_init_timeout (to=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/timeout_q.h:30
30              sys_dnode_init(&to->node);
(gdb) s
0x60031c34 in sys_dnode_init (node=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/include/zephyr/sys/dlist.h:222
222             node->prev = NULL;
(gdb) s
z_setup_new_thread (new_thread=0x80006950 <z_main_thread>, stack=0x8001e968 <z_main_stack>, stack_size=<optimized out>, entry=0x6002fad5 <bg_thread_main>, p1=0xe000e100, p2=0x10, p3=0xe000e18d, prio=142, options=1610620928, name=0xc76519b4 <error: Cannot access memory at address 0xc76519b4>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:548
548             stack_ptr = setup_thread_stack(new_thread, stack, stack_size);
(gdb) s
setup_thread_stack (stack_size=<optimized out>, stack=0x8001e968 <z_main_stack>, new_thread=0x80006950 <z_main_thread>)
    at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:462
462             memset(stack_buf_start, 0xaa, stack_buf_size);
(gdb) s
473             delta += arch_tls_stack_setup(new_thread, stack_ptr);
(gdb) s
arch_tls_stack_setup (new_thread=new_thread@entry=0x80006950 <z_main_thread>, stack_ptr=stack_ptr@entry=0x8001f168 <sys_work_q_stack> '\252' <repeats 200 times>...) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/kernel_tls.h:31
31              return (size_t)(uintptr_t)__tdata_size +
(gdb) s
40              stack_ptr -= z_tls_data_size();
(gdb) s
0x60010fe4 in z_tls_data_size () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/kernel_tls.h:31
31              return (size_t)(uintptr_t)__tdata_size +
(gdb) s
40              stack_ptr -= z_tls_data_size();
(gdb) s
0x60010fe8 in z_tls_data_size () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/kernel_tls.h:32
32                     (size_t)(uintptr_t)__tbss_size;
(gdb) s
40              stack_ptr -= z_tls_data_size();
(gdb) s
0x60010fee in z_tls_data_size () at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/kernel_tls.h:31
31              return (size_t)(uintptr_t)__tdata_size +
(gdb) s
41              z_tls_copy(stack_ptr);
(gdb) s
z_tls_copy (dest=0x8001f158 <z_main_stack+2032> '\252' <repeats 200 times>...)
    at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/kernel_tls.h:46
46              memcpy(dest, __tdata_start, (size_t)(uintptr_t)__tdata_size);
(gdb) s
50              memset(dest, 0, (size_t)(uintptr_t)__tbss_size);
(gdb) s
41              z_tls_copy(stack_ptr);
(gdb) s
0x60011000 in z_tls_copy (dest=0x8001f160 <z_main_stack+2040> '\252' <repeats 200 times>...)
    at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/include/kernel_tls.h:50
50              memset(dest, 0, (size_t)(uintptr_t)__tbss_size);
(gdb) s
arch_tls_stack_setup (new_thread=0x80006950 <z_main_thread>, stack_ptr=<optimized out>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/arch/arm/core/tls.c:52
52              new_thread->tls = POINTER_TO_UINT(stack_ptr);
(gdb) s
54              return (z_tls_data_size() + (sizeof(uintptr_t) * 2));
(gdb) s
setup_thread_stack (stack_size=<optimized out>, stack=0x8001e968 <z_main_stack>, new_thread=0x80006950 <z_main_thread>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:486
486             delta = ROUND_UP(delta, ARCH_STACK_PTR_ALIGN);
(gdb) s
548             stack_ptr = setup_thread_stack(new_thread, stack, stack_size);
(gdb) s
0x60031c4e in setup_thread_stack (stack_size=<optimized out>, stack=0x8001e968 <z_main_stack>, new_thread=0x80006950 <z_main_thread>)
    at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:486
486             delta = ROUND_UP(delta, ARCH_STACK_PTR_ALIGN);
(gdb) s
495             new_thread->stack_info.start = (uintptr_t)stack_buf_start;
(gdb) s
497             new_thread->stack_info.delta = delta;
(gdb) s
499             stack_ptr -= delta;
(gdb) n
z_setup_new_thread (new_thread=0x80006950 <z_main_thread>, stack=0x8001e968 <z_main_stack>, stack_size=<optimized out>, entry=0x6002fad5 <bg_thread_main>, p1=0xe000e100, p2=0x10, p3=0xe000e18d, prio=142, options=1610620928, name=0xc76519b4 <error: Cannot access memory at address 0xc76519b4>) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/thread.c:565
565             arch_new_thread(new_thread, stack, stack_ptr, entry, p1, p2, p3);
(gdb) n
568             new_thread->init_data = NULL;
(gdb) n
583             new_thread->no_wake_on_timeout = false;