Page 1 of 1

watchdog timeout triggered by error in ieee80211_output.c

Posted: Thu Aug 01, 2019 2:48 pm
by timredfern
I'm seeing an error in ESP32 code seemingly causing the WiFi task hanging and triggering a watchdog timeout.

It happens when a client connects to the ESP32 webserver.

I'm seeing this console output:

Code: Select all

E (59990) wifi: ieee80211_output.c 552

Task watchdog got triggered. The following tasks did not reset the watchdog in time:
 - IDLE (CPU 0)
Tasks currently running:
CPU 0: wifi
CPU 1: IDLE
Task watchdog got triggered. The following tasks did not reset the watchdog in time:
 - IDLE (CPU 0)
Tasks currently running:
CPU 0: wifi
CPU 1: IDLE
I think eee80211_output.c is a file that gets compiled to libnet80211.a

I'm using esp-idf release v3.1

Can someone from Espressif tell me what is on line 552 of ieee80211_output.c ?

Re: watchdog timeout triggered by error in ieee80211_output.c

Posted: Tue Aug 13, 2019 7:15 am
by ESP_Dazz

Code: Select all

E (59990) wifi: ieee80211_output.c 552
This is simply the last log output before the task watchdog triggered, thus is not necessarily the cause of the task watchdog timeout. Using make menuconfig, please enable the panic on task watchdog timeout option under Component Config->ESP32-Specific->Invoke panic handler on Task Watchdog timeout. This should dump a backtrace when the watchdog times out, and if using IDF monitor, the backtrace should automatically be decoded to the corresponding source file lines.