mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #546] Crash setting alternate debug output #459
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#459
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 @liebman on GitHub (Mar 3, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/546
Basic Infos
Hardware
WiFimanager Branch/Release: Development
Hardware: ESP-12f
Core Version: latest git
Description
Changing serial using
WiFiManager wifi(Serial1);crashes in the destructor.Settings in IDE
Module: NodeMcu
Additional libraries: None
Sketch
Standard auto-connect sketch modified to use Serial1 instead of Serial
Debug Messages
messages from Serial:
messages from Serial1:
Decoded stack:
@tablatronix commented on GitHub (Mar 3, 2018):
hmm this looks exactly like someone else crash
@tablatronix commented on GitHub (Mar 3, 2018):
confirmed
@tablatronix commented on GitHub (Mar 3, 2018):
pretty sure I am chaining constructors wrong
@tablatronix commented on GitHub (Mar 3, 2018):
Someone else can fix this properly, I am not sure the correct syntax for delegated constructors, and I couldn't get it to work.
@tablatronix commented on GitHub (Mar 3, 2018):
should work for now at least
@liebman commented on GitHub (Mar 3, 2018):
Works for me now.
@tablatronix commented on GitHub (Mar 4, 2018):
Thanks, I figured the constructors out, I was doing it backwards, but I am going to leave the init function the way it is, makes it cleaner if I decide to add more constructors.
@liebman commented on GitHub (Mar 4, 2018):
I found if you erase the flash to force it to run the captive portal, it still crashes, but not when its been configured before. I used the same sketch but erased the flash first. Does not happen if
WiFiManager wifiManager(Serial1);is not used.Decoded:
@tablatronix commented on GitHub (Mar 4, 2018):
Cant reproduce this. Still working for me using staging.
Are you using any parameters?
@tablatronix commented on GitHub (Mar 4, 2018):
https://gist.github.com/tablatronix/b966719f8da88f50a5dbb59c9d38e1fb
@liebman commented on GitHub (Mar 5, 2018):
Not using any parameters.
@tablatronix commented on GitHub (Mar 14, 2018):
Has this been resolved, is this still an issue?
@liebman commented on GitHub (Aug 6, 2018):
No longer an issue.