Bug 364652 - git master 2016-06-22 - Valgrind logs, memory errors, etc
Summary: git master 2016-06-22 - Valgrind logs, memory errors, etc
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: git-master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-23 05:24 UTC by Evert Vorster
Modified: 2018-10-13 04:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: corner_case+


Attachments
logfile captured from terminal, just a plain "valgrind kdenlive" (59.64 KB, text/plain)
2016-06-23 05:25 UTC, Evert Vorster
Details
full valgrind log (671.58 KB, text/plain)
2016-06-23 05:27 UTC, Evert Vorster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evert Vorster 2016-06-23 05:24:57 UTC
I noticed you commited an "fix memleaks" in git today. 
Having just recently installed Valgrind, I decided to let it run against kdenlive to see what it says. 
Of course it's painfully slow, and it shows a whole host of errors in mlt and kdenlive. 

I have compiled both with full debugging symbols, so it points right at the worst memory errors and unintialized variables, etc. 

I'll attach the logs here, and file a report for mlt as well.


In both cases, I started kdenlive through Valgrind, with a 1080p profile, which uses 720p proxy clips. Then I loaded on 4k clip, waited for the proxy to be made. Then I started a new project, same parameters, no save. Loaded another 4k clip, and once the proxy was made dragged it down to the timeline. 
Then I clicked onthe timeline to position the "playhead" on the clip, and to activate the project montior. 

Then I exited the program. 
Attaching the logfiles now. 

Reproducible: Always
Comment 1 Evert Vorster 2016-06-23 05:25:55 UTC
Created attachment 99663 [details]
logfile captured from terminal, just a plain "valgrind kdenlive"
Comment 2 Evert Vorster 2016-06-23 05:27:44 UTC
Created attachment 99664 [details]
full valgrind log

This is the full log of the command:
valgrind -v --track-origins=yes --log-file=kdenlive.valgrind.2016-06-22.txt kdenlive

Both mlt and kdenlive has been built with debugging on, and nothing stripped out.
Comment 3 emohr 2018-10-12 18:29:06 UTC
Should be fixed with Kdenlive version 16.08
Comment 4 Evert Vorster 2018-10-13 04:56:09 UTC
I will provide valgrinds upon request for any branch where we are cleaning it up.