Bug 512319

Summary: Kdenlive crashes on loading a project
Product: [Applications] kdenlive Reporter: LittleBit <littlebit>
Component: Project Bin & ImportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash CC: fritzibaby, hlaaftana
Priority: NOR Keywords: triaged
Version First Reported In: git-master   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed/Implemented In: 25.12.0
Sentry Crash Report:
Attachments: MacOS app crash details
Project file

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. ***