You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decoding stack results
0x40083c21: panic_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/panic.c line 402
0x4008d011: esp_system_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/esp_system.c line 121
0x40092275: __assert_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/assert.c line 85
0x400840ce: heap_caps_free at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c line 289
0x400922a5: free at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/heap.c line 46
0x40168d7d: operator delete(void*) at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32-elf/src/gcc/libstdc++-v3/libsupc++/del_op.cc line 49
0x400f2041: AsyncWebSocket::~AsyncWebSocket() at .pio/libdeps/esp32dev/ESP Async WebServer/src/AsyncWebSocket.cpp line 767
0x40180c27: std::_Function_handler >::_M_invoke(const std::_Any_data &, AsyncWebHandler * const&) at .pio/libdeps/esp32dev/ESP Async WebServer/src/WebServer.cpp line 41
0x400fbb4d: std::function ::operator()(AsyncWebHandler* const&) const at c:\users\david\.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\bits/std_function.h line 260
0x400fbba1: AsyncWebServer::reset() at .pio/libdeps/esp32dev/ESP Async WebServer/src/StringArray.h line 35
0x400e4800: restartServer() at src/server.hpp line 2126
0x400e5aac: loop() at src/main.cpp line 229
0x40103515: loopTask(void*) at C:/Users/david/.platformio/packages/framework-arduinoespressif32@src-537c58760dafe7fcc8a1d9bbcf00b6f6/cores/esp32/main.cpp line 46
Finally, the code:
ws.closeAll(); // close web sockets
server.end();
WiFi.disconnect();
WiFi.mode(WIFI_MODE_NULL);
The text was updated successfully, but these errors were encountered:
Issue: ESP32 crashes when turning off web sockets, web server and wifi.
Serial monitor:
The decoded backtrace:
Finally, the code:
The text was updated successfully, but these errors were encountered: