Kdenlive 26.04.3 Flatpak project crashes when reopening saved project

Hello,

I’m having an issue with Kdenlive Version 26.04.3 Flatpak version where editing a video, saving and then reopening, causes kdenlive to be stuck at loading timeline, then crash.

This has happened multiple times, even after recreating the project from scratch twice.

The project is small:

  • Around 30 seconds long
  • No high-resolution media
  • No unusually heavy effects

System specifications:

  • OS: Debian Linux
  • Kdenlive: 26.04.3 (Flatpak)
  • GPU: Intel HD Graphics 4600 (Mesa)
  • RAM: 8 GB

terminal output:

CLOSING PROJECT, DISCARDING TASKS... CLOSING: true

FOUND MLT PROJECT VERSION: 7 / 40 / 0

==== FIXING PRODUCER WITH ID: ""

After this, many QML errors appear, including:

TypeError: Cannot read property 'scaleFactor' of undefined
TypeError: Cannot read property 'fullDuration' of undefined

The project contains:

  • Video clips
  • Audio/TTS narration
  • Vosk-generated subtitleS
  • Simple transitions (Dissolve)

The issue also appears to happen with the AppImage version, not only Flatpak.

Could this be related to:

  • A corrupted clip reference?
  • A subtitle track issue?
  • An MLT/project loading issue?
  • A regression in Kdenlive 26.04.x?

I can provide the .kdenlive project file if needed.

DEBIAN 13.

I’ve tried pretty much everything I can think of to fix this issue, but Kdenlive is still crashing when I open the project I’ve made today.

The crash results in a segmentation fault no matter what I try.

So far I’ve:

  • Updated Kdenlive.
  • Tried the Debian apt version of Kdenlive (24.x.x).
  • Tried the AppImage and Flatpak versions.
  • Tried downgrading Kdenlive.
  • Updated my ENTIRE system and rebooted.
  • Cleared Kdenlive cache and configuration.
  • Tried disabling and enabling GPU processing.
  • Reinstalled MLT.
  • Installed a bunch of libraries and plugins.
  • Tried using a different rendering API.

For context, I have already rebuilt the project from scratch 4 times and created 7 backups, but the backups also end up with the SAME ISSUE. I’ve tried different settings, workflows, and troubleshooting steps, but I keep getting the SAME CRASH.

At this point I am not using kdenlive until I can get a workaround or temporary fix.

Does ANYONE have ideas about what could be causing this, or what logs/debug information I should provide?

This software is really, really testing my patience and sanity.

Hi @KandDandE, and welcome to the forum and community.

I’m sorry you are experiencing nerve-wracking issues. Thanks for providing all the details of what you have tried so far.

One thing that’s missing is whether you tried the same project with different source files. I would try the project with only one clip. Save and reload. Then add the next clip, make your edits, save and reload. And so on.

And your 8GB RAM is also borderline for video editing, btw.

Hi,

Thanks for the suggestion, I really appreciate it!

So it’s possible that one of my clips is corrupted, even though everything seemed to work fine while I was editing the project at first.

One question: do you think it’s worth reporting this to the KDE Bug Tracker as a bug, or should I first try narrowing it down to a specific clip before doing that?

The issue was a Corrupted effect or clip.

Because other projects works just fine.

Thanks again!

If the error appears only if that one bad-boy clip is in the timeline, there is not much we can do about that. Even though I am wondering why you could edit it first but upon reloading the project the crash occurs.

Leave it for now but if this happens again with a different clip, we need to investigate.