I am using this library in a project.
The project has WiFi and webserver is spawned as well.
My device crashes when there a lot of HTTP requests.
I have run the ep32 exception decoder and found out the following traces both showing the crash inside AsyncTCP library.
I am using version 1.2.0 of this lib.
Please help me find out the reason behind these.
Thank you
Decoding stack results 0x4010a5c7: AsyncClient::_lwip_fin(tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 919 0x4010a790: AsyncClient::_s_lwip_fin(void*, tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 1255 0x4010a7d4: _tcp_recv(void*, tcp_pcb*, pbuf*, int8_t) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 296 0x40188772: tcp_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/lwip/lwip/src/core/tcp_in.c line 475 0x4018edbb: ip4_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4/ip4.c line 746 0x4019404e: ethernet_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ethernet.c line 184 0x4017e127: tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c line 135 0x4008f31d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
Decoding stack results 0x4010a8fb: AsyncServer::_accept(tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 1352 0x4010a984: AsyncServer::_s_accept(void*, tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 1389 0x40187b29: tcp_process at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp_in.c line 865 0x4018862d: tcp_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp_in.c line 372 0x4018ed9f: ip4_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4/ip4.c line 746 0x40194032: ethernet_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ethernet.c line 184 0x4017e10b: tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c line 135 0x4008f31d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
I am using this library in a project. The project has WiFi and webserver is spawned as well. My device crashes when there a lot of HTTP requests. I have run the ep32 exception decoder and found out the following traces both showing the crash inside AsyncTCP library. I am using version 1.2.0 of this lib. Please help me find out the reason behind these. Thank you
Decoding stack results 0x4010a5c7: AsyncClient::_lwip_fin(tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 919 0x4010a790: AsyncClient::_s_lwip_fin(void*, tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 1255 0x4010a7d4: _tcp_recv(void*, tcp_pcb*, pbuf*, int8_t) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 296 0x40188772: tcp_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/lwip/lwip/src/core/tcp_in.c line 475 0x4018edbb: ip4_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4/ip4.c line 746 0x4019404e: ethernet_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ethernet.c line 184 0x4017e127: tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c line 135 0x4008f31d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
Decoding stack results 0x4010a8fb: AsyncServer::_accept(tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 1352 0x4010a984: AsyncServer::_s_accept(void*, tcp_pcb*, signed char) at .pio\libdeps\esp32dev\AsyncTCP\src\AsyncTCP.cpp line 1389 0x40187b29: tcp_process at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp_in.c line 865 0x4018862d: tcp_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp_in.c line 372 0x4018ed9f: ip4_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/ipv4/ip4.c line 746 0x40194032: ethernet_input at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/netif/ethernet.c line 184 0x4017e10b: tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c line 135 0x4008f31d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143