-
Notifications
You must be signed in to change notification settings - Fork 535
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
Segfaults with the latest SDK version #330
Comments
The issue might be related to #320. |
Just one thing - ESP8266 is only 2.4G, so it won't see APs on the 5G band - could be faulting because you're connecting to a non existent AP as far as it's concerned |
Ok, the AP is dual-band and it has the same SSID for the 5G and for the 2.4G frequencies. I was able to reproduce the problem also by trying to list all APs without actually trying to connect to any of them. The problem seems to occur when there is a 5G AP. Some of the APs have also band steering. The problem does not occur with previous versions of NON-OS SDK 3.0.x. |
OK that's interesting, I do a wifi scan in my code and am using almost the current commit and have seen no problems. I have also got a dual band AP with band steering, but the SSIDs for the two bands are different. Does it work if you turn off the 5G band or rename the SSID, and how many APs are you seeing? Could you be running out of memory because the scan list is too large? |
I just configured my 5GHz AP to use the same SSID as the 2.4GHz one. No problem here. ESP8266 can still scan and connect, no crash. |
@slaff - how many APs do you have in your list? Could you be overflowing a list somewhere? |
So far I have noticed the following:
I have to go to the woods this week to find a place without WIFI APs and test there. Living in a city has the disadvantage of having 10-20 APs around you. |
Which model/manufacturer? Maybe Espressif could test that AP in question themselves. |
For Sming, a ESP8266 framework, we tried updating the NON-OS SDK to version 3.0.4 (commit be2f86d). After the update all samples segfault as soon as there is an attempt to connect to an AP. The errors point to ieee80211_setup_ratetable.
The APs that we used are using 5G frequencies.
Can you give us any hints what can cause this problem?
***** Fatal exception 3 (LOAD_STORE_ERROR)
pc=0x4020884b sp=0x3ffffe30 excvaddr=0x40231434
ps=0x00000030 sar=0x0000001e vpri=0xffffffff
r00: 0x402087f7=1075873783 r01: 0x3ffffe30=1073741360 r02: 0x00000002= 2
r03: 0x0000000b= 11 r04: 0x3ffee344=1073668932 r05: 0x40231434=1076040756
r06: 0x3ffee1c4=1073668548 r07: 0x3ffffe30=1073741360 r08: 0x00000001= 1
r09: 0x3ffea9cf=1073654223 r10: 0x00000016= 22 r11: 0x00000000= 0
r12: 0x00000002= 2 r13: 0x3ffeea30=1073670704 r14: 0x00000000= 0
r15: 0x3ffeea30=1073670704
The text was updated successfully, but these errors were encountered: