Page 1 of 1

Crash when using faders in chaser

Posted: Tue Oct 01, 2019 7:40 pm
by daniyaltahir
Hello,

I am testing using version 20190217, using the image sent to me after making the donation. My use case is to have chasers running 24/7, with only RGB LEDs and no other fixtures.

When using a chaser that loops through multiple scenes, I find that the loop runs fine as long as there is no fade-in/fade-out between scenes. However, when using fade-in and/or fade-out functionality, I notice that the qlcplus binary crashes on the RPi after a few hours of operation. I also noticed that the %CPU used by qlcplus increases over time, until it eventually crashes. The CPU% is stable when there are no faders and the program does not crash. Perhaps this is unrelated and normal for faders? I see %CPU go up to 300% at times.

I ran the qlcplus binary with gdb to troubleshoot further. Attached below is the output from the crash after a few hours of running a chaser with faders.

gdb_output.txt
(2.28 KiB) Downloaded 44 times

I hope you can provide some help to resolve this issue. Please let me know if I can provide any clarification and/or more information regarding the issue. Looking forward to hearing back from you, thanks in advance!

Re: Crash when using faders in chaser

Posted: Wed Oct 02, 2019 6:48 am
by mcallegari
Can you please provide your project file so that I can do some tests with it?

Re: Crash when using faders in chaser

Posted: Wed Oct 02, 2019 2:18 pm
by daniyaltahir
For sure, it is attached below. Of the two chasers in the project, the one named "Rainbow" works fine, but the one called "Rainbow Fade" crashes after a while (and increases %CPU steadily).
DEMO_FADER.qxw
(364.45 KiB) Downloaded 37 times

Re: Crash when using faders in chaser

Posted: Thu Oct 03, 2019 7:45 am
by mcallegari
Thanks for the project but wait! Latest image is 20190825.
You should have received an email with the download links.
Please check cause that might solve your situation. I am testing your project with the latest QLC+ and I don't see leaks or increase in resource usage.

Re: Crash when using faders in chaser

Posted: Fri Oct 04, 2019 1:51 pm
by daniyaltahir
Ah, I started working on this project before the latest image was released! I will try it out on the newest version and let you know! Thanks!

Re: Crash when using faders in chaser

Posted: Mon Oct 07, 2019 2:34 pm
by daniyaltahir
Hey mcallegari,

I tested with the latest version and am no longer having this issue. Thanks a lot!