Page 1 of 1

QLC Crash (4.12.3,4,5)

Posted: Thu Jan 06, 2022 10:06 pm
by sandinak
So running a simple matrix of 8x64 LEDS over ArtNet:

Code: Select all

% time /Applications/QLC+.app/Contents/MacOS/qlcplus -o ~/Desktop/4-step-test.qxw
2022-01-06 14:22:30.573 qlcplus[2224:63065] ApplePersistence=NO

Q Light Controller Plus version 4.12.3
This program is licensed under the terms of the Apache 2.0 license.
Copyright (c) Heikki Junnila (hjunnila@users.sf.net)
Copyright (c) Massimo Callegari (massimocallegari@yahoo.it)

qlcplus(2224,0x700001192000) malloc: Double free of object 0x7fd72d6ec9e0
qlcplus(2224,0x700001192000) malloc: *** set a breakpoint in malloc_error_break to debug
[2]    2224 abort      /Applications/QLC+.app/Contents/MacOS/qlcplus -o ~/Desktop/4-step-test.qxw
/Applications/QLC+.app/Contents/MacOS/qlcplus -o ~/Desktop/4-step-test.qxw  48.80s user 14.85s system 9% cpu 10:51.46 total
This is a fresh boot on MacOS 10.15.7 on 2013 iMac with 3.2G I5 and 32G of Memory. The show file is a simple one with UltraDMX Micro on U1 and ArtNet Unicast on 2,3,4,5 to 172.18.1.73. I have tested on 4.12.3, 4 and the latest 5.

What's odd is I have run WAY bigger matrix sets on 4.12.3 before .. I didn't have time to exhaustively test tonight. but will bring a few other Mac's out tomorrow and do that. Any help appreciated.

Re: QLC Crash (4.12.3,4,5)

Posted: Fri Jan 07, 2022 7:48 am
by mcallegari
Hi Branson, how do I reproduce the crash? Previewing the matrix?

Re: QLC Crash (4.12.3,4,5)

Posted: Fri Jan 07, 2022 11:04 am
by sandinak
Yes .. ran the matrix under Plasma with Fire setting.. and interval pf 50ms.

Re: QLC Crash (4.12.3,4,5)

Posted: Thu Jan 13, 2022 3:18 pm
by sandinak
So a quick update here.. seems tied to the shop Mac for some reason. I can run it on the 2020 iMac 3.8G i7 with 128 G .. and it's stable. I see no memory leaks or other things. I will be testing on the show hardware this week and updating again .. but it could be just the shop mac has some odd issue .. for the life of me I can't guess what that could be that would throw a double-free malloc issue, but I'd entertain any guesses ;)

Re: QLC Crash (4.12.3,4,5)

Posted: Mon Jan 24, 2022 3:29 pm
by sandinak
Ok .. Further update .. I can confirm it's tied to the networking somehow. On my desktop mac I was starting the showfile and about 1 time in 4 it would work .. the rest of the time it would die with

Code: Select all

qlcplus(20268,0x70000cff3000) malloc: *** error for object 0x7f96395042c0: pointer being freed was not allocated
qlcplus(20268,0x70000cff3000) malloc: *** set a breakpoint in malloc_error_break to debug
sendDmx failed
Errno:  QAbstractSocket::SocketError(22)
Errmgs:  "Unable to send a datagram"
sendDmx failed
Errno:  QAbstractSocket::SocketError(22)
Errmgs:  "Unable to send a datagram"
[1]    20268 abort      /Applications/QLC+.app/Contents/MacOS/qlcplus -d 1 -o ./CR-New.qxw
Seems inconsistent. The Workshop Mac has native, wireless and a USB NIC .. which is what I thought was causing it .. my desktop only has wired NIC with some VLANS. Normally once it's up it's fine on my Desktop .. runs stable .. no crashes even under heavy load ( all matrixes active .. etc. ). I will test on a few other Macs with varying networking config and update here. Any help is appreciated!!

https://sandsite.org/downloads/CR-New.qxw