I found the issue in my case.
The problem was that elsewhere in the project, bufferless access to stdout/stdin (typical of using the linenoise console on a UART I believe) was set:
setvbuf(stdin, NULL, _IONBF, 0);
setvbuf(stdout, NULL, _IONBF, 0);
This makes fprintf use heap allocations. As I ...
Search found 3 matches
- Tue Aug 12, 2025 4:22 pm
- Forum: ESP-IDF
- Topic: Heap Task Tracking Issues
- Replies: 2
- Views: 145
- Mon Aug 11, 2025 3:24 pm
- Forum: ESP-IDF
- Topic: Heap Task Tracking Issues
- Replies: 2
- Views: 145
Heap Task Tracking Issues
I'm trying to use Heap Task Tracking to debug some issues with memory leaks.
Calling heap_caps_print_all_task_stat_overview or heap_caps_print_all_task_stat causes a deadlock in my project because fprintf/vfprintf which is used by those functions ultimately causes heap_caps_malloc to be called ...
Calling heap_caps_print_all_task_stat_overview or heap_caps_print_all_task_stat causes a deadlock in my project because fprintf/vfprintf which is used by those functions ultimately causes heap_caps_malloc to be called ...
- Wed Dec 20, 2017 2:52 pm
- Forum: ESP-IDF
- Topic: Homekit authentication co-processor
- Replies: 7
- Views: 13624
Re: Homekit authentication co-processor
Hello! I'm also interested in the HomeKit SDK. How could I get in touch with someone from Espressif?