Constantly crashing on OSX 10.11.6 when opening/adding picture to playlist (GPU)

Hello,

I am running Shotcut 16.19.01 on OSX 10.11.6. The machine supports GPU processing (using nVidia drivers).

The following is always reproduceable: when working on a project adding a JPEG file makes the application crash. The issue appears also on an empty project as well; clicking “Open file” and selecting any JPEG file, terminates abnormally the application (and the Apple error reporting appears).

I’ve also performed this test using an Arch Linux machine: created a simple project on Shotcut in Arch that contained a JPEG picture. Shotcut on Arch always opens and works fine with this .mlt project. Upon opening the same .mlt file under OSX, Shotcut crashes.

If there is any way that I can get a detailed log file out of the program on OSX, please let me know so that I can post it here and help fixing this error.

Thank you very much in advance for your help.

might be this pic will help (I also have a crash report, about 800 lines) - I even had those crashes in earlier releases so I deactivated “GPU” - shotcut is still pretty fast :wink:

1 Like

Thank you very much for the suggestion.
Indeed, it was the GPU processing option; I’d never thought of deactivating it after successfully using it for two other projects (with no static pictures).

Just a reminder that GPU processing is still experimental, so one of the first things to do when you’re trying to confirm a bug is to disable it. Thank you @Fossi for resolving this. :slight_smile:

In earlier releases I realized that a project saved with GPU-mode could not be opened without GPU-mode but I didn’t examine the XML-data of the project-file for possibilities to switch the project back later.
For me the conclusion is just to ignore GPU-feature as long as it is beta.

Part of Crashreport perhaps usefull for you programmers:

Process:               Shotcut [1557]
Path:                  /Applications/Shotcut.app/Contents/MacOS/Shotcut
Identifier:            com.Meltytech.Shotcut
Version:               16.09 (16.09.01)
Code Type:             X86-64 (Native)
OS Version:            Mac OS X 10.11.6 (15G1004)
Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0:
--> 
    __TEXT                 0000000105c65000-0000000105f62000 [ 3060K] r-x/rwx SM=COW  /Applications/Shotcut.app/Contents/MacOS/Shotcut

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   QtCore                            0x000000010620498d QThreadStorageData::get() const + 45
1   QtCore                            0x00000001061e06c9 QUnifiedTimer::instance(bool) + 25
2   QtCore                            0x00000001061e237a QAnimationTimer::startAnimations() + 42
3   QtCore                            0x00000001063e1153 QObject::event(QEvent*) + 739
4   QtWidgets                         0x0000000106ef3f97 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 295
5   QtWidgets                         0x0000000106ef74db QApplication::notify(QObject*, QEvent*) + 8459
6   QtCore                            0x00000001063b6220 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 160
7   QtCore                            0x00000001063b6eb1 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 609
8   libqcocoa.dylib                   0x000000010d73599e QCocoaEventDispatcherPrivate::processPostedEvents() + 190
9   libqcocoa.dylib                   0x000000010d7362a1 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
10  com.apple.CoreFoundation          0x00007fff89a0a881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
11  com.apple.CoreFoundation          0x00007fff899e9fbc __CFRunLoopDoSources0 + 556
12  com.apple.CoreFoundation          0x00007fff899e94df __CFRunLoopRun + 927
13  com.apple.CoreFoundation          0x00007fff899e8ed8 CFRunLoopRunSpecific + 296
14  com.apple.HIToolbox               0x00007fff9285d935 RunCurrentEventLoopInMode + 235
15  com.apple.HIToolbox               0x00007fff9285d76f ReceiveNextEventCommon + 432
16  com.apple.HIToolbox               0x00007fff9285d5af _BlockUntilNextEventMatchingListInModeWithFilter + 71
17  com.apple.AppKit                  0x00007fff967e7df6 _DPSNextEvent + 1067
18  com.apple.AppKit                  0x00007fff967e7226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
19  com.apple.AppKit                  0x00007fff967dbd80 -[NSApplication run] + 682
20  libqcocoa.dylib                   0x000000010d73510f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2159
21  QtCore                            0x00000001063b2721 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
22  QtCore                            0x00000001063b691a QCoreApplication::exec() + 346
23  com.Meltytech.Shotcut             0x0000000105c6cb84 main + 1172
24  com.Meltytech.Shotcut             0x0000000105c6c6e4 start + 52

When attempting to load a project saved with GPU processing, but currently turned off, there should be a message saying that the project uses GPU effects. This happens even if you attempt to open the project directly from the file. I’m assuming you get this crash instead of the message.

The crash report says this is in version 16.09.01. If you didn’t receive the message, the crash may have been caused by trying to send it.

Also, sorry for the late reply, I’ve been at a conference the past three days.