Skip to content

Instantly share code, notes, and snippets.

@npmenard
Created May 3, 2024 17:05
Show Gist options
  • Save npmenard/a7fd2501be07516c7b0692e3c9da311d to your computer and use it in GitHub Desktop.
Save npmenard/a7fd2501be07516c7b0692e3c9da311d to your computer and use it in GitHub Desktop.
Backtrace
#0 _WindowOverflow8 () at /home/nicolas/dev/esp/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1828
#1 0x4009088f in xPortEnterCriticalTimeout (mux=0x3ffae874, timeout=-1) at /home/nicolas/dev/esp/esp-idf/components/freertos/port/xtensa/port.c:291
#2 0x40093100 in vPortEnterCritical (mux=<optimized out>) at /home/nicolas/dev/esp/esp-idf/components/freertos/port/xtensa/include/freertos/portmacro.h:578
#3 multi_heap_internal_lock (heap=0x3ffae6e0) at /home/nicolas/dev/esp/esp-idf/components/heap/multi_heap.c:155
#4 0x4009312b in multi_heap_malloc_impl (heap=0x3ffae6e0, size=4) at /home/nicolas/dev/esp/esp-idf/components/heap/multi_heap.c:199
#5 0x400843f1 in heap_caps_malloc_base (caps=6144, size=4) at /home/nicolas/dev/esp/esp-idf/components/heap/heap_caps.c:154
#6 heap_caps_malloc_base (size=<optimized out>, caps=<optimized out>) at /home/nicolas/dev/esp/esp-idf/components/heap/heap_caps.c:99
#7 0x40084447 in heap_caps_malloc_default (size=4) at /home/nicolas/dev/esp/esp-idf/components/heap/heap_caps.c:209
#8 0x40093644 in _calloc_r (r=<optimized out>, nmemb=<optimized out>, size=4) at /home/nicolas/dev/esp/esp-idf/components/newlib/heap.c:65
#9 0x4009365f in calloc (n=1, size=4) at /home/nicolas/dev/esp/esp-idf/components/newlib/heap.c:29
#10 0x40273fc0 in pthread_setspecific (key=3, value=0x3ffec22c) at /home/nicolas/dev/esp/esp-idf/components/pthread/pthread_local_storage.c:230
#11 0x4024e273 in std::sys::unix::thread_local_key::set (key=3, value=0x3ffec22c) at src/sys/unix/thread_local_key.rs:16
#12 std::sys_common::thread_local_key::StaticKey::set (self=<optimized out>, val=0x3ffec22c) at src/sys_common/thread_local_key.rs:126
#13 0x4024e12f in std::sys::common::thread_local::os_local::Key<std::sys_common::thread_info::ThreadInfo>::try_initialize<std::sys_common::thread_info::ThreadInfo, std::sys_common::thread_info::THREAD_INFO::__getit::{closure_env#0}> (
self=0x3ffb0f40 <_ZN3std10sys_common11thread_info11THREAD_INFO7__getit5__KEY17hec78d40af457ceb1E.llvm.8316797066122729336>, init=...) at src/sys/common/thread_local/os_local.rs:149
#14 0x4024dfe5 in std::sys::common::thread_local::os_local::Key<std::sys_common::thread_info::ThreadInfo>::get<std::sys_common::thread_info::ThreadInfo, std::sys_common::thread_info::THREAD_INFO::__getit::{closure_env#0}> (
self=0x3ffb0f40 <_ZN3std10sys_common11thread_info11THREAD_INFO7__getit5__KEY17hec78d40af457ceb1E.llvm.8316797066122729336>, init=...) at src/sys/common/thread_local/os_local.rs:127
#15 0x402383f2 in std::sys_common::thread_info::THREAD_INFO::__getit (_init=...) at src/sys/common/thread_local/os_local.rs:28
#16 0x4024d304 in std::thread::local::LocalKey<std::sys_common::thread_info::ThreadInfo>::try_with<std::sys_common::thread_info::ThreadInfo, std::sys_common::thread_info::set::{closure_env#0}, ()> (
self=0x3f4c3de0 <anon.7cc630e93a6e4065a358f860c66f4d8a.116.llvm>, f=...) at src/thread/local.rs:269
#17 std::thread::local::LocalKey<std::sys_common::thread_info::ThreadInfo>::with<std::sys_common::thread_info::ThreadInfo, std::sys_common::thread_info::set::{closure_env#0}, ()> (self=0x3f4c3de0 <anon.7cc630e93a6e4065a358f860c66f4d8a.116.llvm>,
f=...) at src/thread/local.rs:246
#18 0x40237bfd in std::sys_common::thread_info::set (stack_guard=..., thread=...) at src/sys_common/thread_info.rs:44
#19 0x401e0647 in std::thread::{impl#0}::spawn_unchecked_::{closure#1}<async_io::driver::unparker::{closure#0}::{closure_env#0}, ()> () at /home/nicolas/.rustup/toolchains/esp/lib/rustlib/src/rust/library/std/src/thread/mod.rs:527
#20 core::ops::function::FnOnce::call_once<std::thread::{impl#0}::spawn_unchecked_::{closure_env#1}<async_io::driver::unparker::{closure#0}::{closure_env#0}, ()>, ()> ()
at /home/nicolas/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/ops/function.rs:250
#21 0x40239c26 in alloc::boxed::{impl#47}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (self=..., args=<optimized out>)
at /home/nicolas/.rustup/toolchains/esp/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2007
#22 0x40239c0b in alloc::boxed::{impl#47}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (self=0x3ffe7f64, args=<optimized out>)
at /home/nicolas/.rustup/toolchains/esp/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2007
#23 0x4023a7a3 in std::sys::unix::thread::{impl#2}::new::thread_start (main=0x3ffe7f64) at src/sys/unix/thread.rs:108
#24 0x40273a93 in pthread_task_func (arg=0x3ffe7f74) at /home/nicolas/dev/esp/esp-idf/components/pthread/pthread.c:195
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment