git head, crash on using F() on ESP8266
Created by: sticilface
get the following stack trace on any F() use
Fatal exception 3(LoadStoreErrorCause):
epc1=0x4023349c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40264fed, depc=0x00000000
Exception (3):
epc1=0x4023349c epc2=0x00000000 epc3=0x00000000 excvaddr=0x40264fed depc=0x00000000
ctx: sys
sp: 3ffff690 end: 3fffffb0 offset: 01a0
with it decoded
Decoding 78 results
0x4010020c: _umm_free at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/umm_malloc/umm_malloc.c line 1287
0x40219233: bool ArduinoJson::JsonObject::setNodeAt__FlashStringHelper const*, bool const&>(__FlashStringHelper const*, bool const&) at /Users/amelvin/Documents/Arduino/libraries/ESPmanager/src/ESPmanager.cpp line 893
0x4021c04d: ESPmanager::_HandleDataRequest(AsyncWebServerRequest*) at /Users/amelvin/Documents/Arduino/libraries/ESPmanager/src/ESPmanager.cpp line 893
0x401004ba: _umm_malloc at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/umm_malloc/umm_malloc.c line 1462
0x4022f84c: String::move(String&) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x402327d7: operator() at /Users/amelvin/Documents/Arduino/libraries/ESPmanager/src/ESPmanager.cpp line 893
: (inlined by) __call at /Users/amelvin/git/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/functional line 1296
: (inlined by) operator() at /Users/amelvin/git/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/functional line 1355
: (inlined by) std::_Function_handler (ESPmanager*, std::_Placeholder1>)> >::_M_invoke(std::_Any_data const&, AsyncWebServerRequest*) at /Users/amelvin/git/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/functional line 2071
0x402101a1: std::function ::operator()(AsyncWebServerRequest*) const at /Users/amelvin/git/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/functional line 2439
: (inlined by) AsyncCallbackWebHandler::handleRequest(AsyncWebServerRequest*) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebHandlerImpl.h line 89
0x402327d0: std::_Function_base::_Base_manager (ESPmanager*, std::_Placeholder1>)> >::_M_get_pointer(std::_Any_data const&) at /Users/amelvin/Documents/Arduino/libraries/ESPmanager/src/ESPmanager.cpp line 893
: (inlined by) std::_Function_handler (ESPmanager*, std::_Placeholder1>)> >::_M_invoke(std::_Any_data const&, AsyncWebServerRequest*) at /Users/amelvin/git/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/functional line 2071
0x4010053d: _umm_realloc at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/umm_malloc/umm_malloc.c line 1491
: (inlined by) realloc at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/umm_malloc/umm_malloc.c line 1709
0x4022f75b: String::reserve(unsigned int) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4010020c: _umm_free at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/umm_malloc/umm_malloc.c line 1287
0x4010068c: free at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/umm_malloc/umm_malloc.c line 1733
0x402327f1: std::_Function_handler (ESPmanager*, std::_Placeholder1>)> >::_M_invoke(std::_Any_data const&, AsyncWebServerRequest*) at /Users/amelvin/Documents/Arduino/libraries/ESPmanager/src/ESPmanager.cpp line 893
0x402101a1: std::function ::operator()(AsyncWebServerRequest*) const at /Users/amelvin/git/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/4.8.2/functional line 2439
: (inlined by) AsyncCallbackWebHandler::handleRequest(AsyncWebServerRequest*) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebHandlerImpl.h line 89
0x4020e724: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022fa8d: String::concat(char const*, unsigned int) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e3d6: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4025a554: tcp_process at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/tcp_in.c line 795
: (inlined by) tcp_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/tcp_in.c line 340
0x4020e349: AsyncWebServerRequest::_parseLine() at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4022faf0: String::concat(char const*) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x4020e5c8: AsyncWebServerRequest::_onData(void*, unsigned int) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4020e7c1: _M_invoke at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncWebServer/src/WebRequest.cpp line 602
0x4024d12d: system_pp_recycle_rx_pkt at ?? line ?
0x4020a5b8: AsyncClient::_recv(tcp_pcb*, pbuf*, signed char) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncTCP/src/ESPAsyncTCP.cpp line 649
0x40254ff5: pbuf_free at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/pbuf.c line 758
0x4020a60b: AsyncClient::_s_recv(void*, tcp_pcb*, pbuf*, signed char) at /Users/amelvin/Documents/Arduino/libraries/ESPAsyncTCP/src/ESPAsyncTCP.cpp line 649
0x4025a764: tcp_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/tcp_in.c line 394 (discriminator 1)
0x40255169: pbuf_alloc at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/pbuf.c line 388
0x40230000: String::replace(String const&, String const&) at /Applications/Arduino.app/Contents/Java/hardware/esp8266com/esp8266/cores/esp8266/WString.cpp line 720
0x40258c6d: ip_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/ipv4/ip.c line 559
0x4023d65e: ieee80211_hostap_attach at ?? line ?
0x4023db52: hostap_input at ?? line ?
0x40258065: ethernet_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/netif/etharp.c line 1379
0x4010594e: wdt_feed at ?? line ?
0x4024cea8: ets_timer_handler_isr at ?? line ?
0x4024cece: ets_timer_handler_isr at ?? line ?
0x4024cb2b: ets_snprintf at ?? line ?
sorry this is turning into a pain.
the same sketch has no crash using 5.6.7