Bug 500099 - Render crash
Summary: Render crash
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 24.12.2
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-02-14 23:48 UTC by Martynas
Modified: 2025-02-18 17:07 UTC (History)
3 users (show)

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


Attachments
I have edited the video, no issues found or noticed while working with video editing. (968.02 KB, image/png)
2025-02-14 23:48 UTC, Martynas
Details
Triend to render / Export a video, to upload to my channel. (659.41 KB, image/png)
2025-02-14 23:51 UTC, Martynas
Details
A project file, that crashes instead of rendering / exporting (63.52 KB, application/xml)
2025-02-15 14:27 UTC, Martynas
Details
Just ran Config Wizard and did not found any issues. (21.43 KB, image/png)
2025-02-16 23:43 UTC, Martynas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martynas 2025-02-14 23:48:59 UTC
Created attachment 178386 [details]
I have edited the video, no issues found or noticed while working with video editing.

***
Trying to render my edited video. Source video opened without an issue. Edited, made some transitions but nothing special, just some transformations (by Opacity) and Volume automations in framework. That is it. Source video is 1920x1080 Progressive scanning in MPEG-4 format. The project timeline is set to the same parameters.
When I push Render button, and then Render to file, the system is trying to render as is writes: „Starting to render...“, and then the system crashes with this particular message:

Rendering of D:/Videos/KitaipTV/2025-02-14/2025-02-15/2025-02-15 - KONTROLINIS - Chaoso Algoritmas Ir Naujas Rūpintojėlis.mp4 crashed


***

SUMMARY


STEPS TO REPRODUCE
1. Edited video.
2. Pushed „Render“ button
3. Render Crashed

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows:  MS. Windows 10 Pro 64bit.
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Martynas 2025-02-14 23:51:11 UTC
Created attachment 178387 [details]
Triend to render / Export a video, to upload to my channel.
Comment 2 Martynas 2025-02-15 14:27:51 UTC
Created attachment 178400 [details]
A project file, that crashes instead of rendering / exporting
Comment 3 Martynas 2025-02-15 16:29:00 UTC
After Error Log „Rendering of C:/Users/music/Videos/ANONSAS.mp4 crashed“ Kdenlive creates this text file with a text:
[Started render process: E:/Program Files/kdenlive/bin/melt.exe -progress2 C:/Users/music/AppData/Local/Temp/kdenlive-RzmFIP-1.mlt
Rendering of C:/Users/music/Videos/0001.mp4 aborted, resulting video will probably be corrupted.]

Please be noted, that the file's name is different, since I just tried to render / export trailer of the previous show. And it didn't work too.
Comment 4 farid 2025-02-15 16:57:29 UTC
This seems to be Windows specific since I cannot reproduce on Linux...
Comment 5 Bernd 2025-02-15 21:43:40 UTC
I cannot reproduce on Windows 11 with 24.12.2 installed.

The project loaded fine, played back smoothly, and rendering started immediately. No issues whatsoever.

In the video you shared showing the steps and the delayed rendering start and final crash, I noticed a few things:
* The render goes to a drive F: Is this an external drive or a USB stick?
* You changed the folder for project files to custom. Are you sure about that? And why did you do this?
* You selected the .kdenlive project file in the render output file dialog and then removed the .kdenlive suffix. This is an odd way of selecting the output because by default Kdenlive uses the project filename as the output filename anyway.

I suggest you try to shorten the filename drastically and try again. Also, use an internal drive and a simple folder name close to root (for example C:\Test)
Comment 6 emohr 2025-02-16 11:16:47 UTC
I successfully rendered out on Kdenlive 24.12.2 on Win10. Do you like to have the rendered video (660MB)? I could send it to your email address by Swisstransfer.com.

Maybe it's an issue of RAM overflow?
Check your configuration. Settings -> Run Config Wizard … -> Any error message?
Comment 7 Martynas 2025-02-16 21:05:32 UTC
(In reply to farid from comment #4)
> This seems to be Windows specific since I cannot reproduce on Linux...

Thank You a lot!!
Comment 8 Martynas 2025-02-16 21:19:26 UTC
(In reply to Bernd from comment #5)
> I cannot reproduce on Windows 11 with 24.12.2 installed.
> 
> The project loaded fine, played back smoothly, and rendering started
> immediately. No issues whatsoever.
> 
> In the video you shared showing the steps and the delayed rendering start
> and final crash, I noticed a few things:
> * The render goes to a drive F: Is this an external drive or a USB stick?
> * You changed the folder for project files to custom. Are you sure about
> that? And why did you do this?
> * You selected the .kdenlive project file in the render output file dialog
> and then removed the .kdenlive suffix. This is an odd way of selecting the
> output because by default Kdenlive uses the project filename as the output
> filename anyway.
> 
> I suggest you try to shorten the filename drastically and try again. Also,
> use an internal drive and a simple folder name close to root (for example
> C:\Test)

F:\ disc is INSTALLED in the laptop I am working with. It has 4 SSDs installed. And I was doing so from the beninning.

> I suggest you try to shorten the filename drastically and try again. Also,
> use an internal drive and a simple folder name close to root (for example
> C:\Test)
I've already tried to export the project straight to C:\0001\0001.mp4 I've got the same crash with the same issue. Don't know why.

> I suggest you try to shorten the filename drastically and try again. Also,
> use an internal drive and a simple folder name close to root (for example
> C:\Test)
About the long rendered clip name, I did like that from the very start, and everything worked perfectly without a single bug or issue, but the last kdenlive update.

> * You changed the folder for project files to custom. Are you sure about
> that? And why did you do this?
I like when everything is in it's place, if I do a project about something, it has it's own directory, and all the files that belongs to properly working project stays in that directory. NOT spread in whole 4 SSDs in every directory possible.

> * You selected the .kdenlive project file in the render output file dialog
> and then removed the .kdenlive suffix. This is an odd way of selecting the
> output because by default Kdenlive uses the project filename as the output
> filename anyway.
I know that, just if I wouldn't doublecheck the Render / Export destination folder, Rendered clip may go enywhare but the specified folder that I created for the specific profile. (once agai, I did so till the very last kdenlive update).
Comment 9 Martynas 2025-02-16 21:21:13 UTC
(In reply to emohr from comment #6)
> I successfully rendered out on Kdenlive 24.12.2 on Win10. Do you like to
> have the rendered video (660MB)? I could send it to your email address by
> Swisstransfer.com.
> 
> Maybe it's an issue of RAM overflow?
> Check your configuration. Settings -> Run Config Wizard … -> Any error
> message?

Thank you very much, I will try to doublecheck that. And then will try to render the video. Will definitely let You know the result. :)
Comment 10 Martynas 2025-02-16 23:43:08 UTC
Created attachment 178456 [details]
Just ran Config Wizard and did not found any issues.

In reply to Comment #6, for @emohr

Just ran the Config Wizart, it says Codecs have been updated, everything seems fine.

By the way, thank you for your kind suggestion, I still have previous kdenlive version installation file, so seems like I'll stay with that 24.12.1 version, that does me everything I need without any bugs and/or issues and/ or errors.
Once gain, thank You very much!
Comment 11 emohr 2025-02-17 17:02:24 UTC
Thank you for the feedback. So, you don’t need the rendered file as 24.12.1 works. Right?

Can we close the bug for now as it seems a system specific issue on your end which we cannot reproduce?
Comment 12 Martynas 2025-02-18 14:23:07 UTC
(In reply to emohr from comment #11)
> Thank you for the feedback. So, you don’t need the rendered file as 24.12.1
> works. Right?
> 
> Can we close the bug for now as it seems a system specific issue on your end
> which we cannot reproduce?

Thank you @emohr and everyone, who tried to reproduce the issue. Thank you for suggestion of rendered file I made it myself with the older kdenlive version without an issue, so you may delete it to free up some space on your systems.
Yes, I think we are uble to close this case (bug). And I will keep digging to solve this issue on the end of my system.. Once more, THANK YOU ALL!! Take care, stay safe and healthy!!
Comment 13 emohr 2025-02-18 16:40:59 UTC
Thank you for your feedback. Glad to here it works.

I close this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.