Open e1z0 opened 3 years ago
WARNING Decoded 0x40225a37: AsyncClient::canSend()
[21:09:50]Exception (28):
WARNING Exception type: Access to invalid address: LOAD (wild pointer?)
WARNING Decoded 0x40225a37: AsyncClient::canSend()
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x4023312d: operator delete(void*) at /workdir/repo/gcc/libstdc++-v3/libsupc++/del_op.cc:48
WARNING Decoded 0x40214911: AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage*)
WARNING Decoded 0x40214976: AsyncEventSourceClient::write(char const*, unsigned int)
WARNING Decoded 0x402149c4: AsyncEventSource::send(char const*, char const*, unsigned int, unsigned int)
WARNING Decoded 0x402212c0: Print::println()
WARNING Decoded 0x40207e5d: std::_Function_handler<void (int, char const*, char const*), esphome::web_server::WebServer::setup()::{lambda(int, char const*, char const*)#2}>::_M_invoke(std::_Any_data const&, int, char const*, char const*) at web_server.cpp
WARNING Decoded 0x4020218d: esphome::logger::Logger::log_message_(int, char const*, int)
WARNING Decoded 0x40202062: esphome::logger::Logger::vprintf_to_buffer_(char const*, __va_list_tag)
WARNING Decoded 0x40202300: esphome::logger::Logger::log_vprintf_(int, char const*, int, __FlashStringHelper const*, __va_list_tag)
WARNING Decoded 0x40264f9c: chip_v6_unset_chanfreq
WARNING Decoded 0x4020e8c8: esphome::esp_log_vprintf_(int, char const*, int, __FlashStringHelper const*, __va_list_tag)
WARNING Decoded 0x402258f1: AsyncClient::send()
WARNING Decoded 0x4020e8f4: esphome::esp_log_printf_(int, char const*, int, __FlashStringHelper const*, ...)
WARNING Decoded 0x4023319c: operator new(unsigned int) at /workdir/repo/gcc/libstdc++-v3/libsupc++/new_op.cc:52
WARNING Decoded 0x40223668: esp_yield
WARNING Decoded 0x40223ed2: __delay
WARNING Decoded 0x40203355: esphome::mqtt::MQTTClientComponent::publish(std::string const&, char const*, unsigned int, unsigned char, bool)
WARNING Decoded 0x40233b6e: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) at /workdir/arena.x86_64/gcc/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:218 (discriminator 2)
WARNING Decoded 0x40233386: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() at /workdir/arena.x86_64/gcc/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.h:541
WARNING Decoded 0x40203432: esphome::mqtt::MQTTClientComponent::publish(std::string const&, std::string const&, unsigned char, bool)
WARNING Decoded 0x40207f28: std::_Function_base::_Base_manager<esphome::web_server::WebServer::sensor_json(esphome::sensor::Sensor*, float)::{lambda(ArduinoJson::JsonObject&)#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<esphome::web_server::WebServer::sensor_json(esphome::sensor::Sensor*, float)::{lambda(ArduinoJson::JsonObject&)#1}> const&, std::_Manager_operation) at web_server.cpp
WARNING Decoded 0x4020380a: esphome::mqtt::MQTTComponent::publish(std::string const&, std::string const&)
WARNING Decoded 0x4020432c: esphome::mqtt::MQTTSensorComponent::publish_state(float)
WARNING Decoded 0x402339a4: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) at /workdir/arena.x86_64/gcc/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc:176
WARNING Decoded 0x40204354: std::_Function_handler<void (float), esphome::mqtt::MQTTSensorComponent::setup()::{lambda(float)#1}>::_M_invoke(std::_Any_data const&, float) at mqtt_sensor.cpp
WARNING Decoded 0x401000fd: std::function<void (float)>::operator()(float) const
WARNING Decoded 0x40206388: esphome::sensor::Sensor::internal_send_state_to_frontend(float)
WARNING Decoded 0x4020e8f4: esphome::esp_log_printf_(int, char const*, int, __FlashStringHelper const*, ...)
WARNING Decoded 0x40205fd5: esphome::sensor::Filter::output(float)
WARNING Decoded 0x4020600d: esphome::sensor::Filter::input(float)
WARNING Decoded 0x40206402: esphome::sensor::Sensor::publish_state(float)
WARNING Decoded 0x4020718f: esphome::total_daily_energy::TotalDailyEnergy::publish_state_and_save(float)
WARNING Decoded 0x40207401: esphome::total_daily_energy::TotalDailyEnergy::process_new_state_(float)
WARNING Decoded 0x4020741c: std::_Function_handler<void (float), esphome::total_daily_energy::TotalDailyEnergy::setup()::{lambda(float)#1}>::_M_invoke(std::_Any_data const&, float) at total_daily_energy.cpp
WARNING Decoded 0x401000fd: std::function<void (float)>::operator()(float) const
WARNING Decoded 0x40100a7c: millis
WARNING Decoded 0x40206388: esphome::sensor::Sensor::internal_send_state_to_frontend(float)
WARNING Decoded 0x402063f8: esphome::sensor::Sensor::publish_state(float)
WARNING Decoded 0x40206980: esphome::template_::TemplateSensor::update()
WARNING Decoded 0x40100aaa: millis
WARNING Decoded 0x40206a1c: non-virtual thunk to esphome::template_::TemplateSensor::update()
WARNING Decoded 0x40226b88: std::_Function_handler<void (), esphome::PollingComponent::call_setup()::{lambda()#1}>::_M_invoke(std::_Any_data const&) at component.cpp
WARNING Decoded 0x401006e9: esphome::Scheduler::call()
WARNING Decoded 0x40105ef5: ets_timer_arm_new
WARNING Decoded 0x40223668: esp_yield
WARNING Decoded 0x40223edd: __delay
WARNING Decoded 0x4020ca25: esphome::Application::loop()
WARNING Decoded 0x4020ff0c: loop
WARNING Decoded 0x40223780: loop_wrapper() at core_esp8266_main.cpp
WARNING Decoded 0x40100921: cont_wrapper
Hi, i've using the same setup with pzem 016 and the same d1 mini, but constant crashes appear on the esp microcontroller with some random debug info:
Maybe you had the similar issues? What version of arduino_version do you use? Do you have good wifi strength? What python version do you use with esphome? I'm trying to debug and find out what actually happens on that crash...