Open James-Aylward opened 4 years ago
+1
+1 I can connect to the access point. If I open the captive portal, I receive the same message (Core 1 panic'ed (LoadProhibited)). I assume you also use an ESP32? The exception decoder gives me this:
PC: 0x400014fd
EXCVADDR: 0x00000020
Decoding stack results
0x400e1564: String::operator=(__FlashStringHelper const*) at C:\Users\myuser\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32\WString.cpp line 295
0x400e158b: String::String(__FlashStringHelper const*) at C:\Users\myuser\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32\WString.cpp line 45
0x400df256: WiFiManager::handleRoot() at C:\Users\myuser\Documents\Arduino\libraries\WIFIMANAGER-ESP32\WiFiManager.cpp line 404
0x4016c5fe: std::_Function_handler (WiFiManager*)> >::_M_invoke(std::_Any_data const&) at c:\users\myuser\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0/functional line 600
0x400dc312: std::function ::operator()() const at c:\users\myuser\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0/functional line 2271
0x400dc3b9: FunctionRequestHandler::handle(WebServer&, HTTPMethod, String) at C:\Users\myuser\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WebServer\src\detail/RequestHandlersImpl.h line 81
0x400dc426: WebServer::_handleRequest() at C:\Users\myuser\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WebServer\src\WebServer.cpp line 620
0x400dc58f: WebServer::handleClient() at C:\Users\myuser\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WebServer\src\WebServer.cpp line 309
0x400dfd45: WiFiManager::startConfigPortal(char const*, char const*) at C:\Users\myuser\Documents\Arduino\libraries\WIFIMANAGER-ESP32\WiFiManager.cpp line 205
0x400dfed6: WiFiManager::autoConnect(char const*, char const*) at C:\Users\myuser\Documents\Arduino\libraries\WIFIMANAGER-ESP32\WiFiManager.cpp line 161
0x400d28c5: setup_wifi() at C:\Programs\myproject/WLAN_Routinen.ino line 42
0x400d2d98: setup() at C:\Programs\myproject/MultiTurnDemo.ino line 213
0x400e200b: loopTask(void*) at C:\Users\myuser\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32\main.cpp line 14
0x40088c09: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
When running the following code:
I get the following error immediately after connecting to the access point:
and this cycle continues for a little bit. Where have I gone wrong?