Bug 484070

Summary: I was editing but suddenly Kdenlive crashed.So I ran it again and opened the project file.after 2/3 secs Kdenlive crashed again. It's happening only when i am opening the project that I was editing before.
Product: [Applications] kdenlive Reporter: rangpur41
Component: Project Bin & ImportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: crash CC: fritzibaby, snd.noise
Priority: NOR Keywords: triaged
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Here is the project file
attachment-568402-0.html

Description rangpur41 2024-03-20 13:36:48 UTC
Created attachment 167504 [details]
Here is the project file

SUMMARY
I was editing but suddenly Kdenlive crashed.So I ran it again and opened the project file.after 2/3 secs Kdenlive crashed again. It's happening only when i am opening the project that I was editing before.
Here you can check the problem in this video https://drive.google.com/file/d/1qcGAHV_jk36HZZzJnblBcTBbH6vCOrNO/view?usp=drivesdk

NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 1 farid 2024-03-20 14:03:45 UTC
Which version of Kdenlive?
Comment 2 rangpur41 2024-03-20 19:28:58 UTC
Created attachment 167519 [details]
attachment-568402-0.html

Latest Flatpak

On Wed, Mar 20, 2024, 8:03 PM farid <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=484070
>
> --- Comment #1 from farid <snd.noise@gmail.com> ---
> Which version of Kdenlive?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 farid 2024-03-22 00:04:03 UTC
I am getting a crash with cairo blend using place holders:

:::: USING TRACK COMPOSITING:  "frei0r.cairoblend"
ASSERT: "pos >= 0 && pos < int(m_allTracks.size())" in file /home/farid/git/kdenlive/src/timeline2/model/timelinemodel.cpp, line 265
Comment 4 Jean-Baptiste Mardelle 2024-03-22 12:51:48 UTC
Thanks for your report and sorry for the bad experience. The attached project file is unfortunately unrecoverable, as there are no tracks in the project. This is a case that I have seen a few times in the last 5-6 years but since it's a very rare bug, hard to fix.
I have however pushed a change so that at least, Kdenlive won't crash trying to open such files, but will directly propose to open a backup.

The initial project corruption might be related to this but not sure:
https://bugs.kde.org/show_bug.cgi?id=483777
Comment 6 emohr 2024-11-08 19:59:30 UTC
Please try with the actual version 24.08.3. This crash, when opening an existing project should be solved now.
Comment 7 Bug Janitor Service 2024-11-23 03:46:32 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2024-12-08 03:46:22 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.