shotcut
shotcut copied to clipboard
Segmentation fault when close before waveform is calculated completely
Shotcut version 16.03.01 OS X 10.10.5 (14F1509)
don't happen if i just start and exit without loading project.
terminal output:
[Debug ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] <> generating audio levels for /Users/davidak/Movies/Salat/Kamera 2/03102016121528.mov
[Debug ] <> exiting
Segmentation fault: 11
Is this with GPU processing enabled?
No, also without GPU processing.
I have not reproduced it. Here is the relevant portion of the crash report:
Thread 6 Crashed:: Thread (pooled)
0 QtCore 0x000000010052100e QMetaObject::activate(QObject*, int, int, void**) + 62
1 QtCore 0x00000001005a218d QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) + 61
2 com.Meltytech.Shotcut 0x0000000100114446 MultitrackModel::audioLevelsReady(QModelIndex const&) + 134
Basically, the background thread for generating audio waveforms for the timeline was sending an update for the timeline. Armed with that hint, I tried to reproduce it, but still not. Maybe it was a special coincidence/timing of sending waveforrm update at same time as exit.
Is this repeatable for you?
It is reproducible every time when it is closed before the waveform is calculated completely.
Just import a long video and exit directly.
I have also recorded a screencast of it, i can upload it if it's helpful to see it.
Still happens with v16.04
Low priority