Bug 403867 - kdenlive immediately crashes upon project open
Summary: kdenlive immediately crashes upon project open
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 19.04.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-02 16:46 UTC by Adam Spiers
Modified: 2021-03-11 23:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+
fritzibaby: timeline_corruption+


Attachments
STDOUT/STDERR from 19.03.70-bf29ac9 AppImage run (163.09 KB, text/plain)
2019-02-02 16:48 UTC, Adam Spiers
Details
stdout/stderr (144.42 KB, text/x-log)
2019-06-30 10:00 UTC, leyfer.kirill
Details
.kdenlive project file leading to the crash on kdenlive-19.04.2f-x86_64.appimage (684.41 KB, application/x-kdenlive)
2019-06-30 10:01 UTC, leyfer.kirill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Spiers 2019-02-02 16:46:21 UTC
SUMMARY

kdenlive crashes immediately after opening a project.

STEPS TO REPRODUCE
1. Launch kdenlive-19.03.70-bf29ac9-x86_64.appimage (downloaded from https://binary-factory.kde.org/job/Kdenlive_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/ build #71)
2. Open my project

OBSERVED RESULT

Immediate crash with the attached output to STDOUT/ERR.  Final lines of log are:

MOVING CLIP FROM:  -1  ==  87
Inserted clip in track 87 at  12429
terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at
/tmp/.mount_kdenli3NznCc/AppRun: line 25: 29834 Aborted                 (core dumped) kdenlive --config kdenlive-appimagerc $@

EXPECTED RESULT

Doesn't crash :)

SOFTWARE/OS VERSIONS

Linux: openSUSE Leap 15.0
KDE Plasma Version: not shown
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2 (built against 5.11.2)
Comment 1 Adam Spiers 2019-02-02 16:48:04 UTC
Created attachment 117787 [details]
STDOUT/STDERR from 19.03.70-bf29ac9 AppImage run
Comment 2 Jean-Baptiste Mardelle 2019-02-11 19:56:05 UTC
Could you attach the .kdenlive project file or mail it to me?
Comment 3 leyfer.kirill 2019-06-30 09:59:37 UTC
I can confirm this issue, it also occured on kdenlive-19.04.2f-x86_64.appimage.

It loads the project to 49% and then crashes.
Comment 4 leyfer.kirill 2019-06-30 10:00:14 UTC
Created attachment 121229 [details]
stdout/stderr
Comment 5 leyfer.kirill 2019-06-30 10:01:08 UTC
Created attachment 121230 [details]
.kdenlive project file leading to the crash on kdenlive-19.04.2f-x86_64.appimage
Comment 6 emohr 2019-06-30 10:32:23 UTC
Confirmed. I opened issue: https://invent.kde.org/kde/kdenlive/issues/281
Comment 7 Jean-Baptiste Mardelle 2019-06-30 13:57:27 UTC
Git commit 0bcf22b0e6469827cc083f1b3998adeaa367010d by Jean-Baptiste Mardelle.
Committed on 30/06/2019 at 13:57.
Pushed by mardelle into branch 'master'.

Try to recover a clip if it's parent id cannot be found in the project bin (use url)

M  +14   -2    src/timeline2/model/builders/meltBuilder.cpp

https://invent.kde.org/kde/kdenlive/commit/0bcf22b0e6469827cc083f1b3998adeaa367010d
Comment 8 farid 2021-03-11 23:47:01 UTC
Thanks for your report. This seems to be fixed please try with latest version and reopen if you find any issues.