-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
4.0.0-rc2: Crash on WifiStation.getMAC in global constructors #1888
Comments
I think those 'garbage' characters might hold a clue. Can you switch the terminal baud rate (probably 74880 baud?) to see what they say? |
Ah right, sorry. Did that yesterday already (38400 is the key):
|
It's the constructor for your |
Yes, I know. But exactly that is my error report (it was working before). |
If the The reason it's now not working is due to #1802, which abstracted |
Ahh ok, right, thank you! |
In my code I have a global object that queries the MAC address in its constructor with
WifiStation.getMAC
. This was working fine until 3.8 (and also 3.9 I think). Now in4.0.0-rc2
it crashes instantly. This is a minimal example that reproduces the bug (tested on ESP-12F):Running that makes the device reboot very frequently (around 10 Hz or something?!) producing output like this in a loop:
The text was updated successfully, but these errors were encountered: