Bug 512319 - Kdenlive crashes on loading a project
Summary: Kdenlive crashes on loading a project
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (other bugs)
Version First Reported In: git-master
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
: 512561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-11-19 00:20 UTC by LittleBit
Modified: 2025-11-24 17:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.12.0
Sentry Crash Report:


Attachments
MacOS app crash details (261.14 KB, text/plain)
2025-11-19 00:20 UTC, LittleBit
Details
Project file (34.82 KB, application/xml)
2025-11-21 21:19 UTC, LittleBit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LittleBit 2025-11-19 00:20:11 UTC
Created attachment 186938 [details]
MacOS app crash details

SUMMARY
Kdenlive crashes when trying to load an existing project, even if it was created on the same machine. The issue still occured after installing a nightly build.

STEPS TO REPRODUCE
1. Create a project and save it
2. Close Kdenlive
3. Reopen the project

OBSERVED RESULT
Kdenlive disappears unexpectedly and the MacOS app crash dialog appears.

EXPECTED RESULT
The project should open normally.

SOFTWARE/OS VERSIONS
macOS: Tahoe 26.1 (25B78)

ADDITIONAL INFORMATION
The data from the MacOS crash dialog's "Show Details" button is added as an attachment.
Comment 1 LittleBit 2025-11-19 00:26:00 UTC
I disconnected the external display and rebooted the machine after reporting, and the issue still persists.
Comment 2 emohr 2025-11-19 08:43:48 UTC
Thank you for reporting.
Please upload here the project file which leads to the crash so we can investigating more in detail.
Comment 3 LittleBit 2025-11-21 21:19:22 UTC
Created attachment 187041 [details]
Project file

The project file was attached to the bug.
Comment 4 Jean-Baptiste Mardelle 2025-11-22 06:22:13 UTC
Thanks for the file, I can reproduce a crash on my machine, seems related to an audio  track being in record mode. Working on it.
Comment 5 Jean-Baptiste Mardelle 2025-11-22 06:34:50 UTC
So the issue will be fixed in the upcoming 25.12.0 release, sorry for this bad experience. As a workaround, you can open the project file in a text editor and in line 26, replace:

<property name="kdenlive:audio_rec">1</property>

with:

<property name="kdenlive:audio_rec">0</property>

Then save and your project will open correctly. Also ensure audio monitoring is disabled before saving, or the problem will re-appear, until 25.12.0 is available
Comment 6 Jean-Baptiste Mardelle 2025-11-22 06:35:03 UTC
Git commit ba8d518b27a233dff8105bb883dc30f00847f4ec by Jean-Baptiste Mardelle.
Committed on 22/11/2025 at 06:32.
Pushed by mardelle into branch 'release/25.12'.

Fix crash opening project with audio record enabled
FIXED-IN: 25.12.0

M  +4    -3    src/capture/mediacapture.cpp
M  +1    -1    src/capture/mediacapture.h

https://invent.kde.org/multimedia/kdenlive/-/commit/ba8d518b27a233dff8105bb883dc30f00847f4ec
Comment 7 Jean-Baptiste Mardelle 2025-11-24 17:27:42 UTC
*** Bug 512561 has been marked as a duplicate of this bug. ***