Bug 507698

Summary: Kdenlive crashes when trying to recover a project
Product: [Applications] kdenlive Reporter: antimidia
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Crash backtrace
Project file from stalefiles
Project file prior to the bug

Description antimidia 2025-07-31 14:52:52 UTC
Created attachment 183679 [details]
Crash backtrace

SUMMARY
I was using Kdenlive when it crashed ( https://bugs.kde.org/show_bug.cgi?id=507696 ). And now when I open the respective project Kdenlive asks me if I want to try to recover the project. If I choose to recover it crashes.

STEPS TO REPRODUCE
1.  Open the attached project file
2. Try to open it
3. When Kdenlive asks if you want to recover the autosaved file, click yes.

OBSERVED RESULT

Kdenlive crashes. Backtrace attached.

Linux/KDE Plasma:  Debian/Gnome/X11
Comment 1 antimidia 2025-07-31 15:18:45 UTC
Created attachment 183681 [details]
Project file  from stalefiles
Comment 2 antimidia 2025-07-31 15:24:32 UTC
I was able to reopen it renaming one of the folders. Probably related to https://bugs.kde.org/show_bug.cgi?id=505833
Comment 3 Jean-Baptiste Mardelle 2025-08-01 11:11:53 UTC
Could you please also attach the 'fixed' project file that opens correctly? The crash log says crash happens when trying to open a dream in an audio file, and I wonder if Kdenlive stored an incorrect stream index...
Comment 4 Jean-Baptiste Mardelle 2025-08-01 11:14:54 UTC
Sorry I meant when opening a stream in an audio file
Comment 5 antimidia 2025-08-04 20:08:10 UTC
There's no "fixed" project file. To open the project everytime I have to rename one of the folders first. And later change the folder back to its original name and reload the files.

What I do have is a project file from the day before the bug. I'll upload it here.
Comment 6 antimidia 2025-08-04 20:08:47 UTC
Created attachment 183790 [details]
Project file prior to the bug