-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Crashes when leds length is 3 #4120
Comments
Can you, please, use exception decoder and provide decoded output? |
If you can help me with a guide on VSCode how to debug, because I already try and it was unsuccessful. I will try when I wake up tomorrow. |
Please use WLED forum or Discord for that. It has been answered many times before. |
From the crash dump you provided it can be seen that the crash happens in system libraries (WiFi UDP) during handleNotification(). handleNotification() is used if you have sync receive enabled and slave device listens for sync messages. I would suspect a rogue packet... And BTW, please use 0.15 when submitting bugs. 0.14 will not receive updates any more and several bugs were fixed in 0.15 already. |
The Sync button is not activated. About that you say? |
That button is for master aka sender. This is for slave aka receiver. It is always active but you can disable receiving by unchecking all receive groups. |
Also, the 0_15 branch takes (41 seconds) than latest 0.15.0-b4 release to reboot. |
Again your crash dump shows abort from within system libraries (possibly OOM during network packet receive). I urge you to use Wireshark and monitor network traffic to and from the ESP that is crashing. There is of course a possibility that there is a memory leak somewhere within WLED but that is impossible to tell from these crash dumps. |
I don't think is a network issue. Another use managed it to reproduce on discord. On the 0.15.0-b4 sometimes the crash happens after leaving the Fireworks 1D to Solid than on 0.14 Still crashes with WLED-AP connected with phone. |
Reproduced on my test setup, investigating now |
Attempt to allocate enough room for the "minimum" sparks; and ensure that we never overrun the allocated array size. Fixes Aircoookie#4120
Attempt to allocate enough room for the "minimum" sparks; and ensure that we never overrun the allocated array size. Fixes Aircoookie#4120
Attempt to allocate enough room for the "minimum" sparks; and ensure that we never overrun the allocated array size. Fixes Aircoookie#4120
Attempt to allocate enough room for the "minimum" sparks; and ensure that we never overrun the allocated array size. Fixes #4120
Fix is merged in 0_15. |
What happened?
WLed crashes when setting some effects like Fireworks 1D
To Reproduce Bug
Expected Behavior
To work fine.
Install Method
Binary from WLED.me
What version of WLED?
0.14.4, 0.15.0-b4
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
abort() was called at PC 0x4008f49c on core 0 ELF file SHA256: 0000000000000000 Backtrace: 0x4008a7b8:0x3ffb7710 0x4008ab15:0x3ffb7730 0x4008f49c:0x3ffb7750 0x4008f9b4:0x3ffb7770 0x4008600d:0x3ffb7790 0x4008603e:0x3ffb77b0 0x4008645d:0x3ffb77d0 0x4000beaf:0x3ffb77f0 0x40084081:0x3ffb7810 0x4018a2b1:0x3ffb7830 0x401a1ce9:0x3ffb7850 0x4019cf91:0x3ffb7870 0x4014dc73:0x3ffb7890 0x4014dcdb:0x3ffb78b0 0x4008c55e:0x3ffb78d0 Rebooting... ets Jul 29 2019 12:21:46 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DOUT, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:10124 load:0x40080400,len:5828 entry 0x400806a8 Ada
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: