Bug 470045

Summary: Flatpak version crashes at startup
Product: [Applications] kdenlive Reporter: Laurent Pointecouteau <laurent.pointecouteau>
Component: Setup & InstallationAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: crash CC: 677ee1vp, fritzibaby
Priority: NOR Keywords: triaged
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace
glxinfo
inxi -G

Description Laurent Pointecouteau 2023-05-20 14:42:35 UTC
Created attachment 159134 [details]
Backtrace

At startup, the app displays the splash screen, then the "Do you want to reset the configuration files?" popup, then crashes regardless of the answer (similar to https://bugs.kde.org/show_bug.cgi?id=468405).
Comment 1 Laurent Pointecouteau 2023-05-20 14:43:07 UTC
Created attachment 159135 [details]
glxinfo
Comment 2 Laurent Pointecouteau 2023-05-23 15:55:46 UTC
After further testing, it appears that the AppImage version is correctly working on my setup (Fedora Silverblue 38). A downstream bug has been reported: https://github.com/flathub/org.kde.kdenlive/issues/227
Comment 3 jdl 2023-08-12 10:26:42 UTC
Flatpak crashes for me as well.

I tried uninstalling and deleting `~/.var/app/org.kde.kdenlive` as per this comment https://github.com/flathub/org.kde.kdenlive/issues/227#issuecomment-1594978480 , but it still crashed.
It did produce a more verbose startup message in the terminal before exiting though:

```
flatpak run org.kde.kdenlive
QIBusPlatformInputContext: invalid portal bus.
QSocketNotifier: Can only be used with threads started with QThread
profilePath from appDir/../share:  "/app/share/mlt-7/profiles"
meltPath from KdenliveSetting::rendererPath:  "/app/bin/melt"
Empty metadata for  "audiochannels"
Empty metadata for  "audioconvert"
Empty metadata for  "imageconvert"
Empty metadata for  "glsl.manager"
Empty metadata for  "telecide"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bs2b"
plugin not available: "avfilter.bwdif"
plugin not available: "avfilter.deblock"
plugin not available: "avfilter.dedot"
plugin not available: "avfilter.deflate"
plugin not available: "avfilter.derain"
plugin not available: "avfilter.doubleweave"
plugin not available: "avfilter.field"
plugin not available: "avfilter.framestep"
plugin not available: "avfilter.fspp"
plugin not available: "avfilter.graphmonitor"
plugin not available: "avfilter.hqdn3d"
plugin not available: "avfilter.inflate"
plugin not available: "avfilter.lagfun"
plugin not available: "avfilter.loudnorm"
plugin not available: "avfilter.mcdeint"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
plugin not available: "avfilter.sr"
plugin not available: "avfilter.tmix"
plugin not available: "avfilter.w3fdif"
plugin not available: "avfilter.weave"
plugin not available: "avfilter.yadif"
plugin not available: "frei0r.alpha0ps"
plugin not available: "frei0r.alpha0ps"
plugin not available: "frei0r.alphagrad"
plugin not available: "frei0r.alphaspot"
plugin not available: "frei0r.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.facebl0r"
plugin not available: "frei0r.facedetect"
plugin not available: "frei0r.hqdn3d"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.pr0be"
plugin not available: "frei0r.pr0file"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.unsharp_mask"
plugin not available: "timewarp"
unsupported effect in group "frei0r.alpha0ps" : "/app/share/kdenlive/effect-templates/secondary_color_correction.xml"
Asset "mask_start-frei0r.alphaspot" has invalid dependency "frei0r.alphaspot" and is going to be removed
plugin not available: "region"
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
QQmlEngine::setContextForObject(): Object already has a QQmlContext
kf.config.core: "KConfigIni: In file /usr/share/kservices5/searchproviders/google_advanced.desktop, line 137: " "Invalid escape sequence \"\\{\"."
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
Checking "VAAPI" with FFmpeg args:  ("-hide_banner", "-y", "-vaapi_device", "/dev/dri/renderD128", "-f", "lavfi", "-i", "smptebars=duration=5:size=1280x720:rate=25", "-vf", "format=nv12,hwupload", "-c:v", "h264_vaapi", "-an", "-f", "mp4", "/var/tmp/DjSRgJ.mp4")
-> "VAAPI" SUPPORTED
Checking "VAAPI with SCALING" with FFmpeg args:  ("-hide_banner", "-y", "-hwaccel", "vaapi", "-hwaccel_output_format", "vaapi", "/dev/dri/renderD128", "-f", "lavfi", "-i", "smptebars=duration=5:size=1280x720:rate=25", "-vf", "scale_vaapi=w=640:h=-2:format=nv12,hwupload", "-c:v", "h264_vaapi", "-an", "-f", "mp4", "/var/tmp/DjSRgJ.mp4")
-> "VAAPI with SCALING" SUPPORTED
Checking "NVENC" with FFmpeg args:  ("-hide_banner", "-y", "-hwaccel", "cuvid", "-f", "lavfi", "-i", "smptebars=duration=5:size=1280x720:rate=25", "-c:v", "h264_nvenc", "-an", "-f", "mp4", "/var/tmp/SLqdPg.mp4")
-> "NVENC" SUPPORTED
// FFMPEG ARGS:  ("-hide_banner", "-filters")
/// ++ SCALE_NPP NOT SUPPORTED
:::: NOT FOUND DOCUMENT GUIDES !!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qrc:/qml/timeline.qml:500: ReferenceError: proxy is not defined
qrc:/qml/timeline.qml:481: ReferenceError: proxy is not defined
==== NO PREVIOUS TIMELINE
==== CONNECT NEW TIMELINE, MODEL: 0
::::::::::: connecting timeline:  QUuid("{7116c69d-f776-4d31-9ba9-791220f858bd}") , DUR:  0
root context get sub model new function
HHHHHHHHHHHH
INVALID BIN PLAYLIST...
=== OPENING FILE WITH TRACKS:  5
:::: FOUND TRACTOR WITH TRACKS:  2

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS:  2

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS:  2

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS:  2

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
=== GOT THUMB FOR:  -1 x -1
===== ACTIVATING DOCUMENT:  QUuid("{7116c69d-f776-4d31-9ba9-791220f858bd}")
::::::::::::::::::::::
[destroyed object]: error 7: importing the supplied dmabufs failed
The Wayland connection experienced a fatal error: Protokollfeil
``` 

Subsequent startups give a short terminal output:

```
flatpak run org.kde.kdenlive                                                                                                                                                                        
QIBusPlatformInputContext: invalid portal bus.
QSocketNotifier: Can only be used with threads started with QThread
 = = = =
GOT Deleted file:  "/home/Jacob/.var/app/org.kde.kdenlive/config/kdenlive-flatpakrc"
 = = = =
GOT Deleted file:  "/app/share/kxmlgui5/kdenlive/kdenliveui.rc"
QPaintDevice: Cannot destroy paint device that is being painted
```
Comment 4 jdl 2023-08-12 10:30:35 UTC
Created attachment 160917 [details]
inxi -G
Comment 5 emohr 2025-02-18 08:24:27 UTC
Do you have used the official Kdenlive flatpak from flathub https://flathub.org/apps/org.kde.kdenlive? If not please install Kdenlive from flathub and try again.
Comment 6 Bug Janitor Service 2025-03-05 03:47:13 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2025-03-20 03:47:13 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.