Random crashes on ESP32-WROOM-32UE

Hi community!!
I am having ESP32-WROOM-32UE with external antenna and it scans BLE devices and sends them to Cloud over WiFi (4G dongle). But I am observing auto reset issues (sometimes stuck). I am using AsyncMQTT_ESP32 by Marvin Roger, Khoi Hoang.. Version 1.10.0 and Board Manager: esp32 by Expressif Systems Version 3.0.3. Can anyone suggest what might be problem? Or can anyone suggest how can I debug it? Also if need something, do let me know.

Sometime device used to work continuously for 2-3 days, sometimes it used crash at first message publish only. Whenever I used to observe ESP crash/reset, it was due to memory allocation issue I think (backtrace led me to mqtt publish function).

Can you post your code. It may be due to an array index exceeding the size of the array.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.