Bug 507218 - Kdenlive always crashes at startup
Summary: Kdenlive always crashes at startup
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (other bugs)
Version First Reported In: unspecified
Platform: KDE Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-19 07:28 UTC by harald
Modified: 2025-08-15 12:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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