Bug 366105

Summary: git master - crashed during use while trying to click on a clip in timeline (backtrace included)
Product: [Applications] kdenlive Reporter: Unknown <null>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash CC: null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace data
project file

Description Unknown 2016-07-25 19:48:23 UTC
Was working on a project, and while trying to click on a clip to edit its effect properties, Kdenlive crashed. I'm attaching the backtrace log from the crash.

Reproducible: Always




Bug discovered while using Kdenlive git master build via ppa:kdenlive/kdenlive-master.

Linux Mint 18 (ubuntu base) x64.

KDE Frameworks 5.18.0
Comment 1 Unknown 2016-07-25 19:48:40 UTC
Created attachment 100298 [details]
Backtrace data
Comment 2 Jean-Baptiste Mardelle 2016-07-25 20:34:33 UTC
did you use the qtblend effect on this clip (called Transform in effect stack) ? Could you attach the project file ?
Comment 3 Unknown 2016-07-25 22:54:39 UTC
I believe this was before the preview combo box was implemented, so yes, I think.

Attaching the project file, now.
Comment 4 Unknown 2016-07-25 22:55:15 UTC
Created attachment 100304 [details]
project file
Comment 5 Jean-Baptiste Mardelle 2016-07-25 23:09:30 UTC
Git commit 2eefeaa09df443b54277a704d77e56d83cffb8f3 by Jean-Baptiste Mardelle.
Committed on 25/07/2016 at 23:09.
Pushed by mardelle into branch 'Applications/16.08'.

Fix crash on invalid animated parameter

M  +3    -2    src/effectstack/widgets/animationwidget.cpp

http://commits.kde.org/kdenlive/2eefeaa09df443b54277a704d77e56d83cffb8f3
Comment 6 Jean-Baptiste Mardelle 2016-07-25 23:13:10 UTC
Thanks for the project file. The crash happened because of a change I made yesterday to the qtblend filter (called Transform in Kdenlive).

The names of the parameters for this filter have been changed which caused the crash. I fixed the crash, but for projects created with the older version  of the filter, all parameters will be reset to default. If you want to recover your effect parameters, you can open the .kdenlive project file in a text editor and make the following replacements:

"transition.rect" should become "rect"
"transition.compositing" should become "compositing"
"transition.distort" should become "distort"
Comment 7 Unknown 2016-07-25 23:30:51 UTC
Thanks for the explanation, JB. It was a minor issue -- no biggie. :) Thanks for the fix!