-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
WiFiUDP::parsePacket() SegFault on memory allocation (Stale Issue #4104) #7845
Comments
I have the fix ready to push once a branch is created. |
|
Duplicate of #7558. Looks like Dave never submitted a PR. I'll create one. |
@DamronDan Your fix changes the heap memory allocation for |
@mrengineer7777 Yes, I see that as well. I will try your changes and report back. Thank you! |
@DamronDan How goes the testing? |
Testing is proceeding, ran into other issues, but should be able to report back today. |
Board
ESP32
Device Description
quinled board from quinled.info
Hardware Configuration
WiFi, using UDP with high throughput
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Windows 10
Flash frequency
using OTA
PSRAM enabled
yes
Upload speed
using OTA
Description
UDP packet usage, WiFiUDP::parsePacket() dynamically allocates buffer memory. When traffic is high, a segfault occurs on the memory allocation.
Sketch
Debug Message
Other Steps to Reproduce
Flood the wifi with UDP packets.
I have found a stale issue with same problem,
WiFiUDP::parsePacket() CRASH #4104
however that issue went stale. Opening this issue to correct problem.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: