mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
1ccfd0b3cd19c44f17d8b99ae2e96866ddccebbe
Move TaskLogBuffer allocation from init_log_buffer() (called at DIAGNOSTICS priority) into the Logger constructor (called at EARLY_INIT priority). This ensures the buffer exists before global_logger is set, eliminating a window where another FreeRTOS task could dereference a null log_buffer_ pointer. Fixes crash: Guru Meditation Error: Core 0 panic'ed (Load access fault) in TaskLogBuffer::send_message_thread_safe when a task logs before init_log_buffer() is called.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
