[GH-ISSUE #1465] Watchdog trigger #1255

Closed
opened 2026-02-28 01:29:16 +03:00 by kerem · 1 comment
Owner

Originally created by @Bonv1Arnaud on GitHub (Aug 2, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1465

Basic Infos

Hardware
WiFimanager Branch/Release: Master

Esp8266/Esp32: ESP32-WROOM-32UE (16MB)

Core Version: I don't know (I think the newest version)

Description

I have a big program with a lot of functionality. And the program worked correctly last week. Today I upload the sketch and when the ESP try to connect to the Wi-Fi an error appear (copy below). I try to upload the same sketch on other ESP, it works correctly the first time and when upload a second time it does the same problem as the first ESP.

I link only a part of the program because it is very long, and the rest works correctly.

Settings in IDE

Module: ESP32-DEVKIT

Additional libraries:

Sketch

//Initialisation
	WiFi.mode(WIFI_STA);                                    				//Définition du mode par défaut STA+AP
        wifiManager.setDebugOutput(false);					//Masque les commentaires dans le moniteur série
	int _iHttpCode = 0;

//Configuration du nom de la page
       wifiManager.setTitle("Oblo casa");
			
//Affectation des timeouts
       if(!xWebInterface) {
       		wifiManager.setConnectTimeout(20); 			         //how long to try to connect for before continuing
  		wifiManager.setConfigPortalTimeout(1);			// auto close configportal after n seconds
      } else {
		wifiManager.setConnectTimeout(5); 				//how long to try to connect for before continuing
  		wifiManager.setConfigPortalTimeout(300);			//auto close configportal after n seconds
  	}

//Fonction création de l'acces point
	bool xResultConnection = wifiManager.autoConnect(cSSID_AP);

  	if(xWebInterface){
		Serial.print("latitude : ");
	  	Serial.println(wifiManager.form.latitude, DEC);
	  	Serial.print("longitude : ");
	  	Serial.println(wifiManager.form.longitude, DEC);
	  	Serial.print("mail : ");
	  	Serial.println(wifiManager.form.mail);
	  	Serial.print("Connection : ");Serial.println(String(xResultConnection));
		_iHttpCode = iRegisteringNewOblo(_sMacAddress, _sFirmwareVersion, String(wifiManager.form.latitude, DEC), String(wifiManager.form.longitude, DEC), wifiManager.form.mail);
	}

Debug Messages

	09:11:24.609 -> Current step : 3200
	09:11:34.781 -> E (12021) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:	
	09:11:34.781 -> E (12021) task_wdt:  - IDLE0 (CPU 0)
	09:11:34.781 -> E (12021) task_wdt: Tasks currently running:
	09:11:34.781 -> E (12021) task_wdt: CPU 0: wifi
	09:11:34.781 -> E (12021) task_wdt: CPU 1: IDLE1
	09:11:34.781 -> E (12021) task_wdt: Aborting.
	09:11:34.781 -> abort() was called at PC 0x4016e508 on core 0
	09:11:34.781 -> 
	09:11:34.781 -> ELF file SHA256: 0000000000000000
	09:11:34.781 -> 
	09:11:34.781 -> Backtrace: 0x400896e4:0x3ffd29d0 0x40089961:0x3ffd29f0 0x4016e508:0x3ffd2a10 0x40087dc1:0x3ffd2a30 		0x4016b924:0x3ffb53f0 0x4016b979:0x3ffb5410 0x4016bd13:0x3ffb5430 0x4016bf47:0x3ffb5470 0x40168c91:0x3ffb5500 			0x40168ffb:0x3ffb5580 0x40169c1c:0x3ffb55c0 0x40169f99:0x3ffb5760 0x4016ab6a:0x3ffb5780 0x4016ff85:0x3ffb57b0 		0x40170226:0x3ffb57e0 0x400fc80c:0x3ffb5810 0x400fc8d9:0x3ffb5830 0x400fcb68:0x3ffb5850 0x400f9a6e:0x3ffb5870 		0x40122e82:0x3ffb5890 0x4008a972:0x3ffb58c0
	09:11:34.781 -> 
	09:11:34.781 -> Rebooting...
	09:11:35.478 -> Page : 0
	09:11:35.478 -> Current step : 1
	09:11:35.478 -> Wake up - 3_Oblo_librairies_R2D2_V0.7

	Decoding stack results
	0x400896e4: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c 		line 156
	0x40089961: abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 		171
	0x4016e508: task_wdt_isr at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-		idf/components/esp32/task_wdt.c line 174
	0x40085f81: esp_dport_access_int_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-		idf/components/esp32/dport_access.c line 206
	0x4016b979: ram_dc_iq_est at phy_chip_v7_cal.c line 573
	0x4016bd13: rxdc_est_min at phy_chip_v7_cal.c line 692
	0x4016bf47: pbus_rx_dco_cal_1step at phy_chip_v7_cal.c line 750
	0x40168c91: set_rx_gain_cal_dc at phy_chip_v7.c line 564
	0x40168ffb: set_rx_gain_testchip_70 at phy_chip_v7.c line 760
	0x40169c1c: set_rx_gain_table at phy_chip_v7.c line 2600
	0x40169f99: bb_init at phy_chip_v7.c line 2788
	0x4016ab6a: register_chipv7_phy at phy_chip_v7.c line 3780
	0x4016ff85: esp_phy_rf_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-		idf/components/esp32/phy_init.c line 180
	0x40170226: esp_phy_load_cal_and_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-		idf/components/esp32/phy_init.c line 673
	0x4008a972: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-		idf/components/freertos/port.c line 143
Originally created by @Bonv1Arnaud on GitHub (Aug 2, 2022). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1465 ### Basic Infos Hardware WiFimanager Branch/Release: Master Esp8266/Esp32: ESP32-WROOM-32UE (16MB) Core Version: I don't know (I think the newest version) ### Description I have a big program with a lot of functionality. And the program worked correctly last week. Today I upload the sketch and when the ESP try to connect to the Wi-Fi an error appear (copy below). I try to upload the same sketch on other ESP, it works correctly the first time and when upload a second time it does the same problem as the first ESP. I link only a part of the program because it is very long, and the rest works correctly. ### Settings in IDE Module: ESP32-DEVKIT Additional libraries: ### Sketch ```cpp //Initialisation WiFi.mode(WIFI_STA); //Définition du mode par défaut STA+AP wifiManager.setDebugOutput(false); //Masque les commentaires dans le moniteur série int _iHttpCode = 0; //Configuration du nom de la page wifiManager.setTitle("Oblo casa"); //Affectation des timeouts if(!xWebInterface) { wifiManager.setConnectTimeout(20); //how long to try to connect for before continuing wifiManager.setConfigPortalTimeout(1); // auto close configportal after n seconds } else { wifiManager.setConnectTimeout(5); //how long to try to connect for before continuing wifiManager.setConfigPortalTimeout(300); //auto close configportal after n seconds } //Fonction création de l'acces point bool xResultConnection = wifiManager.autoConnect(cSSID_AP); if(xWebInterface){ Serial.print("latitude : "); Serial.println(wifiManager.form.latitude, DEC); Serial.print("longitude : "); Serial.println(wifiManager.form.longitude, DEC); Serial.print("mail : "); Serial.println(wifiManager.form.mail); Serial.print("Connection : ");Serial.println(String(xResultConnection)); _iHttpCode = iRegisteringNewOblo(_sMacAddress, _sFirmwareVersion, String(wifiManager.form.latitude, DEC), String(wifiManager.form.longitude, DEC), wifiManager.form.mail); } ``` ### Debug Messages ``` 09:11:24.609 -> Current step : 3200 09:11:34.781 -> E (12021) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: 09:11:34.781 -> E (12021) task_wdt: - IDLE0 (CPU 0) 09:11:34.781 -> E (12021) task_wdt: Tasks currently running: 09:11:34.781 -> E (12021) task_wdt: CPU 0: wifi 09:11:34.781 -> E (12021) task_wdt: CPU 1: IDLE1 09:11:34.781 -> E (12021) task_wdt: Aborting. 09:11:34.781 -> abort() was called at PC 0x4016e508 on core 0 09:11:34.781 -> 09:11:34.781 -> ELF file SHA256: 0000000000000000 09:11:34.781 -> 09:11:34.781 -> Backtrace: 0x400896e4:0x3ffd29d0 0x40089961:0x3ffd29f0 0x4016e508:0x3ffd2a10 0x40087dc1:0x3ffd2a30 0x4016b924:0x3ffb53f0 0x4016b979:0x3ffb5410 0x4016bd13:0x3ffb5430 0x4016bf47:0x3ffb5470 0x40168c91:0x3ffb5500 0x40168ffb:0x3ffb5580 0x40169c1c:0x3ffb55c0 0x40169f99:0x3ffb5760 0x4016ab6a:0x3ffb5780 0x4016ff85:0x3ffb57b0 0x40170226:0x3ffb57e0 0x400fc80c:0x3ffb5810 0x400fc8d9:0x3ffb5830 0x400fcb68:0x3ffb5850 0x400f9a6e:0x3ffb5870 0x40122e82:0x3ffb5890 0x4008a972:0x3ffb58c0 09:11:34.781 -> 09:11:34.781 -> Rebooting... 09:11:35.478 -> Page : 0 09:11:35.478 -> Current step : 1 09:11:35.478 -> Wake up - 3_Oblo_librairies_R2D2_V0.7 Decoding stack results 0x400896e4: invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 156 0x40089961: abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c line 171 0x4016e508: task_wdt_isr at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/task_wdt.c line 174 0x40085f81: esp_dport_access_int_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/dport_access.c line 206 0x4016b979: ram_dc_iq_est at phy_chip_v7_cal.c line 573 0x4016bd13: rxdc_est_min at phy_chip_v7_cal.c line 692 0x4016bf47: pbus_rx_dco_cal_1step at phy_chip_v7_cal.c line 750 0x40168c91: set_rx_gain_cal_dc at phy_chip_v7.c line 564 0x40168ffb: set_rx_gain_testchip_70 at phy_chip_v7.c line 760 0x40169c1c: set_rx_gain_table at phy_chip_v7.c line 2600 0x40169f99: bb_init at phy_chip_v7.c line 2788 0x4016ab6a: register_chipv7_phy at phy_chip_v7.c line 3780 0x4016ff85: esp_phy_rf_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/phy_init.c line 180 0x40170226: esp_phy_load_cal_and_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/esp32/phy_init.c line 673 0x4008a972: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp- idf/components/freertos/port.c line 143 ```
kerem closed this issue 2026-02-28 01:29:16 +03:00
Author
Owner

@Bonv1Arnaud commented on GitHub (Aug 3, 2022):

The problem is solved...

I didn't know but I had two versions of the arduino IDE installed on my PC. And I used without realizing it an old version (1.8.15). Using the more recent version (1.8.19), it works

<!-- gh-comment-id:1203906001 --> @Bonv1Arnaud commented on GitHub (Aug 3, 2022): The problem is solved... I didn't know but I had two versions of the arduino IDE installed on my PC. And I used without realizing it an old version (1.8.15). Using the more recent version (1.8.19), it works
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1255
No description provided.