When I open Shotcut, I go to view and scopes. When trying to display audio loudness, Shotcut crashes and closes automatically. What’s occurring? Can someone help me?
what version, what OS?
Windows 11; Shotcut Version 23.09.29
Does the crash still occur if you try to open it without any clips open?
If you open file explorer, you can browse to the application log:
C:\Users\your-user-name\AppData\Local\Meltytech\Shotcut\shotcut-log.txt
Immediately after a crash, do not re-open Shotcut. Then, find this log file and upload it here. Maybe there is a clue in the log.
I reproduced it on macOS
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtCore.dylib 0x10401aae4 QObject::setProperty(char const*, QVariant const&) + 40
1 Shotcut 0x100a1ef94 AudioLoudnessScopeWidget::updateMeters() + 140
2 Shotcut 0x100a1ef94 AudioLoudnessScopeWidget::updateMeters() + 140
3 QtCore.dylib 0x10401a718 0x103f68000 + 730904
4 QtCore.dylib 0x10402d780 QTimer::timerEvent(QTimerEvent*) + 208
5 QtCore.dylib 0x104012cb4 QObject::event(QEvent*) + 88
6 QtWidgets.dylib 0x101556710 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
7 QtWidgets.dylib 0x1015576a8 QApplication::notify(QObject*, QEvent*) + 512
8 QtCore.dylib 0x103fd0e9c QCoreApplication::notifyInternal2(QObject*, QEvent*) + 292
9 QtCore.dylib 0x104137900 QTimerInfoList::activateTimers() + 948
10 libqcocoa.dylib 0x101ebc600 0x101ea8000 + 83456
11 CoreFoundation 0x1abed8ee4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
12 CoreFoundation 0x1abed8e30 __CFRunLoopDoSource0 + 208
13 CoreFoundation 0x1abed8b30 __CFRunLoopDoSources0 + 268
14 CoreFoundation 0x1abed74b0 __CFRunLoopRun + 828
15 CoreFoundation 0x1abed69d4 CFRunLoopRunSpecific + 600
16 HIToolbox 0x1b4b1f338 RunCurrentEventLoopInMode + 292
17 HIToolbox 0x1b4b1f0b4 ReceiveNextEventCommon + 564
18 HIToolbox 0x1b4b1ee68 _BlockUntilNextEventMatchingListInModeWithFilter + 72
19 AppKit 0x1aea3f4b8 _DPSNextEvent + 860
20 AppKit 0x1aea3ddb0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
21 AppKit 0x1aea2ff7c -[NSApplication run] + 596
22 libqcocoa.dylib 0x101ebd010 0x101ea8000 + 86032
23 QtCore.dylib 0x103fda2c0 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 532
24 QtCore.dylib 0x103fd1538 QCoreApplication::exec() + 128
25 Shotcut 0x1008baea8 main + 4664
26 dyld 0x100f7d08c start + 520
With or without something loaded.
The funny thing is that the Audio quick layout switcher that includes this scope is working for me. And then when I switch back to Editing I can open the scope in that layout now without crash. And now when I close and start Shotcut with that scope in that layout, it still works.
This is fixed for the next version.