you can find a few mpeg clips that cause various types of crashes and buggy behaviour in kdenlive.
Most repeatable way to crash kdenlive is take for example MPG_0003.MPG, add it to the timeline and try to razor the clip at about halfway.
Other easy way is to take the same clip, add it to timeline so that the clip middlepoint is at about 5s (does not work if placed at the beginning), and place the preview cursor at 5s point.
Even if kdenlive does not crash, the preview window often shows either green or noise. At this point, crash will happen very soon.
Crashes on both x86 and amd64
The systems are debian sid/experimental, kdenlive version 0.4.
The kdenlive/mlt packages are the latest from debian-multimedia.org/sid
I've made backtrace under gdb and run under valgrind, but the bt seems to have some problems.
Full logs are available at the same URL as the clips.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1269970032 (LWP 25597)]
0xb59af5e0 in ?? () from /usr/lib/libswscale.so.0
#0 0xb59af5e0 in ?? () from /usr/lib/libswscale.so.0
kdenlive: WARNING: selectedEffectIndex = -1
kdenlive: +++++++++++ Generating scenelist start... ++++++++++++++++++
==25994== Thread 2:
==25994== Invalid read of size 8
==25994== at 0x7E3C5E0: (within /usr/lib/libswscale.so.0.5.0)
==25994== Address 0x0 is not stack'd, malloc'd or (recently) free'd
KCrash: Application 'kdenlive' crashing...
Please let me know if you need more info. Also, it would be nice if somebody could try to replicate the crashes on other systems.
I'll compile and install the SVN version later. Maybe that will solve the problem or at least gives better backtrace.