When trying to sync audio, kdenlive segfaults. The video is almost 2hrs. The video is a h.264/mkv file, audio in 48k with 9.5GB size. the audio is a 44k wav from a Zoom H5. This happens to 15.04.01, 15.04.02 and 15.07.0+git20150721.b1f0d (sunabs svn). This seems to be very close to this one: https://bugs.kdenlive.org/view.php?id=3264 The backtrace is: rogram received signal SIGSEGV, Segmentation fault. 0x000000000083e45c in FFTCorrelation::convolve(float const*, int, float const*, int, float*) () (gdb) bt #0 0x000000000083e45c in FFTCorrelation::convolve(float const*, int, float const*, int, float*) () #1 0x000000000083e0f8 in FFTCorrelation::correlate(long long const*, int, long long const*, int, float*) () #2 0x000000000083dd10 in FFTCorrelation::correlate(long long const*, int, long long const*, int, long long*) () #3 0x000000000083a64d in AudioCorrelation::slotProcessChild(AudioEnvelope*) () #4 0x000000000096ba0b in AudioCorrelation::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () #5 0x00007ffff24379c9 in QMetaObject::activate (sender=0x24344d0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffd2d0) at kernel/qobject.cpp:3716 #6 0x000000000096bfce in AudioEnvelope::envelopeReady(AudioEnvelope*) () #7 0x000000000083c5e5 in AudioEnvelope::slotProcessEnveloppe() () #8 0x000000000096bda1 in AudioEnvelope::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () #9 0x00007ffff24379c9 in QMetaObject::activate (sender=0x24344f8, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3716 #10 0x00007ffff21c00ec in QFutureWatcherBase::event (this=<optimized out>, event=0x7fff799df3d0) at thread/qfuturewatcher.cpp:338 #11 0x00007ffff4965b2c in QApplicationPrivate::notify_helper (this=0xcba130, receiver=0x24344f8, e=0x7fff799df3d0) at kernel/qapplication.cpp:3720 #12 0x00007ffff496b000 in QApplication::notify (this=0x7fffffffdaa0, receiver=0x24344f8, e=0x7fff799df3d0) at kernel/qapplication.cpp:3503 #13 0x00007ffff2406c2b in QCoreApplication::notifyInternal (this=0x7fffffffdaa0, receiver=0x24344f8, event=event@entry=0x7fff799df3d0) at kernel/qcoreapplication.cpp:935 #14 0x00007ffff2408c9b in sendEvent (event=0x7fff799df3d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228 #15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xcb73c0) at kernel/qcoreapplication.cpp:1552 #16 0x00007ffff2409298 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410 #17 0x00007ffff245f843 in postEventSourceDispatch (s=0xd43200) at kernel/qeventdispatcher_glib.cpp:271 #18 0x00007fffecd43c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007fffecd43f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #20 0x00007fffecd43fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007ffff245fc57 in QEventDispatcherGlib::processEvents (this=0xcb3ca0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #22 0x00007ffff24043e2 in QEventLoop::exec (this=this@entry=0x7fffffffd980, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #23 0x00007ffff240c02c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #24 0x00000000009077e6 in main () Reproducible: Always
It is important to note that smaller files (30m, 2GB, AVCHD .mts) does not trigger this bug.
In further tests, I noticed that it is not the size of the file that matters, but the length. It happens for example with 2 audio files trying to sync with each other. (1h45) I also noticed that the reference audio, can have any length. It is the length of the clip that is trying to sync with the reference that matters. Reference: 1h45 Clip: 1h45 Result: Crash Reference: 1h45 Clip: 39m Result: Sync
Hi, Have you tried this with latest 16.04.2 series to see if it still happens?