ESP8266 Failing to update
Posted: 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 ==========================
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 ==========================