Bug 407696

Summary: Kdenlive will Crash after pressing Analyze button from Motion Track effect applied to track
Product: [Applications] kdenlive Reporter: Henrique Sant'Anna <hsantanna>
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED FIXED    
Severity: crash CC: fritzibaby, hsantanna
Priority: NOR Flags: fritzibaby: Brainstorm+
Version First Reported In: 19.04.1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henrique Sant'Anna 2019-05-18 16:19:54 UTC
SUMMARY

Clicking on the Analyze button from Motion Track effect will crash Kdenlive if the effect is applied to the video track, not the clip.

STEPS TO REPRODUCE
1. Create new project
2. Add a new clip to Project bin
3. Add the clip to a video track on timeline
4. Add the Motion track effect to the same timeline track (to the entire track, not the clip)
5. Select region for Motion track on Project monitor
6. Press Analyze button from Motion track properties
7. Kdenlive will crash

OBSERVED RESULT

Kdenlive will crash after pressing Analyze button from Motion track effect

EXPECTED RESULT

Analyze button would do the Analyze job


SOFTWARE/OS VERSIONS
Linux: Linux Arch 5.1.2-zen1-1-zen #1 ZEN SMP PREEMPT Wed May 15 00:13:04 UTC 2019 x86_64 GNU/Linux
KDE Plasma: Yes
(available in About System)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.51.0
Qt Version: Qt 5.11.2 (compilado com 5.11.2)
MLT version 6.17.0

ADDITIONAL INFORMATION

Tested the 19.04.1 from arch linux repository and also from kdenlive-19.04.1b-x86_64.appimage with the same always reproducible behavior.
Comment 1 emohr 2019-05-19 16:52:30 UTC
Confirmed. 

AutoMask on the track header-> click analyze -> crash. 

Opened issue https://invent.kde.org/kde/kdenlive/issues/192
Comment 2 emohr 2019-05-20 16:13:54 UTC
Solved. https://invent.kde.org/kde/kdenlive/commit/50e1cb6304294eaa871a53acc776d1392bc5771c

Automask cannot work on tracks so the button analyze is disabled if effect is applied on a track.