Random crash on TCP/IP stack of ESP32

chamroeun
Posts: 4
Joined: Wed Feb 10, 2021 3:51 am

Random crash on TCP/IP stack of ESP32

Postby chamroeun » Sat Nov 27, 2021 8:53 am

Hi,
I got this crash after some a few request from client and not able to find out the root cause as it happen sometimes after an hour of running. The sketch will tunnel http request thru MQTT response so user will send MQTT request to the sketch and the sketch will convert this MQTT as http request and push it to TCP/IP stack and then convert the HTTP response and send back as MQTT response.


My code is based on this two libraries
https://github.com/levkovigor/MQTT_VPN_ESP32
https://github.com/levkovigor/ppposclient


Code: Select all

PC: 0x4012c1e9: tcp_output at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp_out.c line 1153
EXCVADDR: 0x00000010

Decoding stack results
0x4012c1e9: tcp_output at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp_out.c line 1153
0x401285b5: tcp_slowtmr at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp.c line 1213
0x40128a46: tcp_tmr at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/tcp.c line 164
0x40125d97: tcpip_tcp_timer at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/timeouts.c line 140
0x40125c85: sys_check_timeouts at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/timeouts.c line 361
0x40125e8c: sys_timeouts_mbox_fetch at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/core/timeouts.c line 433
0x40120a84: tcpip_thread at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c line 109
0x4008cf7e: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

Who is online

Users browsing this forum: No registered users and 55 guests