mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1399] ESP32 "Guru Meditation Error" after inserting "#include <WiFiManager.h>" into sketch #1198
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jkrasinger on GitHub (Apr 23, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1399
Basic Infos
Hardware
WiFimanager Branch/Release: 2.0.11-beta
Esp32:
Hardware: ESP32 DEV KIT V1
Core Version: ESP32 2.0.2
Description
After adding "#include <WiFiManager.h>" to sketch without any other modifications to the Program get
"Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled."
This error seems to happen in the NTPClient routines.
"
Settings in IDE
Module: DOIT ESP32 DEVKIT V1
Additional libraries: TFT, TFT_eSPI, NTPClient, PubSubClient, WiFiUdp
Sketch
Debug Messages
@tablatronix commented on GitHub (Apr 23, 2022):
I need a sketch or example
@jkrasinger commented on GitHub (Apr 23, 2022):
I understand, but the sketch is a big one, should i really add it to the bug report?
@tablatronix commented on GitHub (Apr 23, 2022):
No you should use a miminal reproduction sketch, like an example from the library. ntpclient you say?
@jkrasinger commented on GitHub (Apr 24, 2022):
Excuse me for the late response, but i tried to reproduce the error with a minimalistic sketch, but i was not able to reproduce it. I first assumed the problem within the WiFi routines, but this was not the case, they worked as expected. The next component to check was the TFT-Touch screen with the libraries TFT, TFT_eSPI in use. I deactivated the code step by step until i reached the "check for a touch" on the screen. As soon as i disabled this routine all was working as expected. So i made a deeper dive in this routine ... and found the bug in my code. I made a loop over 15(???) touch buttons instead of three. I have no idea why this happened. After correcting this little mistake the sketch was up and running again.
This sketch was working even with this error, but by only inserting the "#include <WiFiManager.h>" without using the WiFiManager(!) my sketch died. This is very interesting.
Excuse me for the false alarm, i will close this issue shortly.
Thank you for your quick response.
@jkrasinger commented on GitHub (Apr 24, 2022):
I just finished the full implementation of WiFiManager in my sketch and it works perfectly. Thanks you for the library and your intervention. Regards Jonny
@tablatronix commented on GitHub (Apr 24, 2022):
These errors are usually a memory issue accessing a bad pointeror something went out of scope