Um der Ursache auf den Grund zu gehen hier der dekodierte Backtrace:
CORRUPT HEAP: multi_heap.c:431 detected at 0x3ffee674
abort() was called at PC 0x4009b3b4 on core 1
ELF file SHA256: 0000000000000000
Backtrace: 0x400963ac:0x3ffe9d30 0x40096625:0x3ffe9d50 0x4009b3b4:0x3ffe9d70 0x4009ba8c:0x3ffe9d90 0x40082a19:0x3ffe9db0 0x40082a4a:0x3ffe9dd0 0x4008aea1:0x3ffe9df0 0x4000beaf:0x3ffe9e10 0x4010a3d4:0x3ffe9e30 0x400df05d:0x3ffe9ed0 0x4023b49f:0x3ffe9f00 0x4023c91d:0x3ffe9f20 0x400ff7c5:0x3ffe9f70 0x400ff7e1:0x3ffe9fb0 0x40106abe:0x3ffe9fd0 0x40106b41:0x3ffea010 0x401072b6:0x3ffea030 0x40098076:0x3ffea060
#0 0x400963ac:0x3ffe9d30 in invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:715
#1 0x40096625:0x3ffe9d50 in abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:715
#2 0x4009b3b4:0x3ffe9d70 in multi_heap_assert at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/multi_heap.c:380
(inlined by) multi_heap_malloc_impl at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/multi_heap.c:431
#3 0x4009ba8c:0x3ffe9d90 in multi_heap_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/multi_heap_poisoning.c:305
#4 0x40082a19:0x3ffe9db0 in heap_caps_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c:354
#5 0x40082a4a:0x3ffe9dd0 in heap_caps_malloc_default at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c:354
#6 0x4008aea1:0x3ffe9df0 in _malloc_r at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/syscalls.c:37
#7 0x4000beaf:0x3ffe9e10 in ?? ??:0
#8 0x4010a3d4:0x3ffe9e30 in Print::printf(char const*, ...) at C:\users\dirk\.platformio\packages\framework-arduinoespressif32\cores\esp32/Print.cpp:261
#9 0x400df05d:0x3ffe9ed0 in onWebsocketEvent(AsyncWebSocket*, AsyncWebSocketClient*, AwsEventType, void*, unsigned char*, unsigned int) at .pio/libdeps/ttgo_t8/ArduinoJson/src/ArduinoJson/Deserialization/DeserializationError.hpp:20
#10 0x4023b49f:0x3ffe9f00 in std::_Function_handler<void (AsyncWebSocket*, AsyncWebSocketClient*, AwsEventType, void*, unsigned char*, unsigned int), void (*)(AsyncWebSocket*, AsyncWebSocketClient*, AwsEventType, void*, unsigned char*, unsigned int)>::_M_invoke(std::_Any_data const&, AsyncWebSocket*&&, AsyncWebSocketClient*&&, AwsEventType&&, void*&&, unsigned char*&&, unsigned int&&) at c:\users\dirk\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0/functional:1871
#11 0x4023c91d:0x3ffe9f20 in std::function<void (AsyncWebSocket*, AsyncWebSocketClient*, AwsEventType, void*, unsigned char*, unsigned int)>::operator()(AsyncWebSocket*, AsyncWebSocketClient*, AwsEventType, void*, unsigned char*, unsigned int) const at .pio\libdeps\ttgo_t8\ESP Async WebServer\src/StringArray.h:53
(inlined by) AsyncWebSocket::_handleEvent(AsyncWebSocketClient*, AwsEventType, void*, unsigned char*, unsigned int) at .pio\libdeps\ttgo_t8\ESP Async WebServer\src/AsyncWebSocket.cpp:864
#12 0x400ff7c5:0x3ffe9f70 in AsyncWebSocketClient::_onData(void*, unsigned int) at .pio\libdeps\ttgo_t8\ESP Async WebServer\src/StringArray.h:53
#13 0x400ff7e1:0x3ffe9fb0 in std::_Function_handler<void (void*, AsyncClient*, void*, unsigned int), AsyncWebSocketClient::AsyncWebSocketClient(AsyncWebServerRequest*, AsyncWebSocket*)::{lambda(void*, AsyncClient*, void*, unsigned int)#7}>::_M_invoke(std::_Any_data const&, void*&&, AsyncClient*&&, std::_Any_data const&, unsigned int&&) at .pio\libdeps\ttgo_t8\ESP Async WebServer\src/StringArray.h:53
(inlined by) _M_invoke at c:\users\dirk\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0/functional:1871
#14 0x40106abe:0x3ffe9fd0 in std::function<void (void*, AsyncClient*, void*, unsigned int)>::operator()(void*,
AsyncClient*, void*, unsigned int) const at .pio\libdeps\ttgo_t8\AsyncTCP@src-7fb2940bccb78b8d2de6915ae328b7fc\src/AsyncTCP.cpp:1116
(inlined by) AsyncClient::_recv(tcp_pcb*, pbuf*, signed char) at .pio\libdeps\ttgo_t8\AsyncTCP@src-7fb2940bccb78b8d2de6915ae328b7fc\src/AsyncTCP.cpp:934
#15 0x40106b41:0x3ffea010 in AsyncClient::_s_recv(void*, tcp_pcb*, pbuf*, signed char) at .pio\libdeps\ttgo_t8\AsyncTCP@src-7fb2940bccb78b8d2de6915ae328b7fc\src/AsyncTCP.cpp:1116
#16 0x401072b6:0x3ffea030 in _async_service_task(void*) at .pio\libdeps\ttgo_t8\AsyncTCP@src-7fb2940bccb78b8d2de6915ae328b7fc\src/AsyncTCP.cpp:1116
(inlined by) _async_service_task at .pio\libdeps\ttgo_t8\AsyncTCP@src-7fb2940bccb78b8d2de6915ae328b7fc\src/AsyncTCP.cpp:197
#17 0x40098076:0x3ffea060 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
Bin da jetzt kein Experte aber es sieht doch so aus als ob der Crash ausgelöst wird durch die JSON Deserialisierung in bool processJsonRequest(char *_serialJson)
. Sollte sich das im Code nicht abfangen lassen?