Open ubIQio opened 5 years ago
It is hard to diagnose the errors occuring after such long run periods.
As the error is Interrupt wdt timeout
you may try to increase the interrupt watchdog timeout (→ Component config → ESP32-specific → Interrupt watchdog timeout (ms)
) from default 300 ms to some larger value.
You can also set Panic handler behaviour
to Silent reboot
(→ Component config → ESP32-specific → Panic handler behaviour
).
That way your system will be restarted on error and continue to operate.
If configured to handle restarts in a correct way, it will only be a couple of seconds interrupt in operation...
@loboris is there a way to debug such errors? on issue #151 it also raises a Guru Meditation error but it seems not be related to wifi. Using this Micropython port and a wrapper of the display module give the error.
Critical errors always begins with Guru Meditation Error
, the text in parenthesis describes the error.
If the error is from Core 0, it is probable related to the code in some esp-idf function, if it is from Core 1, it may be related to the code executed from some Python function.
I would recommend to run your application from esp-idf monitor (./BUILD.sh monitor
), that way, if error occurs, the log trace to all executed functions will be printed and it should be easier to determine the error source.
You can get more informations on fatal errors here.
Sometimes the crashes may be caused by inadequate power supply. Make shure your primary power supply, power wiring and the on board voltage regulator (LDO) can all provide at least 500 mA of current if using WiFi.
Using latest build I have a system publishing sensor data every second to MQTT broker. After 3-4 days running am getting
EspStackTraceDecoder seems to point to wifi_os_adapter.c
Core1
Core0
Was wondering if anyone else experiencing network instability or if have ideas how I can find the root cause?