Crash on MacOS With Enttec DMX USB Pro

Generic issues not specifically related to a QLC+ area.
Post here only if you can't really find the reason of an issue
Post Reply
jeffc3nc
Posts: 1
Joined: Sun Dec 04, 2022 5:22 am
Real Name:

Hi,

I've been creating a light system with QLC+ for an event I'm doing in January.

Have a late 2014 Mac mini with Monterey installed and an Enttec DMX USB Pro interface. QLC is the most recent Mac release.

QLC is fabulous. I quickly learned how to define and control my lights. But I'm getting a sporadic crash. It will happen with nothing pressed in the window. Message is:

022-12-04 02:33:59.140125-0500 qlcplus[39097:1010536] It's not legal to call -layoutSubtreeIfNeeded on a view which is already being laid out. If you are implementing the view's -layout method, you can call -[super layout] instead. Break on void _NSDetectedLayoutRecursion(void) to debug. This will be logged only once. This may break in the future.
qlcplus(39097,0x1000a0600) malloc: Heap corruption detected, free list is damaged at 0x6000018b8b00
*** Incorrect guard value: 34359738373
qlcplus(39097,0x1000a0600) malloc: *** set a breakpoint in malloc_error_break to debug
(lldb)

In several cases I got this traceback in the error dump:

Thread 7 Crashed:: EnttecDMXUSBProInput
0 libsystem_kernel.dylib 0x7ff80ba5d00e __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff80ba931ff pthread_kill + 263
2 libsystem_c.dylib 0x7ff80b9ded24 abort + 123
3 libsystem_malloc.dylib 0x7ff80b8bc357 malloc_vreport + 551
4 libsystem_malloc.dylib 0x7ff80b8d0308 malloc_zone_error + 178
5 libsystem_malloc.dylib 0x7ff80b8af0e8 nanov2_allocate_from_block + 582
6 libsystem_malloc.dylib 0x7ff80b8ae677 nanov2_allocate + 130
7 libsystem_malloc.dylib 0x7ff80b8ae5a4 nanov2_malloc + 56
8 libsystem_malloc.dylib 0x7ff80b8caabb _malloc_zone_malloc + 125
9 QtCore 0x10ea7d030 QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) + 144
10 QtCore 0x10eb062e3 QString::QString(int, Qt::Initialization) + 35
11 QtCore 0x10ecadaae 0x10ea4d000 + 2493102
12 QtCore 0x10eb114b6 QString::fromUtf8_helper(char const*, int) + 22
13 QtCore 0x10ec480d4 QCoreApplication::translate(char const*, char const*, char const*, int) + 292
14 QtCore 0x10ec4cf4a QMetaObject::tr(char const*, char const*, int) const + 106
15 QtSerialPort 0x12645fb29 0x12645d000 + 11049
16 QtSerialPort 0x126464faa 0x12645d000 + 32682
17 QtSerialPort 0x126464df4 0x12645d000 + 32244
18 libdmxusb.dylib 0x1264942f0 QtSerialInterface::readByte(bool*) + 48
19 libdmxusb.dylib 0x12648744e readData(DMXInterface*, QByteArray&, bool&, bool) + 46
20 libdmxusb.dylib 0x126489c51 EnttecDMXUSBProInput::run() + 97
21 QtCore 0x10ea6f619 0x10ea4d000 + 140825
22 libsystem_pthread.dylib 0x7ff80ba934e1 _pthread_start + 125
23 libsystem_pthread.dylib 0x7ff80ba8ef6b thread_start + 15

I thought I might be a build/libs issue, so I got the source from Git and installed the prerequisites and built (Version 4.12.7 GIT). But I still get the crash.

Any ideas?

Have been running using Xcode memory error detection tools, but haven't found anything.


Thanks,
Jeff
Post Reply