Bug 364833

Summary: Crash when adding .wtv (Windows Media Center) clip.
Product: [Applications] kdenlive Reporter: BobSCA <bobs_spam_0>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED UPSTREAM    
Severity: grave CC: snd.noise, wegwerf-1-2-3
Priority: NOR    
Version First Reported In: 16.04.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BobSCA 2016-06-27 23:09:05 UTC
Attempting to add a video clip from Windows Media Center (.wtv) causes a crash. 

I've tested with two different files - a 1 hour and a 1 minute file. Both files play OK in both FFplay and melt. They also load instantly and play fine in kdenlive 0.9.6.

The following results are for Kdenlive version 16.07.70 (not a choice in above dropdown).

1 minute file: Causes an immediate crash. Dump shown below.

1 hour file: Causes the screen to go gray, with some pretty scary noises like I've never heard coming from the hard drive. It's a loud continuous vibration at roughly 20 Hz. Even after I close the greyed-out kdenlive window, the kdenlive and FFplay tasks continue to run and the hard drive noise continues. Killing the FFplay task also kills the kdenlive task and stops the hard drive noise.

In kdenlive 15.12.3, loading these files fails for a different (?) reason – they create many (infinite?) clips in the project bin with repeated "Multi Stream Clip" dialogs, taking about 1 minute to load each iteration with lots of grey-screen time in between.

Reproducible: Always

Steps to Reproduce:
1. Load a .wfv file created by Windows Media Player. Sample file available at https://dl.dropboxusercontent.com/u/52261998/kdenlive_crash_1.wtv.
2.
3.

Actual Results:  
Crash.

Expected Results:  
Not crash.

GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kdenlive...Reading symbols from /usr/lib/debug/.build-id/ac/8d7adb99369c4947dcc2683e0da41b9ae94b6e.debug...done.
done.
(gdb) run
Starting program: /usr/bin/kdenlive 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe2ed9700 (LWP 3060)]
[New Thread 0x7fffd9518700 (LWP 3061)]
[New Thread 0x7fffd8d00700 (LWP 3062)]
[New Thread 0x7fffd3fff700 (LWP 3063)]
[New Thread 0x7fffd3359700 (LWP 3065)]
[New Thread 0x7fffd2b58700 (LWP 3066)]
[Thread 0x7fffd2b58700 (LWP 3066) exited]
[New Thread 0x7fffd2b58700 (LWP 3067)]
[New Thread 0x7fffa2c43700 (LWP 3068)]
[New Thread 0x7fffa2442700 (LWP 3069)]
[New Thread 0x7fffa1a09700 (LWP 3070)]
[New Thread 0x7fffa0a08700 (LWP 3071)]
[New Thread 0x7fff9bfff700 (LWP 3072)]
"This is an untested development version. Always backup your data"
Removing cache at "/home/bob/.cache/kdenlive-thumbs.kcache"
[New Thread 0x7fff9a461700 (LWP 3075)]
[Thread 0x7fff9a461700 (LWP 3075) exited]
[New Thread 0x7fff9a461700 (LWP 3077)]
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::AudioOutput ( no objectName ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
OpenGL vendor:  "VMware, Inc."
OpenGL renderer:  "Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)"
OpenGL Threaded:  false
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
[New Thread 0x7fff9956d700 (LWP 3078)]
[New Thread 0x7fff98d6c700 (LWP 3079)]
OpenGL vendor:  "VMware, Inc."
OpenGL renderer:  "Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)"
OpenGL Threaded:  false
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
[New Thread 0x7fff8fffe700 (LWP 3080)]
[New Thread 0x7fff8f7fd700 (LWP 3081)]
[New Thread 0x7fff8effc700 (LWP 3082)]
QXcbConnection: XCB error: 8 (BadMatch), sequence: 576, resource id: 62914576, major code: 154 (Unknown), minor code: 11
KServiceTypeTrader: serviceType "ThumbCreator" not found
KServiceTypeTrader: serviceType "ThumbCreator" not found
KSambaShare: Could not find smb.conf!
KServiceTypeTrader: serviceType "ThumbCreator" not found
KServiceTypeTrader: serviceType "ThumbCreator" not found
KServiceTypeTrader: serviceType "ThumbCreator" not found
KServiceTypeTrader: serviceType "ThumbCreator" not found
[Thread 0x7fffd3359700 (LWP 3065) exited]
[mpeg2video @ 0x7fff9c00f140] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c00f140] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c00f140] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c00f140] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c00f140] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c00f140] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c00f140] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0b3420] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0b3420] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0b3420] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0b3420] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0b3420] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0b3420] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0b3420] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0be1a0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0be1a0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0be1a0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0be1a0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0be1a0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0be1a0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0be1a0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0a2480] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0a2480] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0a2480] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0a2480] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0a2480] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0a2480] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c0a2480] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31c900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31c900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31c900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31c900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31c900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31c900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31c900] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31d660] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31d660] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31d660] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31d660] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31d660] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31d660] Invalid frame dimensions 0x0.
[mpeg2video @ 0x7fff9c31d660] Invalid frame dimensions 0x0.
[New Thread 0x7fffd3359700 (LWP 3083)]
[New Thread 0x7fff8dbe9700 (LWP 3084)]
[New Thread 0x7fff8d3e8700 (LWP 3085)]
[swscaler @ 0x7fff9c322680] Warning: data is not aligned! This can lead to a speedloss
[New Thread 0x7fff8cbe7700 (LWP 3086)]
[Thread 0x7fff8effc700 (LWP 3082) exited]
[Thread 0x7fff9a461700 (LWP 3077) exited]
[Thread 0x7fff8f7fd700 (LWP 3081) exited]
[Thread 0x7fff98d6c700 (LWP 3079) exited]
[New Thread 0x7fff98d6c700 (LWP 3094)]
[Thread 0x7fff98d6c700 (LWP 3094) exited]
[New Thread 0x7fff98d6c700 (LWP 3095)]
[New Thread 0x7fff8f7fd700 (LWP 3096)]

Thread 27 "RenderThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff8f7fd700 (LWP 3096)]
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:168
168	../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.
(gdb) thread apply all bt

Thread 27 (Thread 0x7fff8f7fd700 (LWP 3096)):
#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:168
#1  0x00007fffd14bf4b6 in memcpy (__len=4, __src=<optimized out>, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:53
#2  planar_to_interleaved (bytes_per_sample=4, channels=2, samples=<optimized out>, src=0x7fff641c4f00, dest=<optimized out>) at producer_avformat.c:2216
#3  decode_audio (fps=25, timecode=<optimized out>, samples=1920, pkt=..., ignore=0x7fff8f7fc960, self=0x7fff9c008d00) at producer_avformat.c:2312
#4  producer_get_audio (frame=frame@entry=0x7fff64001600, buffer=buffer@entry=0x7fff8f7fccd0, format=format@entry=0x225a7a0, frequency=frequency@entry=0x225a89c, 
    channels=channels@entry=0x7fff8f7fcab4, samples=samples@entry=0x7fff8f7fcccc) at producer_avformat.c:2523
#5  0x00007ffff6fd4e79 in mlt_frame_get_audio (self=self@entry=0x7fff64001600, buffer=buffer@entry=0x7fff8f7fccd0, format=format@entry=0x225a7a0, 
    frequency=frequency@entry=0x225a89c, channels=channels@entry=0x7fff8f7fcab4, samples=samples@entry=0x7fff8f7fcccc) at mlt_frame.c:750
#6  0x00007fffd16d92a1 in filter_get_audio (frame=frame@entry=0x7fff64001600, buffer=buffer@entry=0x7fff8f7fccd0, format=format@entry=0x225a7a0, 
    frequency=frequency@entry=0x225a89c, channels=channels@entry=0x225a898, samples=samples@entry=0x7fff8f7fcccc) at filter_audiochannels.c:32
#7  0x00007ffff6fd4e79 in mlt_frame_get_audio (self=self@entry=0x7fff64001600, buffer=buffer@entry=0x7fff8f7fccd0, format=format@entry=0x225a7a0, 
    frequency=frequency@entry=0x225a89c, channels=channels@entry=0x225a898, samples=samples@entry=0x7fff8f7fcccc) at mlt_frame.c:750
#8  0x00007fffb2efb04d in resample_get_audio (frame=frame@entry=0x7fff64001600, buffer=buffer@entry=0x7fff8f7fccd0, format=format@entry=0x225a7a0, 
    frequency=frequency@entry=0x225a89c, channels=channels@entry=0x225a898, samples=samples@entry=0x7fff8f7fcccc) at filter_resample.c:53
#9  0x00007ffff6fd4e79 in mlt_frame_get_audio (self=self@entry=0x7fff64001600, buffer=buffer@entry=0x7fff8f7fccd0, format=format@entry=0x225a7a0, 
    frequency=frequency@entry=0x225a89c, channels=channels@entry=0x225a898, samples=samples@entry=0x7fff8f7fcccc) at mlt_frame.c:750
#10 0x00007ffff6fe7e3f in consumer_read_ahead_thread (arg=0x2951bb0) at mlt_consumer.c:818
#11 0x000000000071873d in RenderThread::run (this=0x7fff840013c0) at /build/kdenlive-hpsbh0/kdenlive-16.07.70+git201606262241~ubuntu16.04.1/src/monitor/glwidget.cpp:1248
#12 0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff00406fa in start_thread (arg=0x7fff8f7fd700) at pthread_create.c:333
#14 0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 26 (Thread 0x7fff98d6c700 (LWP 3095)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff6fe810b in mlt_consumer_rt_frame (self=self@entry=0x2951bb0) at mlt_consumer.c:1576
#2  0x00007fffaa483d90 in consumer_thread (arg=0x2951bb0) at consumer_sdl_audio.c:531
#3  0x00007ffff00406fa in start_thread (arg=0x7fff98d6c700) at pthread_create.c:333
#4  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 24 (Thread 0x7fff8cbe7700 (LWP 3086)):
#0  0x00007ffff1714d13 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff234410f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff23441fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff2287842 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff222255f in QProcess::waitForFinished(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00000000007f55a1 in ProjectClip::slotCreateAudioThumbs (this=this@entry=0x3ce30b0)
    at /build/kdenlive-hpsbh0/kdenlive-16.07.70+git201606262241~ubuntu16.04.1/src/bin/projectclip.cpp:1080
#6  0x00000000007d837f in Bin::slotCreateAudioThumbs (this=0xc47090) at /build/kdenlive-hpsbh0/kdenlive-16.07.70+git201606262241~ubuntu16.04.1/src/bin/bin.cpp:569
#7  0x00000000004d045d in QtConcurrent::RunFunctionTask<void>::run (this=0x7fff9c009d80) at /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/qtconcurrentrunbase.h:130
#8  0x00007ffff210e343 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff00406fa in start_thread (arg=0x7fff8cbe7700) at pthread_create.c:333
#11 0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 23 (Thread 0x7fff8d3e8700 (LWP 3085)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffd0587a6b in ?? () from /usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56
#2  0x00007ffff00406fa in start_thread (arg=0x7fff8d3e8700) at pthread_create.c:333
#3  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 22 (Thread 0x7fff8dbe9700 (LWP 3084)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffd0587a6b in ?? () from /usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56
#2  0x00007ffff00406fa in start_thread (arg=0x7fff8dbe9700) at pthread_create.c:333
#3  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7fffd3359700 (LWP 3083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffd0587a6b in ?? () from /usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56
#2  0x00007ffff00406fa in start_thread (arg=0x7fffd3359700) at pthread_create.c:333
#3  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

---Type <return> to continue, or q <return> to quit---
Thread 18 (Thread 0x7fff8fffe700 (LWP 3080)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee63839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6384ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2348a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22efdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff210c8a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff00406fa in start_thread (arg=0x7fff8fffe700) at pthread_create.c:333
#8  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7fff9956d700 (LWP 3078)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee63839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6384ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2348a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22efdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff210c8a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff00406fa in start_thread (arg=0x7fff9956d700) at pthread_create.c:333
#8  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7fff9bfff700 (LWP 3072)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee63839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6384ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2348a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22efdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff210c8a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff2ebd3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff00406fa in start_thread (arg=0x7fff9bfff700) at pthread_create.c:333
#9  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7fffa0a08700 (LWP 3071)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007ffff2112a26 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff210e4d3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff00406fa in start_thread (arg=0x7fffa0a08700) at pthread_create.c:333
#5  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7fffa1a09700 (LWP 3070)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee63839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6384ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2348a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff22efdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff210c8a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff2ebd3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff00406fa in start_thread (arg=0x7fffa1a09700) at pthread_create.c:333
#9  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7fffa2442700 (LWP 3069)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffa692eaa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007fffa692e907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ffff00406fa in start_thread (arg=0x7fffa2442700) at pthread_create.c:333
#4  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fffa2c43700 (LWP 3068)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffa692eaa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
---Type <return> to continue, or q <return> to quit---
#2  0x00007fffa692e907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ffff00406fa in start_thread (arg=0x7fffa2c43700) at pthread_create.c:333
#4  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fffd2b58700 (LWP 3067)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffb728f64c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ffff00406fa in start_thread (arg=0x7fffd2b58700) at pthread_create.c:333
#3  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffd3fff700 (LWP 3063)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee63839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee638722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffe095d916 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffee65ebc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff00406fa in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333
#6  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffd8d00700 (LWP 3062)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee63839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6384ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffee6384e9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffee65ebc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff00406fa in start_thread (arg=0x7fffd8d00700) at pthread_create.c:333
#6  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffd9518700 (LWP 3061)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee63839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6384ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffd952028d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fffee65ebc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff00406fa in start_thread (arg=0x7fffd9518700) at pthread_create.c:333
#6  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffe2ed9700 (LWP 3060)):
#0  0x00007ffff1712e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffec3a2c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffec3a48d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe522b629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff211184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff00406fa in start_thread (arg=0x7fffe2ed9700) at pthread_create.c:333
#6  0x00007ffff171eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7dff8c0 (LWP 3056)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffec3a2eb9 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffec3a4617 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffec3a4721 in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fffe524d3c6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fffe524d478 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#6  0x00007ffff263efe8 in QCursor::pos(QScreen const*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007ffff263f0c1 in QCursor::pos() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#8  0x00007ffff38ac0f4 in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff38e9614 in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff3a4a330 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff3a4eb0b in QTabBar::resizeEvent(QResizeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff38ea5de in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff3a4fe43 in QTabBar::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff38a705c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff38ac516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff22f262b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#17 0x00007ffff38e1747 in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff38e2530 in QWidget::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff3a5260d in QTabWidget::setUpLayout(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff38e9f88 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff38a705c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff38ac516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff22f262b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ffff38e6a86 in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff38e95fd in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff38e6788 in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff38e680f in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff38e95fd in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff38e8c79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff2321ea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff38e9cdb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff38a705c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff38ac516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff22f262b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007ffff22f4a26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff2348673 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007fffee6381a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fffee638400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fffee6384ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff2348a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff22efdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007ffff22f7e8c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x0000000000488762 in main (argc=1, argv=<optimized out>) at /build/kdenlive-hpsbh0/kdenlive-16.07.70+git201606262241~ubuntu16.04.1/src/main.cpp:143
(gdb)
Comment 1 BobSCA 2016-06-27 23:42:01 UTC
Correction: task FFplay mentioned above should be ffmpeg.
Comment 2 farid 2016-09-30 17:45:44 UTC
I confirm crash using the file provided by OP.

Thread 22 (Thread 0x7fff6bffe700 (LWP 6579)):
#0  0x00007fffefea7814 in __memmove_avx_unaligned_erms () from /usr/lib/libc.so.6
#1  0x00007fffbf0edde6 in ?? () from /usr/lib/mlt/libmltavformat.so
#2  0x00007ffff6f97729 in mlt_frame_get_audio () from /usr/lib/libmlt.so.6
#3  0x00007fffae22de81 in ?? () from /usr/lib/mlt/libmltcore.so
#4  0x00007ffff6f97729 in mlt_frame_get_audio () from /usr/lib/libmlt.so.6
#5  0x00007fffab77213d in ?? () from /usr/lib/mlt/libmltresample.so
#6  0x00007ffff6f97729 in mlt_frame_get_audio () from /usr/lib/libmlt.so.6
#7  0x00007ffff6faa6ef in ?? () from /usr/lib/libmlt.so.6
#8  0x00005555558c4260 in RenderThread::run (this=0x7fff73c32be0)
    at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.1/src/monitor/glwidget.cpp:1248
#9  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 21 (Thread 0x7fff949a6700 (LWP 6578)):
#0  0x00007fffee32510f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff6faa9bb in mlt_consumer_rt_frame () from /usr/lib/libmlt.so.6
#2  0x00007fffac31fa20 in ?? () from /usr/lib/mlt/libmltsdl.so
#3  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 19 (Thread 0x7fff69b5b700 (LWP 6576)):
#0  0x00007fffefdc5dad in vfprintf () from /usr/lib/libc.so.6
#1  0x00007fffefe757d6 in __vsnprintf_chk () from /usr/lib/libc.so.6
#2  0x00007fffefe75738 in __snprintf_chk () from /usr/lib/libc.so.6
#3  0x00007ffff6fabff3 in mlt_filter_process () from /usr/lib/libmlt.so.6
#4  0x00007ffff6fa2cb5 in mlt_service_apply_filters () from /usr/lib/libmlt.so.6
#5  0x00007ffff6fa2e56 in mlt_service_get_frame () from /usr/lib/libmlt.so.6
#6  0x00007ffff6d82243 in Mlt::Service::get_frame(int) () from /usr/lib/libmlt++.so.3
#7  0x00005555559a8fd9 in ProjectClip::slotCreateAudioThumbs (this=this@entry=0x555558fbfc20)
    at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.1/src/bin/projectclip.cpp:1206
#8  0x0000555555982310 in Bin::slotCreateAudioThumbs (this=0x55555642c120)
    at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.1/src/bin/bin.cpp:582
---Type <return> to continue, or q <return> to quit---
#9  0x00005555556456f5 in QtConcurrent::RunFunctionTask<void>::run (this=0x7fff906d3df0)
    at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:136
#10 0x00007ffff085201f in ?? () from /usr/lib/libQt5Core.so.5
#11 0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#12 0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#13 0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 18 (Thread 0x7fff9c908700 (LWP 6575)):
#0  0x00007fffee3254b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff0856b66 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQt5Core.so.5
#2  0x00007ffff0852274 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 17 (Thread 0x7fff6aafc700 (LWP 6567)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe80ab17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a8459b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0a2e0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#5  0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 16 (Thread 0x7fff6b5fd700 (LWP 6566)):
#0  0x00007fffee32510f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff0856c2b in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQt5Core.so.5
#2  0x00007ffff623a435 in ?? () from /usr/lib/libQt5Quick.so.5
#3  0x00007ffff623ad2a in ?? () from /usr/lib/libQt5Quick.so.5
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7fff951a7700 (LWP 6563)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe80ab17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a8457f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0a2e0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#5  0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7fff959a8700 (LWP 6562)):
#0  0x00007fffee32510f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ffff0856c2b in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQt5Core.so.5
#2  0x00007ffff623a435 in ?? () from /usr/lib/libQt5Quick.so.5
#3  0x00007ffff623ad2a in ?? () from /usr/lib/libQt5Quick.so.5
#4  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fff97fff700 (LWP 6558)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe80ab17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a8457f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0a2e0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff244b445 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fff9d909700 (LWP 6556)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe80ab17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a8457f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0a2e0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#5  0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffff244b445 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffa13ab700 (LWP 6554)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffa204acbc in ?? () from /usr/lib/libusb-1.0.so.0
#2  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffcbfff700 (LWP 6553)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe80ab17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a8457f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0a2e0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#5  0x00007ffff08510f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#6  0x00007ffff2edde75 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffd23d2700 (LWP 6552)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe80ab3f2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007fffd54107c6 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fffe80d1345 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffd2bd3700 (LWP 6551)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffe80ab17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fffe80ab1c1 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007fffe80d1345 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fffdcb41700 (LWP 6550)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe77e68e0 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fffe77e8679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fffdf0b5469 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffff0855d78 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fffee31f454 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fffefe677df in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7ece7c0 (LWP 6546)):
#0  0x00007fffefe5e48d in poll () from /usr/lib/libc.so.6
#1  0x00007fffe80ab066 in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x00007fffe80ab17c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a8457f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff0a2e0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#5  0x00007ffff0a365cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00005555556018f2 in main (argc=<optimized out>, argv=<optimized out>)
    at /home/farid/Downloads/kdenlive/src/kdenlive-16.08.1/src/main.cpp:157
Comment 3 Wegwerf 2016-10-08 16:58:20 UTC
So I'm seeing the same crash, and the crash happens inside consumer_read_ahead_thread of mlt_consumer. Despite melt playing the same clip fine, I suspect this to be an upstream MLT issue nevertheless. However, I might be wrong here.
Comment 4 farid 2016-11-27 23:22:57 UTC
Should we keep this open?
Comment 5 Wegwerf 2017-03-13 20:06:52 UTC
Need to be reported to MLT project by OR.
Comment 6 BobSCA 2017-03-21 18:35:39 UTC
Current Windows release of kdenlive (16.12.1) loads .wtv files OK except for the problem of infinite multi-streams clips being created, but after some delay (~1 minute for 1 hour clip) can cancel out of that if "Automatically import all streams in multi-stream clips" is not checked.

Sample 2.5 minute video demonstrating multi-stream problem is available at https://www.dropbox.com/s/uew9fhuvfu7w4vd/kdenlive_multistream_bug.wtv?dl=0 
(click "No thanks, continue to view").

Submitted bug to mlt team at https://github.com/mltframework/mlt/issues/220.
Comment 7 BobSCA 2017-03-26 07:49:34 UTC
Bug identified/corrected in mlt. Will be resolved in v6.6.0.