Bug 406285 - Memory leak when switching to another profile
Summary: Memory leak when switching to another profile
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: git-master
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-06 21:47 UTC by JORGETECH
Modified: 2021-02-25 14:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JORGETECH 2019-04-06 21:47:38 UTC
SUMMARY

On latest git "master" and also the nightly AppImage a memory leak is caused when changing the video profile. This memory leak only happens when you change the video profile in the Project Bin message, for some other videos kdenlive asks you to change the profile (due to kdenlive not finding a matching profile) in a separate window, in that cases it does not cause a memory leak.

STEPS TO REPRODUCE
1. Add a video to the Project Bin that does not fit the current profile (but does fit an existing one in kdenlive), this is the clip I used for testing: https://mega.nz/#!6ywFFRAL!BxAnz6hRmsZCmpj8FY89IBc9DrU8AmVNbktz12kRM-U
2. When kdenlive asks you to switch to another profile (the message under the Project Bin) click on "Switch".
3. After that kdenlive will use all the available RAM, cauing the system to lock up (related to swap).

SOFTWARE/OS VERSIONS
Linux: Kubuntu 18.10 (+ Backports PPA)

KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.1
Comment 1 farid 2019-04-07 00:20:20 UTC
Cannot reproduce... I am on Qt 5.12 and MLT 6.14
Comment 2 Julius Künzel 2021-02-25 14:06:38 UTC
I am closing this now, because I can not reproduce too.

Feel free to reopen this bug or create a new report if this is still happening with the latest stable version (https://kdenlive.org/en/download/)