-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Continue in AP mode" crashing after PR #135 #142
Comments
Well that sucks.... If you still have the ELF file can you try using https://github.com/janLo/EspArduinoExceptionDecoder to decode the stack trace? |
Here's the decoded result:
EspArduinoExceptionDecoder works pretty well, first time I've used it. I did have an issue using the default python 3, I forced it to use 2.7 and it worked. I've comented on an issue janLo/EspArduinoExceptionDecoder#1 |
I wonder if this is an issue with the navigation happening during a wifi network scan update. This probably causes the request to be cancelled. |
Sounds plausible. Is there a way to make wifi scanning not happen all the time? ie. it happens once when the page is loaded. I've noticed when trying to select a wifi network the SSID's often move up and down as new wifi networks (often very weak ones) are detected or disappear. While very impressive I don't think the continuous scanning is required. It can actually make selecting the desired SSID a bit tricky if the list is continuously moving up and down! Maybe a button "refersh" or "update WiFi scan" if a re-scan is required. Maybe this would fix the issue. I just tested again on a different ESP using staging libs and was able to reproduce the crash, however this time the stack track was a bit different:
|
Interestingly since #135 has had a negative effect on the amount of free heap available. Here's a graph showing the past month of free heap on my home openevse. Maybe it's just a coincidence but the drop in free heap does coincide with when I uploaded #135 and #132. What sort of free heap values are you experiencing on your test setup? I've been trying to thing of ways we can reduce memory usage, maybe #143 could help a bit? |
I think I've found a bug which seems to have been introduced after PR #135.
When in AP and the "Continue in AP mode" is selected the unit crashes. "Continue in AP Mode" is a very useful feature since it enables the wifi-gateway to be used without connecting to a local WiFi network. See #120
The text was updated successfully, but these errors were encountered: