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
esp32: UDP broadcast via sendto causes memory leaks/ENOMEM error #4029
Comments
If you think it's related to gc, enable all |
(same person, different account - sorry for that). I'm actively trying, the result is various errors regarding DEBUG_printf including eventually a link-error that it's not found. Any suggestions? Also I do print the gc output, and the free bytes from uP seem to stay constant. So it looks more as if memory is drained in the C-layer. |
Ok, found #3732, so compilation works. Will test my code now. |
OK, now the system doesn't come up, the error is
|
I found to my surprise that my code that provokes the error survives the |
Does this problem was fixed? |
I described this in the uP forum:
https://forum.micropython.org/viewtopic.php?f=18&t=5063&p=28953#p28953
on further investigation, I found that commenting out
https://github.com/micropython/micropython/blob/master/ports/esp32/modsocket.c#L485
made the problem disappear - by disabling the actual functionality of course. To my uninitiated eye, this looks like a SDK issue, but at the same time there seems to be some dependency to the gc calls as documented in the forum post. Any suggestions on to get to the bottom of this?
The text was updated successfully, but these errors were encountered: