Page 1 of 1

qlcplus 4.12.2 GIT Segmentation fault

Posted: Tue Apr 02, 2019 7:35 pm
by tolmino
Hi, i'm using qlcplus from a lot of time with qt4
today i have bought a new pc, i have installed Opensuse Leap 15.0 with qt5 and i have compiled qlcplus from git

Initially my user wasn't in dialout group and all FTDI-USB interfaces was identified with a lot of strange characters....
Now i'm in dialout group, and first FTDI-USB interface is still identified with strange characters, but the others are correctly identified.

I have a peperoni rodin 1 interface too and i can use it as an input interface and as an output one.
If i'm using it as output, when i leave checkbox for free it i have a segmentation fault (core dumped)

After that, when i restart qlcplus sometime all FTDI-USB interfaces are correctly identified, sometime not.

where i can find core dump so to attach it here?

Re: qlcplus 4.12.2 GIT Segmentation fault

Posted: Wed Apr 03, 2019 6:38 am
by mcallegari
[moderator] moved. posted in QLC+ 5 issues

Re: qlcplus 4.12.2 GIT Segmentation fault

Posted: Wed Apr 03, 2019 10:57 am
by tolmino
in Journalctl -f at time of crash i have:

kernel: usb3.-1: process 2544 (Universe) did not claim interface 0 before use
kernel: Universe[2544]: segfault at 0 ip 00007fe56182dc75 sp 00007fe5613f28b0 error 4 in libusb-0.1.so.4.4.4[7fe56182b000+4000]
kwin_x11[1878]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 32931, resource id: 54525961, major code: 15 (QueryTree), minor code: 0

Re: qlcplus 4.12.2 GIT Segmentation fault

Posted: Thu Apr 04, 2019 4:54 pm
by tolmino
same crash happen on USBDMX2.1

i think it may be the disctructor that don't call removeFromMap()

another think noticed is:
- if before uncheck peperoni_device_output_checkbox i check peperoni_device_input_checkbox on same interface, qlc don't crash