Bug 484070 - 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.
Summary: I was editing but suddenly Kdenlive crashed.So I ran it again and opened the ...
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 13:36 UTC by rangpur41
Modified: 2024-03-22 15:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Here is the project file (145.26 KB, application/xml)
2024-03-20 13:36 UTC, rangpur41
Details
attachment-568402-0.html (757 bytes, text/html)
2024-03-20 19:28 UTC, rangpur41
Details

Note You need to log in before you can comment on or make changes to this bug.
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