Crash / segfault in simple desk

Report an issue that you found while using QLC+ 5.x.
Please provide as many details as you can, a sample workspace if available and don't forget to read the forum posting guidelines first !
Post Reply
fnetx
Posts: 4
Joined: Wed Mar 15, 2023 9:54 pm
Real Name: Otto Richter

Hi,

I'm having trouble building the software from source, so I just grabbed https://www.qlcplus.org/downloads/test/ ... 4.AppImage which seemed somewhat recent. The commit log since that date don't seem to mention related issues.

What I do:

- create two dimmers (can be generic dimmers or spotlights)
- switch to simple desk
- raise fader one
- raise fader two
- observe crash

It is reproducible for me with the attached showfile;:
- go to simple desk
- raise fader 1
- raise fader 2

Result:

Log excerpt:

Code: Select all

[MainView2D] Creating fixture with ID 0 0 0 pos: QVector3D(1342.52, 1000, 1940.45)
[MainView2D] Creating fixture with ID 1 0 0 pos: QVector3D(1692.52, 1000, 1940.45)
Universe thread started 0
void Universe::updateIntensityChannelsRanges() : 1 ranges
Universe thread started 1
Universe thread started 2
Universe thread started 3
[Simple Desk] set value for fixture 0 channel 0 value 2
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 3
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
Generic fader with priority 2 registered at pos 0 , count 1
[Simple Desk] set value for fixture 0 channel 0 value 5
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 10
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 16
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 26
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 32
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 42
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 48
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 58
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 71
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 85
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 108
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 117
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 136
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 155
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 161
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 165
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 172
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 178
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 197
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 225
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 245
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] set value for fixture 0 channel 0 value 248
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 0 channel 0 value 255
Found match at 0 QVariant(SceneValue, ) QVariant(SceneValue, )
Got action: 0xC000, history length: 1 (1)
[Simple Desk] get fader for universe 0 fixture 0 channel 0
[Simple Desk] set value for fixture 1 channel 0 value 1
Got action: 0xC000, history length: 2 (2)
[Simple Desk] get fader for universe 8388607 fixture 4294967295 channel 4294967295
Segmentation fault (core dumped)
Full log:
https://paste.debian.net/hidden/374d9d6f/

I didn't find recent bug reports of a similar issue, but I understand that I might have missed them. Thank you for working on this project.
Attachments
demo.qxw
(2.93 KiB) Downloaded 298 times
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

I tested on Ubuntu 22.04 with same test version, no crash here.
kenact
Posts: 433
Joined: Thu Apr 23, 2015 6:43 am
Real Name: Ken Coughlin

Tested on Windows 10 x64, 5 beta 2, no crash.
pabo
Posts: 4
Joined: Thu Feb 27, 2020 6:06 pm
Real Name: Pierre

Same crash on windows 11
giacomo
Posts: 553
Joined: Tue May 26, 2015 6:17 pm
Real Name:

Same issue here, debian 12 with the last appimage 20230307.
I had this issue last Saturday, systematically, my file was 5 months old so I thought that maybe it was a version problem.
Tested again now with the new file uploaded and I confirm the crash.
User avatar
GGGss
Posts: 3052
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

Windows here - latest GIT - NO crash
All electric machines work on smoke... when the smoke escapes... they don't work anymore
fnetx
Posts: 4
Joined: Wed Mar 15, 2023 9:54 pm
Real Name: Otto Richter

I confirm this is still present. I can add that this problem is only for different fixtures. If you add fixtures with multiple channels, it does work until you fade a second fixture.
ramack
Posts: 3
Joined: Thu Nov 02, 2023 7:18 pm
Real Name: Rapha Mack

I tried QLC5 (beta3-test as I am on Debian linux and beta2 directly crashed with the `GLIBC_2.34' not found.

But I'd like to highlight, that I face the same trouble as described here:
as soon as I try to raise a fader for the second fixture in the simple desk I get a seg fault as it tries to access an unexisting fixture on a weird universe:

Code: Select all

[Simple Desk] get fader for universe 8388607 fixture 4294967295 channel 4294967291
Currently I am not in the mood to compile and debug it myself, but if I can help something with testing I'd like to help!

(If you prefer this as an issue on github, let me know)

Thanks for the great work!
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Which beta3-test exactly?
ramack
Posts: 3
Joined: Thu Nov 02, 2023 7:18 pm
Real Name: Rapha Mack

mcallegari wrote: Tue Nov 07, 2023 12:44 pm Which beta3-test exactly?
I have here QLC+_5.0.0_beta3-TEST-20230307-x86_64.AppImage from where I don't remember, but beta2 (QLC+_5.0.0_beta2-x86_64.AppImage) fails with:

Code: Select all

qlcplus-qml: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by qlcplus-qml)
and I remember that I searched for the issue and found a link in some (forum?) post to this beta3. If I can try something else, let me know.
Post Reply