You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing colours can cause WLED to crash and reboot (Lost connection to device warning).
To Reproduce Bug
Crashed on me when using Bouncing Balls effect and selecting a new colour.
Crashed when Aura was selected and tried to increase brightness in the effect settings slider.
Meteor Smooth Crashed when changed colour
Expected Behavior
Not to crash and reboot and effect colour changes
Install Method
Self-Compiled
What version of WLED?
0.14.1.b1
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
No response
Anything else?
Downgraded to Gold Release of 14.0 and everything working as expected.
Says I self compiled which I didn't unless that means also downloading the file from here and installing, wasn't edited in anyway nor did I install it via the web installer.
🤔 the common part of this problem description is performing UI actions (changing color, change global brightness) on 8266. Depending on how the UI sliders were used ("dragged" or "tapping") this could create a load of WS messages.
We have a known issue on 8266 when many UI events are received in short time, and memory is low. Maybe these problems are related: #3443, #3458, #3382, #3492
I just find it strange how downgrading has fixed it, updating to latest beta release same issue occurs.
Will try the debug build and see if it happens and post any logs.
I can confirm the problem.
If I want to create a preset for candle multi, for example, and then change the colors or brightness, the D1 mini (ESP8266) loses the connection. If that still works, you can't start the preset with the quick load button.
This problem only occurs in 0.14.1-b1, it is not a problem with 0.14.0.
I'm seeing this as mentioned in #3613, this is on a brand new d1 mini esp32, mounted in a DigUno with a 5V 6A PSU.
I rebuilt the config, so that's brand new, but my presets were backed up and restored from the previous esp8266.
I've attached my presets here: wled_presets_Christmas tree.json
hi got same problem with esp8266 d1 mini and Candle Multi with red and orange. Where can i find a debug bin to check
thx
This has been fixed in latest master source, so debug not needed, debug firmware is the same, just used to log data so can find the issue more easily. You need to download the latest source file and compile the firmware yourself. If not able to create your own, downgrade to Master 0.14.0 release until 0.14.1 Master is released. :)
I think the joy was premature and too great, but unfortunately I still have the problem, now it takes longer until it occurs, but after a certain time it restarts and then lights up in standard orange.
Can anyone else confirm this?
I think the joy was premature and too great, but unfortunately I still have the problem, now it takes longer until it occurs, but after a certain time it restarts and then lights up in standard orange. Can anyone else confirm this?
I'm also observing occasional reboots on my ESP8266 setup. I think it's a different issue, though. I've been trying to pin it down for about a week -- it's definitely not related to the FX or transition logic, nor is it a heap exhaustion issue (I've enabled the allocator instrumentation to be sure) -- though applying heap pressure does seem to make it more likely to occur, which leads me to believe we might be looking for another use-after-free somewhere in the network layers.
ATM I am afraid all of the bells and whistles we added to 0.14 may be a bit too much (paired with newer ESP core needed for 0.14) for poor ESP8266. If possible switch to ESP32 or use WLED 0.13.3 for the time being.
I'm beginning to suspect it's an internal bug in the newer ESP core. Still investigating; these "hard wdt" crashes don't have much to say on the console, can take a long time to reproduce, and I'm still learning how to elicit more useful debugging information.
Activity
blazoncek commentedon Dec 22, 2023
Sorry, cannot reproduce.
Please use debug build and post crash dump.
softhack007 commentedon Dec 22, 2023
🤔 the common part of this problem description is performing UI actions (changing color, change global brightness) on 8266. Depending on how the UI sliders were used ("dragged" or "tapping") this could create a load of WS messages.
We have a known issue on 8266 when many UI events are received in short time, and memory is low. Maybe these problems are related: #3443, #3458, #3382, #3492
Doyle4 commentedon Dec 22, 2023
I just find it strange how downgrading has fixed it, updating to latest beta release same issue occurs.
Will try the debug build and see if it happens and post any logs.
ihavenonick commentedon Dec 23, 2023
I can confirm the problem.
If I want to create a preset for candle multi, for example, and then change the colors or brightness, the D1 mini (ESP8266) loses the connection. If that still works, you can't start the preset with the quick load button.
This problem only occurs in 0.14.1-b1, it is not a problem with 0.14.0.
blazoncek commentedon Dec 23, 2023
Pleas check available heap prior to crash and report.
It would also be helpful if you'd post configuration (cfg.json) and presets (preset.json)
ihavenonick commentedon Dec 23, 2023
wled_cfg_Schlafzimmer Wand.json
wled_presets_Schlafzimmer Wand.json
blazoncek commentedon Dec 23, 2023
I was able to reproduce, though it is sporadic and is not consistently reproducible.
It looks like temporary RAM depletion.
If you do not need websockets and/or MQTT please compile ESP8266 version without websockets and MQTT to free some RAM.
Doyle4 commentedon Dec 24, 2023
Forgot to mention I'm using a D1 Mini also as I see someone mentioned and managed to reproduce.
Will compile with latest beta without websockets etc.
Thanks to all looking into this.
jcPOLO commentedon Dec 24, 2023
it happened to me with an ESP32 too. I will try to give more information in a few days.
fribse commentedon Dec 25, 2023
I'm seeing this as mentioned in #3613, this is on a brand new d1 mini esp32, mounted in a DigUno with a 5V 6A PSU.
I rebuilt the config, so that's brand new, but my presets were backed up and restored from the previous esp8266.
I've attached my presets here:
wled_presets_Christmas tree.json
blazoncek commentedon Dec 25, 2023
If you want a speedy resolution, get a debug build and post crash dump something similar to above.
Possible bugfix for #3609 #3616
10 remaining items
Possible bugfix for wled#3609 wled#3616
orichienal commentedon Dec 28, 2023
hi
got same problem with esp8266 d1 mini and Candle Multi with red and orange.
Where can i find a debug bin to check
thx
Doyle4 commentedon Dec 29, 2023
This has been fixed in latest master source, so debug not needed, debug firmware is the same, just used to log data so can find the issue more easily. You need to download the latest source file and compile the firmware yourself. If not able to create your own, downgrade to Master 0.14.0 release until 0.14.1 Master is released. :)
fribse commentedon Dec 29, 2023
Get the B2, it looks like it's fixed
Possible bugfix for wled#3609 wled#3616
orichienal commentedon Dec 30, 2023
Got the B2 installed and let it run the whole night with candle multi and its still "burning", nice
great job and thanks for the work
orichienal commentedon Jan 4, 2024
I think the joy was premature and too great, but unfortunately I still have the problem, now it takes longer until it occurs, but after a certain time it restarts and then lights up in standard orange.
Can anyone else confirm this?
willmmiles commentedon Jan 5, 2024
I'm also observing occasional reboots on my ESP8266 setup. I think it's a different issue, though. I've been trying to pin it down for about a week -- it's definitely not related to the FX or transition logic, nor is it a heap exhaustion issue (I've enabled the allocator instrumentation to be sure) -- though applying heap pressure does seem to make it more likely to occur, which leads me to believe we might be looking for another use-after-free somewhere in the network layers.
blazoncek commentedon Jan 5, 2024
Thanks @willmmiles for troubleshooting.
ATM I am afraid all of the bells and whistles we added to 0.14 may be a bit too much (paired with newer ESP core needed for 0.14) for poor ESP8266. If possible switch to ESP32 or use WLED 0.13.3 for the time being.
willmmiles commentedon Jan 5, 2024
I'm beginning to suspect it's an internal bug in the newer ESP core. Still investigating; these "hard wdt" crashes don't have much to say on the console, can take a long time to reproduce, and I'm still learning how to elicit more useful debugging information.
blazoncek commentedon Jan 5, 2024
@willmmiles We can see heap corruption (#3641 ) on some ESP8266 which happens somewhere in TCP code. I'd be glad if your expertise can help.
Possible bugfix for wled#3609 wled#3616
Possible bugfix for wled#3609 wled#3616