I tried importing the clip with the option disabled and no crash happens. Follow the steps and see. Reproducible: Always Steps to Reproduce: 1. Open Kdenlive 2. Go to Configure Kdenlive -> Misc 3. Enable "Check if first added clip matches project profile" 4. Import a clip into Project Bin Actual Results: Crash Expected Results: Kdenlive should switch the projects framerate accordingly. Thread 18 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff9c902700 (LWP 24868)] 0x00007fffe8e304c9 in glGenTextures () from /usr/lib/libGL.so.1 (gdb) thread apply all bt Thread 18 (Thread 0x7fff9c902700 (LWP 24868)): #0 0x00007fffe8e304c9 in glGenTextures () at /usr/lib/libGL.so.1 #1 0x00007fffaf9083d3 in movit::SingleResamplePassEffect::SingleResamplePassEffect(movit::ResampleEffect*) () at /usr/lib/libmovit.so.4 #2 0x00007fffaf908948 in movit::ResampleEffect::ResampleEffect() () at /usr/lib/libmovit.so.4 #3 0x00007fffafb54d70 in () at /usr/lib/mlt/libmltopengl.so #4 0x00007ffff6f95007 in mlt_frame_get_image () at /usr/lib/libmlt.so.6 #5 0x00007fffafb56083 in () at /usr/lib/mlt/libmltopengl.so #6 0x00007ffff6f95007 in mlt_frame_get_image () at /usr/lib/libmlt.so.6 #7 0x00007ffff6fae4ca in mlt_profile_from_producer () at /usr/lib/libmlt.so.6 #8 0x0000555555986d08 in ProducerQueue::processFileProperties() (this=<optimized out>) at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.2/src/mltcontroller/producerqueue.cpp:302 #9 0x0000555555645705 in QtConcurrent::RunFunctionTask<void>::run() (this=0x55555947d580) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:136 #10 0x00007ffff084e01f in () at /usr/lib/libQt5Core.so.5 #11 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #12 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #13 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 17 (Thread 0x7fff76ffe700 (LWP 24859)): #0 0x00007fffefe5a551 in ppoll () at /usr/lib/libc.so.6 #1 0x00007fffe7c2899d in pa_mainloop_poll () at /usr/lib/libpulse.so.0 #2 0x00007fffe7c28f8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0 #3 0x00007fffb797deed in () at /usr/lib/libSDL-1.2.so.0 #4 0x00007fffb7951800 in () at /usr/lib/libSDL-1.2.so.0 #5 0x00007fffb7959fe8 in () at /usr/lib/libSDL-1.2.so.0 #6 0x00007fffb799b8a9 in () at /usr/lib/libSDL-1.2.so.0 #7 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 16 (Thread 0x7fff77fff700 (LWP 24858)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 ---Type <return> to continue, or q <return> to quit--- #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a689c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a8070f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff0a2a23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff084d0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #7 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 15 (Thread 0x7fff8bdff700 (LWP 24857)): #0 0x00007fffee32410f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007ffff0852c2b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5 #2 0x00007ffff6238395 in () at /usr/lib/libQt5Quick.so.5 #3 0x00007ffff6238c8a in () at /usr/lib/libQt5Quick.so.5 #4 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #5 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 14 (Thread 0x7fff949b2700 (LWP 24856)): #0 0x00007fffee32410f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007ffff6fa8243 in () at /usr/lib/libmlt.so.6 #2 0x00005555558cc720 in RenderThread::run() (this=0x7fff80000c60) at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.2/src/monitor/glwidget.cpp:1252 #3 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #4 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #5 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 13 (Thread 0x7fff951b3700 (LWP 24855)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a689c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #3 0x00007ffff0a8070f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff0a2a23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff084d0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #7 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 12 (Thread 0x7fff959b4700 (LWP 24854)): #0 0x00007fffee32410f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007ffff0852c2b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5 #2 0x00007ffff6238395 in () at /usr/lib/libQt5Quick.so.5 #3 0x00007ffff6238c8a in () at /usr/lib/libQt5Quick.so.5 #4 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #5 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 11 (Thread 0x7fff96665700 (LWP 24852)): #0 0x00007fffee32410f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007fffac318f9f in () at /usr/lib/mlt/libmltsdl.so #2 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #3 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 9 (Thread 0x7fff97fff700 (LWP 24850)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a689c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a8070f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff0a2a23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff084d0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #6 0x00007ffff24472d5 in () at /usr/lib/libQt5Qml.so.5 #7 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #8 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 7 (Thread 0x7fff9d903700 (LWP 24848)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a689c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a8070f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff0a2a23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff084d0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff24472d5 in () at /usr/lib/libQt5Qml.so.5 #7 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #8 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 6 (Thread 0x7fffa13a5700 (LWP 24846)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffa2044cbc in () at /usr/lib/libusb-1.0.so.0 #2 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #3 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 5 (Thread 0x7fffcbfff700 (LWP 24845)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a689c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a8070f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff0a2a23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff084d0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #6 0x00007ffff2edae55 in () at /usr/lib/libQt5DBus.so.5 #7 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #8 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 4 (Thread 0x7fffd231a700 (LWP 24844)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a6b12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #3 0x00007fffd53a2316 in () at /usr/lib/libgio-2.0.so.0 #4 0x00007fffe80ce0d5 in () at /usr/lib/libglib-2.0.so.0 #5 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 3 (Thread 0x7fffd2b1b700 (LWP 24843)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a689c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007fffe80a68e1 in () at /usr/lib/libglib-2.0.so.0 #4 0x00007fffe80ce0d5 in () at /usr/lib/libglib-2.0.so.0 #5 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7fffdcb1a700 (LWP 24842)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe77e18e0 in () at /usr/lib/libxcb.so.1 #2 0x00007fffe77e3679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1 #3 0x00007fffdf08e449 in () at /usr/lib/libQt5XcbQpa.so.5 #4 0x00007ffff0851d78 in () at /usr/lib/libQt5Core.so.5 #5 0x00007fffee31e454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe637df in clone () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7ffff7eca7c0 (LWP 24838)): #0 0x00007fffefe5a48d in poll () at /usr/lib/libc.so.6 ---Type <return> to continue, or q <return> to quit--- #1 0x00007fffe80a6786 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe80a689c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a8070f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff0a2a23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff0a3273c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #6 0x0000555555601902 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.2/src/main.cpp:157
I also get this in kdenlive-git (17.03.70) and mlt-git (6.5) (gdb) thread apply all bt Thread 20 (Thread 0x7fff6f7fe700 (LWP 7591)): #0 0x00007ffff6dce169 in Mlt::Service::profile() () at /usr/lib/libmlt++.so.3 #1 0x000000000084414d in ProjectClip::slotCreateAudioThumbs() (this=this@entry=0x480e010) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/bin/projectclip.cpp:1219 #2 0x000000000081bd2c in Bin::slotCreateAudioThumbs() (this=0x143c9d0) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/bin/bin.cpp:614 #3 0x00000000004d447d in QtConcurrent::RunFunctionTask<void>::run() (this=0x7fff90002200) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:136 #4 0x00007ffff080996f in () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #6 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #7 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 19 (Thread 0x7fff70ffa700 (LWP 7590)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe7b677a6 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe7b678bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a3d04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #4 0x00007ffff09e689a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff0808a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #7 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 18 (Thread 0x7fff71ffb700 (LWP 7589)): #0 0x00007fffede5610f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007ffff080e58b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5 #2 0x00007ffff624e665 in () at /usr/lib/libQt5Quick.so.5 #3 0x00007ffff624ef72 in () at /usr/lib/libQt5Quick.so.5 #4 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #5 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 17 (Thread 0x7fff727fc700 (LWP 7588)): #0 0x00007fffde7117e3 in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so #1 0x00007fffde7125dd in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so #2 0x00007fffde712989 in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so #3 0x00007fffde71320a in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so ---Type <return> to continue, or q <return> to quit--- #4 0x00007fffe78f199c in pa_mainloop_dispatch () at /usr/lib/libpulse.so.0 #5 0x00007fffe78f1d9c in pa_mainloop_iterate () at /usr/lib/libpulse.so.0 #6 0x00007fffb6637eed in () at /usr/lib/libSDL-1.2.so.0 #7 0x00007fffb660b800 in () at /usr/lib/libSDL-1.2.so.0 #8 0x00007fffb6613fe8 in () at /usr/lib/libSDL-1.2.so.0 #9 0x00007fffb66558a9 in () at /usr/lib/libSDL-1.2.so.0 #10 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #11 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 16 (Thread 0x7fff72ffd700 (LWP 7587)): #0 0x00007fffede5610f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007ffff6ff686b in () at /usr/lib/libmlt.so.6 #2 0x000000000075abfd in RenderThread::run() (this=0x7fff68000c30) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/monitor/glwidget.cpp:1291 #3 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #4 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #5 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 15 (Thread 0x7fff737fe700 (LWP 7586)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe7b677a6 in () at /usr/lib/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #2 0x00007fffe7b678bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a3d04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff09e689a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff0808a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #7 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 14 (Thread 0x7fff73fff700 (LWP 7585)): #0 0x00007fffede5610f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007ffff080e58b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5 #2 0x00007ffff624e665 in () at /usr/lib/libQt5Quick.so.5 #3 0x00007ffff624ef72 in () at /usr/lib/libQt5Quick.so.5 #4 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #5 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 13 (Thread 0x7fff6ffff700 (LWP 7584)): ---Type <return> to continue, or q <return> to quit--- #0 0x00007fffede5610f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007fffb68a20c0 in () at /usr/lib/mlt/libmltsdl.so #2 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #3 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 11 (Thread 0x7fff96de1700 (LWP 7581)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe78ffee1 in () at /usr/lib/libpulse.so.0 #2 0x00007fffe78f16f1 in pa_mainloop_poll () at /usr/lib/libpulse.so.0 #3 0x00007fffe78f1d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0 #4 0x00007fffe78f1e40 in pa_mainloop_run () at /usr/lib/libpulse.so.0 #5 0x00007fffe78ffe29 in () at /usr/lib/libpulse.so.0 #6 0x00007fffde722fe8 in () at /usr/lib/pulseaudio/libpulsecommon-10.0.so #7 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 9 (Thread 0x7fff97fff700 (LWP 7578)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe7b677a6 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe7b678bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a3d04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop:---Type <return> to continue, or q <return> to quit--- :ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff09e689a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff0808a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff2439025 in () at /usr/lib/libQt5Qml.so.5 #7 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #8 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 8 (Thread 0x7fff9d209700 (LWP 7577)): #0 0x00007ffff00ee635 in () at /usr/lib/libm.so.6 #1 0x00007fffb100e707 in () at /usr/lib/libavcodec.so.57 #2 0x00007fffb100e4e4 in () at /usr/lib/libavcodec.so.57 #3 0x00007fffb100d8b7 in () at /usr/lib/libavcodec.so.57 #4 0x00007fffb15a686a in avcodec_open2 () at /usr/lib/libavcodec.so.57 #5 0x00007fffb0cc594c in () at /usr/lib/libavformat.so.57 #6 0x00007fffb0ccdf2a in avformat_find_stream_info () at /usr/lib/libavformat.so.57 #7 0x00007fffb61d7cd9 in () at /usr/lib/mlt/libmltavformat.so #8 0x00007fffb61da70e in producer_avformat_init () at /usr/lib/mlt/libmltavformat.so #9 0x00007ffff6ffac4a in mlt_factory_producer () at /usr/lib/libmlt.so.6 #10 0x00007fffa2c904dc in () at /usr/lib/mlt/libmltcore.so ---Type <return> to continue, or q <return> to quit--- #11 0x00007fffa2c907b4 in producer_loader_init () at /usr/lib/mlt/libmltcore.so #12 0x00007ffff6ffac4a in mlt_factory_producer () at /usr/lib/libmlt.so.6 #13 0x00007fffa1adce21 in () at /usr/lib/mlt/libmltxml.so #14 0x00007fffe603c8ed in () at /usr/lib/libxml2.so.2 #15 0x00007fffe60432ab in xmlParseElement () at /usr/lib/libxml2.so.2 #16 0x00007fffe604267f in xmlParseContent () at /usr/lib/libxml2.so.2 #17 0x00007fffe6043063 in xmlParseElement () at /usr/lib/libxml2.so.2 #18 0x00007fffe604376b in xmlParseDocument () at /usr/lib/libxml2.so.2 #19 0x00007fffa1adec2f in producer_xml_init () at /usr/lib/mlt/libmltxml.so #20 0x00007ffff6ffac4a in mlt_factory_producer () at /usr/lib/libmlt.so.6 #21 0x00007ffff6dcb1e6 in Mlt::Producer::Producer(Mlt::Profile&, char const*, char const*) () at /usr/lib/libmlt++.so.3 #22 0x00000000007f2531 in BinController::cloneProducer(Mlt::Producer&) (this=this@entry=0x146ac90, original=...) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/mltcontroller/bincontroller.cpp:344 #23 0x00000000007f27bf in BinController::getBinVideoProducer(QString const&) (this=0x146ac90, id=...) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/mltcontroller/bincontroller.cpp:369 #24 0x000000000088fdf9 in Render::getBinVideoProducer(QString const&) (this=<optimized out>, id=...) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/renderer.cpp:1649 ---Type <return> to continue, or q <return> to quit--- #25 0x000000000059996a in CustomTrackView::slotReplaceTimelineProducer(QString const&) (this=0x10dd4e0, id=...) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/timeline/customtrackview.cpp:8410 #26 0x00007ffff0a140be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #27 0x00000000008acff5 in Render::replaceTimelineProducer(QString const&) (this=<optimized out>, _t1=...) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/build/src/kdenlive_automoc.dir/moc_renderer_VICSJME6EZCM5A.cpp:472 #28 0x00007ffff0a140be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5 #29 0x00000000008aa0d5 in BinController::replaceTimelineProducer(QString const&) (this=this@entry=0x146ac90, _t1=...) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/build/src/kdenlive_automoc.dir/moc_bincontroller_5FSCYI7BVVXTT6.cpp:282 #30 0x00000000007f205d in BinController::replaceProducer(QString const&, Mlt::Producer&) (this=0x146ac90, id=..., producer=...) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/mltcontroller/bincontroller.cpp:268 #31 0x0000000000815bc6 in ProducerQueue::processFileProperties() (this=<optimized out>) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/mltcontroller/produ---Type <return> to continue, or q <return> to quit--- cerqueue.cpp:515 #32 0x00000000004d447d in QtConcurrent::RunFunctionTask<void>::run() (this=0x47baaa0) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:136 #33 0x00007ffff080996f in () at /usr/lib/libQt5Core.so.5 #34 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #35 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #36 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 7 (Thread 0x7fff9e20a700 (LWP 7576)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe7b677a6 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe7b678bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a3d04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff09e689a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff0808a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff2439025 in () at /usr/lib/libQt5Qml.so.5 #7 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #8 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 ---Type <return> to continue, or q <return> to quit--- Thread 6 (Thread 0x7fffa9f60700 (LWP 7574)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffb0224d51 in () at /usr/lib/libusb-1.0.so.0 #2 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #3 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 5 (Thread 0x7fffcd81b700 (LWP 7573)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe7b677a6 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe7b678bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff0a3d04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007ffff09e689a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff0808a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #6 0x00007ffff2ecb125 in () at /usr/lib/libQt5DBus.so.5 #7 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 #8 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #9 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 4 (Thread 0x7fffcf8c3700 (LWP 7572)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 ---Type <return> to continue, or q <return> to quit--- #1 0x00007fffe7b677a6 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe7b67b32 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #3 0x00007fffd253a446 in () at /usr/lib/libgio-2.0.so.0 #4 0x00007fffe7b8f175 in () at /usr/lib/libglib-2.0.so.0 #5 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 3 (Thread 0x7fffd00c4700 (LWP 7571)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe7b677a6 in () at /usr/lib/libglib-2.0.so.0 #2 0x00007fffe7b678bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007fffe7b67901 in () at /usr/lib/libglib-2.0.so.0 #4 0x00007fffe7b8f175 in () at /usr/lib/libglib-2.0.so.0 #5 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7fffd9c39700 (LWP 7570)): #0 0x00007fffefe1548d in poll () at /usr/lib/libc.so.6 #1 0x00007fffe74aa8e0 in () at /usr/lib/libxcb.so.1 #2 0x00007fffe74ac679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1 #3 0x00007fffdc5bf239 in () at /usr/lib/libQt5XcbQpa.so.5 #4 0x00007ffff080d6d8 in () at /usr/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #5 0x00007fffede50454 in start_thread () at /usr/lib/libpthread.so.0 #6 0x00007fffefe1e7df in clone () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7ffff7eb9d80 (LWP 7566)): #0 0x00007ffff7ded8c6 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2 #1 0x00007ffff7de93a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2 #2 0x00007ffff7ded2d9 in _dl_open () at /lib64/ld-linux-x86-64.so.2 #3 0x00007fffee066ee9 in () at /usr/lib/libdl.so.2 #4 0x00007ffff7de93a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2 #5 0x00007fffee067521 in () at /usr/lib/libdl.so.2 #6 0x00007fffee066f82 in dlopen () at /usr/lib/libdl.so.2 #7 0x00007ffff09e455e in () at /usr/lib/libQt5Core.so.5 #8 0x00007ffff09dd665 in () at /usr/lib/libQt5Core.so.5 #9 0x00007ffff6b9e4ea in KFileMetaData::ExtractorCollection::Private::allExtractors() const () at /usr/lib/libKF5FileMetaData.so.3 #10 0x00007ffff6b9f05c in KFileMetaData::ExtractorCollection::ExtractorCollection() () at /usr/lib/libKF5FileMetaData.so.3 #11 0x0000000000800396 in ClipPropertiesController::fillProperties() (this=this@entry=0x357aba0) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/mltcontroller/clippropertiescontroller.cpp:751 #12 0x0000000000803d7d in ClipPropertiesController::ClipPropertiesController(Timecode const&, ClipController*, QWidget*) (this=0x357aba0, tc=..., controller=0x7---Type <return> to continue, or q <return> to quit--- fff90648b40, parent=<optimized out>) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/mltcontroller/clippropertiescontroller.cpp:181 #13 0x000000000083de58 in ProjectClip::buildProperties(QWidget*) (this=0x480e010, parent=<optimized out>) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/bin/projectclip.cpp:723 #14 0x000000000081d6e3 in Bin::showClipProperties(ProjectClip*, bool) (this=0x143c9d0, clip=<optimized out>, forceRefresh=<optimized out>) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/bin/bin.cpp:1876 #15 0x00007ffff0a14ba9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #16 0x00007ffff1a9cecb in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5 #17 0x00007ffff1a5534c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #18 0x00007ffff1a5cb61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #19 0x00007ffff09e8440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #20 0x00007ffff09eabcd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5 #21 0x00007ffff0a3cc43 in () at /usr/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #22 0x00007fffe7b675a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #23 0x00007fffe7b67810 in () at /usr/lib/libglib-2.0.so.0 #24 0x00007fffe7b678bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #25 0x00007ffff0a3d04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #26 0x00007ffff09e689a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #27 0x00007ffff09eede4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #28 0x000000000048fc66 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/main.cpp:160
Thread 20 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff6f7fe700 (LWP 7591)] 0x00007ffff6dce169 in Mlt::Service::profile() () from /usr/lib/libmlt++.so.3
I cannot reproduce in git master. Can you specify what is your default profile, and ffprobe the video you add ?
(In reply to alcinos from comment #3) > I cannot reproduce in git master. > Can you specify what is your default profile, and ffprobe the video you add ? My default profile is HD 1080p 24fps. The weird thing is that I am not able to reproduce it always. But during my tests just now I saw that the clip get corrupted (the end of it gets cut) whenever the profile changes... can you reproduce that?
What is the fps of the video you add ? Can you provide a small video that triggers the crash ?
(In reply to alcinos from comment #5) > What is the fps of the video you add ? Can you provide a small video that > triggers the crash ? That is the thing, the second backtrace I reported the fps was 30fps but I am unable to reproduce it. I downloaded it from here while testing another bug: https://bugs.kde.org/show_bug.cgi?id=371062 Were you able to reproduce the clip getting corrupted?
Git commit 463e9f845318c6ffa83be97ed81da18af84f75aa by Jean-Baptiste Mardelle. Committed on 06/03/2017 at 07:37. Pushed by mardelle into branch 'Applications/16.12'. Avoid possible profile corruption with xml producer M +6 -2 src/mltcontroller/bincontroller.cpp https://commits.kde.org/kdenlive/463e9f845318c6ffa83be97ed81da18af84f75aa
This has been fixed apparently, so closing it.