mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1271] Crash when calling autoConnect() from class method #1087
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#1087
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 @vcolella on GitHub (Jul 19, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1271
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266:
Hardware: ESP-12e
Core Version: 2.5.2
Description
I'm trying to call
autoConnect()inside a class method. It compiles just fine but for some reason that I don't understand it causes a crash. From what I understand last call in the stack was atESP8266WiFiSTAClass::waitForConnectResult(), so I'm not even sure if the issue has to do with WiFiManager itself.Am I doing something wrong ?
I tried to find a solution based on #381 but couldn't really get anywhere.
Settings in IDE
Module: NodeMCU 1.0 (ESP-12E Module)
Additional libraries: None
Sketch
Debug Messages
Decoded Stack
@vcolella commented on GitHub (Jul 26, 2021):
I was able to reproduce the problem including only
ESP8266WiFi, so I guess I'm closing the issue here.@tablatronix commented on GitHub (Jul 29, 2021):
Almost looks like a wdt or a stuck loop.. strange