Bug 420639 - kdenlive UI crash - modifying transform effect parameter (any)
Summary: kdenlive UI crash - modifying transform effect parameter (any)
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: 20.04.0
Platform: Other Linux
: NOR critical
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-26 21:34 UTC by chryjs
Modified: 2021-03-26 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chryjs 2020-04-26 21:34:51 UTC
SUMMARY
The crash is reproductible through 19.12-3, 20.04, 20.07.70 releases  (and many previous releases)

STEPS TO REPRODUCE
1. Open an existing project
2. Move to the timeline
3. Try to alter/modify a transform effect (or a couple of parameters)

OBSERVED RESULT
random kdenlive crash , prompting following outputs :

qml: +++++++++++++++++++ DRAG CLICKED +++++++++++++
-----
// SHOW KEYFRAMES:  true
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT:  1
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
// FOUND ADDED PARAM
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 5
// // // RESULTING REQUIRED SCENE:  2
MUTEX UNLOCK!!!!!!!!!!!! loadEffects
-----
// SHOW KEYFRAMES:  true
update lambda 0 QVariant(QString, "-382 -215 19 216 1") true
 = = SET EFFECT PARAM:  "rect"  =  "0=-382 -215 19 216 1;60=480 27 960 540 1"
ADD keyframe 78 QVariant(double, 0) true
add lambda 78 QVariant(double, 0) true
 = = SET EFFECT PARAM:  "rotation"  =  "0=0;60=0;78=0"
ADD keyframe 78 QVariant(QString, "480 27 960 540 1") true
add lambda 78 QVariant(QString, "480 27 960 540 1") true
 = = SET EFFECT PARAM:  "rect"  =  "0=-382 -215 19 216 1;60=480 27 960 540 1;78=480 27 960 540 1"
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setWorldTransform: Painter not active
QPainter::setOpacity: Painter not active
QPainter::end: Painter not active, aborted
ASSERT: "mImg == qImg->constBits()" in file common.cpp, line 63
/tmp/.mount_kdenliAepfam/AppRun : ligne 26 : 10115 Abandon                 (core dumped) kdenlive --config kdenlive-appimagerc $@


EXPECTED RESULT
No crash, just modifying the parameter (or prompting an alert for an invalid parameter)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 19.10
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
AppImage releases
Comment 1 chryjs 2020-05-01 16:14:32 UTC
After trying the package release from https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable thus bug is not taking place with the PPA release. It only affects the AppImage packages available on kdenlive website...
Comment 2 emohr 2020-05-03 17:52:52 UTC
Please try with the todays Kdenlive AppImage version 20.04.0b.
Comment 3 Julius Künzel 2021-02-24 21:48:15 UTC
Can you please retest with the latest version (https://kdenlive.org/en/download/) and update this bug report again?
Comment 4 Bug Janitor Service 2021-03-11 04:33:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-03-26 04:33:41 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!