mathieucarbou / ESPAsyncWebServer

Asynchronous HTTP and WebSocket Server Library for ESP32, ESP8266 and RP2040
https://mathieu.carbou.me/ESPAsyncWebServer/
GNU Lesser General Public License v3.0
87 stars 17 forks source link

[BUG]WebSocket.printfAll causes a "CORRUPT HEAP: Bad tail at 0x3ffe389c. Expected 0xbaad5678 got 0xbaad5600 crash #93

Closed benpeart closed 2 months ago

benpeart commented 2 months ago

Calling wsServer.printfAll("kp%.4f", Kp); in OnEvent:WS_EVT_CONNECT

A clear and concise description of what the bug is.

Board

esp32dev, esp32s3, etc

Ethernet adapter used ?

If yes, please specify which one

Stack trace

Please provide the stack trace here taken with monitor_filters = esp32_exception_decoder. Any issue opened with a non readable stack trace will be ignored because not helpful at all.

As an alternative, you can use https://maximeborges.github.io/esp-stacktrace-decoder/.

Additional notes

Add any other context about the problem here.