Page 1 of 1

Simple Desk crash when View Mode set to fixture channels

Posted: Fri Jan 06, 2017 10:10 pm
by markonian
QLC+ 4.10.5b
OSX 10.12.2 (doesn't depend on OS version)
Channel Groups used
example config: https://dl.dropboxusercontent.com/u/569 ... 20Farm.qxw
Using Artnet plugin

1. Startup QLC+ and open the example config.

2. Select Simple Desk tab. Select Channel Groups tab. Universe will be Universe 1. Observe that you can move the Pixel Red slider with no crash.

3. Click on View Mode to set it to "fixture channels". Now move the "Pixel Red" Channel Group slider. The QLC+ application will crash when the Channel Group slider is moved even the slightest amount.

4. The crash does not seem to occur if NONE of the channels currently being displayed are in the channel group corresponding to the Channel Group Slider being moved. For example, in Universe 1 there are no channels in the "DotStar Disk Red" channel group. Moving the "DotStar Disk Red" channel group slider DOES NOT cause a crash. However, navigate to Universe 3 which does have channels in the "DotStar Disk Red" channel group. Now, the "DotStar Disk Red" channel group slider DOES cause a crash, but the "Pixel Red" Channel Group slider DOES NOT cause a crash because none of the channel Sliders in that group are visible.

Re: Simple Desk crash when View Mode set to fixture channels

Posted: Fri Jan 06, 2017 10:36 pm
by markonian
One more data point... this bug is not newly introduced in this version. I had to go back to 4.9.1 to find a version not having this bug.

Re: Simple Desk crash when View Mode set to fixture channels

Posted: Sat Jan 07, 2017 8:01 am
by janosvitok
Confirmed. I can easily reproduce the crash. It happens here:
https://github.com/mcallegari/qlcplus/b ... k.cpp#L847
fc is 0

I don't have time now to find more.

Re: Simple Desk crash when View Mode set to fixture channels

Posted: Sat Jan 07, 2017 12:54 pm
by mcallegari
Fixed on GIT
I will build a macOS test version when I have some time.

@Jano: please track these down on GitHub, otherwise they risk to be lost forever. See https://github.com/mcallegari/qlcplus/issues/919