Bug 507218

Summary: Kdenlive always crashes at startup
Product: [KDE Neon] neon Reporter: harald <havoigt>
Component: Packages User EditionAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash CC: carlosd.kde, jr, maxi, neon-bugs, va4fo0+9irr148sjyfs4
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description harald 2025-07-19 07:28:15 UTC
SUMMARY


STEPS TO REPRODUCE
1. perform upgrade to an well running existing Neon system to the current version
2. start kdenlive
3. kdenlive always crashes at startup and seems to send an automatic crash report

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: ? Neon?
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
kdenlive version: "4:25.04.3-Ozneon+24.04+noble+release+build22" is installed on actual "KDE neon User Edition"
Kernel-Version: 6.11.0.29
Grafix-Plattform: X11
Grafic driver: NVIDIA (user installation)

kdenlive-25.04.3-x86_64.appimage works
Comment 1 Claudia Brechfleisch-Hack 2025-07-26 16:05:52 UTC
I see the same problem on KDE Neon with all updates. 

Error message when starting from terminal:
"QPaintDevice: Cannot destroy paint device that is being painted"

According to https://discuss.kde.org/t/kdenlive-crashes/35357 this crash is due to a broken frei0r-plugins package in KDE Neon.
Comment 2 Maxi Schimmel 2025-08-05 22:47:19 UTC
(In reply to Claudia Brechfleisch-Hack from comment #1)
> I see the same problem on KDE Neon with all updates. 
> 
> Error message when starting from terminal:
> "QPaintDevice: Cannot destroy paint device that is being painted"
> 
> According to https://discuss.kde.org/t/kdenlive-crashes/35357 this crash is
> due to a broken frei0r-plugins package in KDE Neon.

I confirm with Neon and Plasma 6.4.3.
The flatpak version runs ok, but the native one just crash after the splash screen.
Comment 3 Jean-Baptiste Mardelle 2025-08-07 07:16:57 UTC
Reassigning the bug to KDE Neon

We received many reports of Kdenlive crashing on startup on KDE Neon. From my understanding, this is caused by an OpenCV update that causes crashes in Frei0r or MLT. Both packages should be rebuilt when OpenCV is updated. Is it possible to update the Frei0r and MLT packages in KDE Neon ?

Thanks in advance.
Comment 4 Carlos De Maine 2025-08-15 12:34:08 UTC
apologies, this has been on my todo list for quite a while, unfortunately the list is very long ;)  

the discuss.kde.org link that Maxi referenced gives the answer.  frei0r-plugins needed rebuilding against neon's libopencv, so i took the opportunity to backport a much more modern 2.3.3 version from plucky, rebuilt mlt as well.

tested to work on all editions.  will be available after the next snapshots are released