Bug 439355 - Upon making changes to a project I have spent several hours on, kdenlive freezes and then crashes
Summary: Upon making changes to a project I have spent several hours on, kdenlive free...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: 21.04.2
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-01 05:59 UTC by vi.kurtz
Modified: 2021-09-01 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments
An affected project file (119.19 KB, application/x-kdenlive)
2021-07-01 05:59 UTC, vi.kurtz
Details
Render_Crashlog (60.26 KB, application/x-zip-compressed)
2021-08-01 11:41 UTC, emohr
Details
Render-Time (3.28 KB, image/png)
2021-08-02 16:31 UTC, emohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vi.kurtz 2021-07-01 05:59:49 UTC
Created attachment 139774 [details]
An affected project file

SUMMARY
Upon making changes to a project I have spent several hours on, kdenlive freezes and then crashes.

STEPS TO REPRODUCE
1. Start kdenlive
2. Open affected project
3. Make any of several changes, including saving the file, applying an effect preset, adjusting an effect setting, or rendering the file. Rendering the file results in a several-second delay before the crash occurs.

OBSERVED RESULT
kdenlive crashes

EXPECTED RESULT
kdenlive operates normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.12.13
(available in About System)
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This occurs on both the Arch Linux package and with the appimage. With the appimage, it occurs in both 21.04.2 and 21.04.1. This was first noticed today, though the last time I worked on the project was one week ago, so the error began occurring in the past 7 days. Upon crashing, the command line will print the errors:

terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at
/tmp/.mount_kdenliKQNSlk/AppRun: line 42: 472285 Aborted                 (core dumped) kdenlive --config kdenlive-appimagerc $@

Attempting to use gdb shows no debugging symbols, running kdenlive through gdb anyways and running a backtrace after it crashes gives the message "no stack".

I've attached the project file for inspection, though of course I have not included the numerous raw video or audio files.
Comment 1 emohr 2021-08-01 11:41:38 UTC
Created attachment 140442 [details]
Render_Crashlog

Thank you for reporting. Opening the project with placeholder I get attached error message. Starting rendering (to MP4)-H264) I get a crash. Attached the log.
Comment 2 Jean-Baptiste Mardelle 2021-08-01 13:25:38 UTC
Git commit e84437b039e474db637d6b9430a791bb2d5782c6 by Jean-Baptiste Mardelle.
Committed on 01/08/2021 at 13:24.
Pushed by mardelle into branch 'release/21.08'.

Fix crash on render/save when subtitle track was last active track.

M  +3    -0    src/project/projectmanager.cpp

https://invent.kde.org/multimedia/kdenlive/commit/e84437b039e474db637d6b9430a791bb2d5782c6
Comment 3 Julius Künzel 2021-08-02 08:56:07 UTC
This has hopefully been fixed now for the next release 21.08. Please test with the nightly version and close this report if it is fixed. Thanks again for your contribution!
Comment 4 emohr 2021-08-02 16:31:09 UTC
Created attachment 140467 [details]
Render-Time

I don't get a crash anymore while rendering. But it takes 3 hours for rendering a 34 minutes video with placeholders to MP4 (the CPU is 15% loaded)!
Comment 5 Bug Janitor Service 2021-08-17 04:36:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2021-09-01 04:36:18 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!