mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #679] Master: Sometimes crash after User requested captive portal #568
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#568
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 @dontsovcmc on GitHub (Jul 27, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/679
I user master branch for stability, but sometimes got loop exceptions when boot, read smth by i2c and start Wi-Fi connecting.
I can't understand the reason. I check turn on 2 times after firmwaring...
I know, that I should use development branch. My first experience got an error (with buffer lenght) and I return to master branch. Maybe I can help with development?
Exception decoder:
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266-01
Core Version:
Platform: Espressif 8266 1.7.3
Settings in IDE
PlatformIO:
[env:esp01_1m]
board = esp01_1m
platform = espressif8266
framework = arduino
Debug Messages
@tablatronix commented on GitHub (Jul 27, 2018):
Shrug, maybe someone will see this and help.
But no fixes or dev will be done on master, hotfixes has some fixes.
Are you using parameters?
Have you erased flash.
Have you tried esp staging?
@tablatronix commented on GitHub (Jul 27, 2018):
Could be out of memory, I have not done any testing on esp01 at all personallly
@tablatronix commented on GitHub (Jul 27, 2018):
What esp lib version are you using?
I doubt 1.7.3 that would be 3 years old
@dontsovcmc commented on GitHub (Jul 28, 2018):
I have a lot of parameters:
I mean platformio platform version: https://github.com/platformio/platform-espressif8266
This is compile options
@liebman commented on GitHub (Jul 28, 2018):
If you declare a lot of parameters in a function (on the stack) you will exceed the stack size and memory will be corrupted. You may need to use the
newoperator for the allocation and then thedeleteoperator to free them. (I had this issue with 31 parameters)@dontsovcmc commented on GitHub (Jul 28, 2018):
If the reason is the stack, why this problem is presented not 100% times?
Maybe I can print Stack size in the log?
@liebman commented on GitHub (Jul 28, 2018):
If I recall correctly the default stack size is only 4k. I don't recall whats adjacent to it, I think its the heap. So it would depend on if that particular memory location is in use or not.
@tablatronix commented on GitHub (Jul 28, 2018):
Yup I have thought about this and how to provide warnings but heap size is hard to measure if you do not have a way to know its initial state before the library loads, in dev version I have added heap info to the info page to kind of help woth these issues.
@dontsovcmc commented on GitHub (Jul 31, 2018):
Are stack size is different in different running?
As I use cyrillic string values, sometimes I see terrible data in log:
@dontsovcmc commented on GitHub (Aug 4, 2018):
WiFimanager Branch/Release: Master
I think there is no problem with stack and there is no problem with strings.
Crash when I call:
WiFi.disconnect( true );before run Active Point.
But I don't know why I called this function...
I read, that it erases current SSID and password. I don't need it.
I see example OnDemandConfigPortal without any additional functions.
@tablatronix commented on GitHub (Aug 4, 2018):
Known esp bug update your library