ESP8266 Failing to update

ben209
Posts: 2
Joined: Sat Sep 30, 2023 5:43 pm

ESP8266 Failing to update

Postby ben209 » Sat Sep 30, 2023 5:49 pm

I have been trying to updte my 8266 chips by using the Home Assistant Interface.
I get the same issue even after restarting the ESP interface and Home Assistant and it asks me to report a bug!

INFO ESPHome 2023.9.1
INFO Reading configuration /config/esphome/top-lights.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing top-lights (board: d1_mini; framework: arduino; platform: platformio/espressif8266@3.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|-- NeoPixelBus @ 2.7.3
Compiling .pioenvs/top-lights/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling .pioenvs/top-lights/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling .pioenvs/top-lights/src/esphome/components/socket/socket.cpp.o
Compiling .pioenvs/top-lights/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling .pioenvs/top-lights/src/esphome/components/wifi/wifi_component.cpp.o
In file included from /data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/memory:84,
from src/esphome/components/web_server_base/web_server_base.h:3,
from src/esphome/components/web_server_base/web_server_base.cpp:1:
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/shared_ptr.h: In instantiation of 'class std::shared_ptr<fs::FileImpl>':
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/FS.h:122:17: required from here
/data/cache/platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/10.3.0/bits/shared_ptr.h:295:2: internal compiler error: Segmentation fault
295 | shared_ptr(const shared_ptr<_Yp>& __r) noexcept
| ^~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
*** [.pioenvs/top-lights/src/esphome/components/web_server_base/web_server_base.cpp.o] Error 1
during IPA pass: cp
src/esphome/components/wifi/wifi_component.cpp: In function '_RandomAccessIterator std::_V2::__rotate(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<esphome::wifi::WiFiScanResult*, std::vector<esphome::wifi::WiFiScanResult> >]':
src/esphome/components/wifi/wifi_component.cpp:760:1: internal compiler error: Segmentation fault
760 | } // namespace esphome
| ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
*** [.pioenvs/top-lights/src/esphome/components/wifi/wifi_component.cpp.o] Error 1
========================== [FAILED] Took 2.83 seconds ==========================

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP8266 Failing to update

Postby ESP_Sprite » Mon Oct 02, 2023 1:17 am

Hm, a segfault in the compiler is quite uncommon. It could be an issue with the memory or CPU of the machine you're running the compile on. Can you reproduce this on another machine?

ben209
Posts: 2
Joined: Sat Sep 30, 2023 5:43 pm

Re: ESP8266 Failing to update

Postby ben209 » Mon Oct 02, 2023 4:08 am

It seems to have sorted itself out and now updates. It was both sets of lights. Thanks for the reply.

Who is online

Users browsing this forum: No registered users and 7 guests