Bug 437699 - Kdenlive crashes on project preview upon reaching fade-out / fade to black.
Summary: Kdenlive crashes on project preview upon reaching fade-out / fade to black.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 21.04.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-05-26 12:47 UTC by Hendric Stattmann
Modified: 2022-07-17 11:16 UTC (History)
3 users (show)

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


Attachments
Kcash log file (520.08 KB, text/vnd.kde.kcrash-report)
2021-05-26 12:47 UTC, Hendric Stattmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendric Stattmann 2021-05-26 12:47:17 UTC
Created attachment 138804 [details]
Kcash log file

SUMMARY
Kdenlive crashes on project preview upon reaching fade-out / fade to black.

STEPS TO REPRODUCE
1. Created new project 4k60p, added several clips, proxy clips enabled
2. Dragged 2 clips to timeline, added fade-in/out to sound tracks and fade-to-black / from-black on video tracks.
3. Press PLAY button on project preview.

OBSERVED RESULT
Kdenlive crashes repeatedly as soon as the beginning of the first fade-out / fade-to-black effect starts.

EXPECTED RESULT
Playback should continue, as observed in 21.04.0 and prior versions.

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

ADDITIONAL INFORMATION
Comment 1 Hendric Stattmann 2021-05-26 19:30:08 UTC
I managed to track down the crash to the fade-to-black transition, added directly to the timeline.
The fact that I used proxy clips was not related to the issue, as it happened also without using proxies.
The fact that I also had 30p footage within the project was irrelevant, as it also occurred with a pure 60p clip collection.
The addition of contrast and saturation as master effects was irrelevant to the issue, as it occurred also when not using any master effects (or any effects for hat matter).
Comment 2 emohr 2021-05-30 15:54:50 UTC
I see a thread issue on Linux in the crash log (but I'm not a specialist). 

If not already done, please try with the current Kdenlive AppImage version 21.04.1 to see if there are any packaging issues https://download.kde.org/stable/kdenlive/21.04/linux/
Comment 3 Hendric Stattmann 2021-05-30 17:37:52 UTC
Dear emohr,

Thank you for your advice.
I haven't had the opportunity to test the AppImage, but I found out that if I disabled the feature that reduces the resolution on the playback video window, the crash would not occur.

We are therefore dealing with a combination of fade-out effect AND scaling of the preview window.
Comment 4 erjiang 2022-07-02 04:34:38 UTC
Is this still reproducible in newer versions? I was not able to reproduce it myself. It looks like the code in MLT (filter_brightness.c:55) was rewritten around that time and it's possible the bug was fixed.
Comment 5 Bug Janitor Service 2022-07-17 04:36:44 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 6 Hendric Stattmann 2022-07-17 11:16:37 UTC
The bug seems to be fixed in the meantime (22.04.3).