shotcut icon indicating copy to clipboard operation
shotcut copied to clipboard

Segmentation fault when close before waveform is calculated completely

Open davidak opened this issue 9 years ago • 6 comments
trafficstars

Shotcut version 16.03.01 OS X 10.10.5 (14F1509)

don't happen if i just start and exit without loading project.

osx_crash_report.txt

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

davidak avatar Mar 10 '16 20:03 davidak

Is this with GPU processing enabled?

ddennedy avatar Mar 10 '16 21:03 ddennedy

No, also without GPU processing.

davidak avatar Mar 11 '16 19:03 davidak

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?

ddennedy avatar Mar 13 '16 00:03 ddennedy

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.

davidak avatar Mar 13 '16 14:03 davidak

Still happens with v16.04

davidak avatar Apr 03 '16 16:04 davidak

Low priority

ddennedy avatar Apr 03 '16 18:04 ddennedy