Open
Description
Board
UM Feather S3
Device Description
I'm using a UM Feather S3 on a custom PCB with a few additional components to drive an LED matrix panel.
Hardware Configuration
I'm using a UM Feather S3 on a custom PCB with a few additional components to drive an LED matrix panel.
Version
v3.2.0
IDE Name
Arduino IDE 2
Operating System
macOS
Flash frequency
80
PSRAM enabled
no
Upload speed
921600
Description
I have been working on this project that I just added mDNS to. I use it to advertise the built-in web server, nothing more. After just a few minutes running, I get a ton of logging like this:
E (244434) mdns: Cannot allocate memory (line: 1767, free heap: 8337220 bytes)
E (244435) mdns_networking: Cannot allocate memory (line: 149, free heap: 8332324 bytes)
) mdns_networking: Cannot allocate memory (line: 149, free heap: 8330060 bytes)
mdns_networking: Cannot allocate memory (line: 149, free heap: 8327612 bytes)
1498327612 bytes)
E (244438) mdns_networking: Cannot allocate memory (line: 149, free heap: 8327612 bytes)
E (244438) mdns_networking: Cannot allocate memory (line: 149, free heap: 8330060 bytes)
244439) mdns_networking: Cannot allocate memory (li, free heap: 8327612 bytes)
E (244439) mdns_networking: Cannot allocate memory (line: 149, free heap: 8330060 bytes)
mdns_networking8327612 bytes)
E (244440) mdns_networking: Cannot allo149, free heap: 8330060 bytes)
E (244440orking: Cannot allocate memory (line: 149, free heap: 8327612 bytes)
E (244441) mdns_networking, free heap: 8325164 bytes)
E (244442) mdns_networking: Cannot allocate m, free heap: 8322716 bytes)
) mdns_networking: Cannot allocate memory (line: 149, free heap: 8320268 bytes)
E (244443) mdns_networking: Cannot allocate memory (line: 149, free heap: 8317820 bytes)
mdns_networking: Cannot allocate memory (line: 149, free heap: 8315372 bytes)
ree heap: 8315372 bytes)
mdns_networking: Cannot allocate mem, free heap: 8317820 bytes)
, free heap: 8320268 bytes)
Eventually I get a Core 1 panic'ed (corrupted stack) and the app restarts.
Sketch
// Advertise mDNS…
#if true
Serial.println("Advertising mDNS…");
if (!MDNS.begin("clock"))
{
Serial.println("mDNS init failed");
}
else
{
Serial.println("mDNS responder started");
MDNS.addService("http", "tcp", 80);
}
#endif
Debug Message
See above
Other Steps to Reproduce
Note that I don't think this is actually out of memory, if the free heap number is to be believed. But I can't find the code actually generating the line in the source. I'm using ESP Arduino 3.2.0
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.