watchdog timeout triggered by error in ieee80211_output.c

timredfern
Posts: 31
Joined: Sun Feb 25, 2018 10:59 am

watchdog timeout triggered by error in ieee80211_output.c

Postby timredfern » Thu Aug 01, 2019 2:48 pm

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 ?

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: watchdog timeout triggered by error in ieee80211_output.c

Postby ESP_Dazz » Tue Aug 13, 2019 7:15 am

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.

Who is online

Users browsing this forum: Google [Bot], kammutierspule and 69 guests