Repository navigation
Closed
Description
What happened?
Crashes when changing from 1D to 2D and click on save
To Reproduce Bug
- Fresh install the latest beta 0.16.
- Open settings -> 2D Configuration -> Strip or panel: change to 2D Matrix -> Click: Save
The connection was reset
The connection to the server was reset while the page was loading.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.```
### Expected Behavior
To save the settings
### Install Method
Binary from WLED.me
### What version of WLED?
0.16
### Which microcontroller/board are you seeing the problem on?
ESP32
### Relevant log/trace output
```shell
Backtrace: 0x4008ab44:0x3ffe11f0 0x4008aea1:0x3ffe1210 0x401c0557:0x3ffe1230 0x401680e3:0x3ffe1260 0x4013c1b4:0x3ffe1280 0x40118ba5:0x3ffe12a0 0x4013c7c6:0x3ffe1320 0x4013c827:0x3ffe13b0 0x4008c92a:0x3ffe13e0
#0 0x4008ab44:0x3ffe11f0 in invoke_abort at /home/cschwinne/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:648
#1 0x4008aea1:0x3ffe1210 in vApplicationStackOverflowHook at /home/cschwinne/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:648
#2 0x401c0557:0x3ffe1230 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<WiFiClientRxBuffer*>(WiFiClientRxBuffer*) at C:\Users\DesktopTV\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src/WiFiClient.cpp:572
(inlined by) std::__shared_ptr<WiFiClientRxBuffer, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<WiFiClientRxBuffer>(WiFiClientRxBuffer*) at c:\users\desktoptv\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits/shared_ptr_base.h:882
(inlined by) void std::__shared_ptr<WiFiClientRxBuffer, (__gnu_cxx::_Lock_policy)2>::reset<WiFiClientRxBuffer>(WiFiClientRxBuffer*) at c:\users\desktoptv\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0\bits/shared_ptr_base.h:1030
#3 0x401680e3:0x3ffe1260 in tcp_trigger_input_pcb_close at ??:?
#4 0x4013c1b4:0x3ffe1280 in DNSServer::replyWithIP() at C:\Users\DesktopTV\.platformio\packages\framework-arduinoespressif32\libraries\DNSServer\src/DNSServer.cpp:189
#5 0x40118ba5:0x3ffe12a0 in EspalexaDevice::getRGB() at wled00/src/dependencies/espalexa/EspalexaDevice.cpp:312
#6 0x4013c7c6:0x3ffe1320 in AsyncUDP::listenMulticast(ip_addr const*, unsigned short, unsigned char, tcpip_adapter_if_t) at C:\Users\DesktopTV\.platformio\packages\framework-arduinoespressif32\libraries\AsyncUDP\src/AsyncUDP.cpp:411
#7 0x4013c827:0x3ffe13b0 in AsyncUDP::listenMulticast(ip_addr const*, unsigned short, unsigned char, tcpip_adapter_if_t) at C:\Users\DesktopTV\.platformio\packages\framework-arduinoespressif32\libraries\AsyncUDP\src/AsyncUDP.cpp:411
#8 0x4008c92a:0x3ffe13e0 in vPortTaskWrapper at /home/cschwinne/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity
Andro-Marian commentedon Jul 31, 2025
Or:
DedeHai commentedon Jul 31, 2025
try if #4791 fixes this.
Andro-Marian commentedon Jul 31, 2025
Still crashes
[-]ESP crashes when changing from 1D stip to 2D Matrix and clicking on save[/-][+]0.16 crashes when changing from 1D stip to 2D Matrix and clicking on save. 0.15 seams fine[/+]blazoncek commentedon Jul 31, 2025
Crash dumps point to issues with networking stack. As with your previous report I am suspecting not WLED related.
You may also want to monitor your network traffic if there are any unusual packets broadcast.
Andro-Marian commentedon Jul 31, 2025
I don't think is the internet. Is different. And just when saving on the 2D setting page. No problem on 0.15 release for some reason.
And again. no problem on other versions.
blazoncek commentedon Jul 31, 2025
There were no changes to 2D set-up.
Andro-Marian commentedon Jul 31, 2025
Crashes even in AP.
Something pointing to: serveSettings(AsyncWebServerRequest*, bool) at wled00/wled_server.cpp:669
669 is a return from
When this rollback version was added. May worth testing before it.
Can't find what changed from 0.15.0.
I closed it for now.
Andro-Marian commentedon Aug 3, 2025
0.15.1 seams to work fine on this
Andro-Marian commentedon Aug 3, 2025
This seams to be happening if the Leds count are 30. If i bigger the crash not occurs for some reason.
Need a way to debug this but not sure how. I don't know if here is a way to download all the previous builds to try.
Andro-Marian commentedon Aug 4, 2025
I think the: #4658 adds this bug somehow
DedeHai commentedon Sep 17, 2025
There are still bugs in 2D setup, but I was not able to find it yet. see #4911
DedeHai commentedon Sep 17, 2025
@Gawd21 in your config: is the number of leds smaller than the size of the matrix?
DedeHai commentedon Sep 17, 2025
if you set your LEDs to 100 and then set 2D, does it work i.e. is it the same bahaviour as in #4911 ? If leds are off it works?
The setting LEDs to 2 may be an outlier but still useful info.
DedeHai commentedon Sep 17, 2025
It is a bit of a mystery bug. If you could confirm or deny whats in the other issue (i.e. LEDs on/off and number of LEDs < matrix size) that would be helpful. please report in the other issue so its easier to track.
github-actions commentedon Jan 28, 2026
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED! ✨
DedeHai commentedon Jan 28, 2026
fixed in #5023