Skip to content
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

Locks up on the ESP32 #8

Closed
computergeek1507 opened this issue May 20, 2019 · 3 comments
Closed

Locks up on the ESP32 #8

computergeek1507 opened this issue May 20, 2019 · 3 comments

Comments

@computergeek1507
Copy link

computergeek1507 commented May 20, 2019

On the ESP32 the library will stop reading packets after a while. With one universe in unicast mode it happens randomly. With 10 universes it stops immediately. I tried increasing the buffer slots to 30 and it will stop receiving packets when I send 4 universes of data from xLights. I am using the ESP32 1.3 rc1 ardunio core with a manual edit to the "AsyncUDP.cpp" library to workaround the issue described here espressif/arduino-esp32#2685

Thanks,
Scott

@forkineye
Copy link
Owner

Are you still having issues with this or was related to the core?

@computergeek1507
Copy link
Author

I still get this but I have abandoned all my ESP32 development for now. It happens when I send 4+ universes of data, I think the stack will overflow but it may be a issue with my code.

@ayufan
Copy link

ayufan commented Jan 12, 2020

I think that this code is not thread-safe. This is why you see this problem. It does not happen on ESP8266 as there's no multiple cores that can do things concurrently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants