Bug 467391

Summary: Project file created with no permissions
Product: [Applications] kdenlive Reporter: Narcis Garcia <narcisgarcia>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: ASSIGNED ---    
Severity: major CC: chesnia2000, diekuhrannte, fritzibaby, vpinon
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Narcis Garcia 2023-03-15 11:00:52 UTC
All 2022 AppImage versions affected.
Environment umask is: 0022
SUMMARY
***
Most times I save a project, its .kdenlive file is created with no user/group/other permission: No read, no write, no execution permission, and just after saving application complains it cannot save content in file.
***


STEPS TO REPRODUCE
1. Launch (eg. kdenlive-22.12.2-x86_64.AppImage) with its default empty project
2. Load video clips and put someone to timeline
3. Save project

OBSERVED RESULT
$ ls -l
---------- 1 user user  0 Mar 15 11:56 MyProject.kdenlive


EXPECTED RESULT
$ ls -l
-rw-r--r-- 1 user user  0 Mar 15 11:56 MyProject.kdenlive

SOFTWARE/OS VERSIONS
GNU: Debian 11 (Stable) amd64 with Gnome
Comment 1 Narcis Garcia 2023-05-02 14:34:30 UTC
$ umask
0022

Kdenlive 2023 versions still affected.
On working on a project, can't save it again without running:
$ chmod u+rw MyProject.kdenlive
Comment 2 Jean-Baptiste Mardelle 2023-05-03 07:33:04 UTC
I cannot reproduce on a KDE based distro. However it looks similar to this:
https://bugs.kde.org/show_bug.cgi?id=343158

Will try to make tests on a gnome system
Comment 3 Narcis Garcia 2023-05-03 09:02:43 UTC
I'm trying to reproduce now on a Debian-Gnome live session, and I can't.
How can I debug this on my production system?
Comment 4 diekuhrannte@web.de 2024-02-18 18:21:46 UTC
Hello Narcis Garcia,
Can you please report whether the problem still exists? Or can we close the bug report?
Comment 5 Narcis Garcia 2024-02-18 21:29:06 UTC
$ lsb_release -ds
Debian GNU/Linux 11 (bullseye)

$ umask
0022

$ /opt/kdenlive/kdenlive-23.04.2-x86_64.AppImage
Loaded icon theme: "breeze"
Loaded icon theme: "breeze-dark"
Starting render server
profilePath from $MLT_PROFILES_PATH:  "/tmp/.mount_kdenliaHRYhP/usr/share/mlt-7/profiles/"
meltPath from KdenliveSetting::rendererPath:  "/tmp/.mount_kdenliaHRYhP/usr/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: "autotrack_rectangle"
plugin not available: "avfilter.atadenoise"
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.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.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.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "movit.unsharp_mask"
plugin not available: "region"
plugin not available: "timewarp"
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.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
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"
plugin not available: "region"
plugin not available: "region"
ALSA lib /home/appimage/Craft/BC/linux-64-gcc/build/libs/libasound2/work/alsa-lib-1.2.5.1/src/conf.c:4499:(snd_config_update_r) Cannot access file /home/appimage/Craft/BC/linux-64-gcc/share/alsa/alsa.conf
no alsa devices available
ALSA lib /home/appimage/Craft/BC/linux-64-gcc/build/libs/libasound2/work/alsa-lib-1.2.5.1/src/conf.c:4499:(snd_config_update_r) Cannot access file /home/appimage/Craft/BC/linux-64-gcc/share/alsa/alsa.conf
no alsa devices available
QQmlEngine::setContextForObject(): Object already has a QQmlContext
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.service.services: The desktop entry file "/usr/share/applications/org.gnome.ChromeGnomeShell.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/org.gnome.ChromeGnomeShell.desktop"
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/qemu.desktop"
kf.service.services: The desktop entry file "/usr/share/applications/org.gnome.ChromeGnomeShell.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/org.gnome.ChromeGnomeShell.desktop"
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/qemu.desktop"
Could not open sycoca database, you must run kbuildsycoca first!
kf.service.sycoca: No ksycoca database available! Tried running kbuildsycoca5 ?
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
:::: 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("{71cabb7c-c325-42da-8725-3b8f407f6ac4}") , 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!!!
I/O error : Permission denied
I/O error : Permission denied
===== ACTIVATING DOCUMENT:  QUuid("{71cabb7c-c325-42da-8725-3b8f407f6ac4}") 
::::::::::::::::::::::
inotify_add_watch(/home/user/.cache/ksycoca5_ca_bicLL_slKi8koal6rtfOX2Qr+qs=) failed: (Permission denied)
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
kf.kio.widgets: Failed to check which JobView API is supported "The name org.kde.kuiserver was not provided by any .service files"
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
org.kde.multimedia.kdenlive: //////  ERROR writing to file:  "/home/user/MyProject1.kdenlive"
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
==== NO PREVIOUS TIMELINE
==== ABORTING NO TIMELINE AVAILABLE
========== READY FOR TASK DISCARD ON:  3
===== REMOVING MASTER PRODUCER; CURRENT COUNT:  1 
:::::::::::::::::::::::::::
QPaintDevice: Cannot destroy paint device that is being painted

$ ls -l  "/home/user/MyProject1.kdenlive"
---------- 1 user user 12269 18 febr. 22:22 /home/user/MyProject1.kdenlive

$ /opt/kdenlive/kdenlive-23.08.4-x86_64-A.AppImage 
Loaded icon theme: "breeze"
Loaded icon theme: "breeze-dark"
kf.config.core: Watching absolute paths is not supported "/tmp/.mount_kdenlijbscbH/usr/share/color-schemes/BreezeDark.colors"
Starting render server
profilePath from $MLT_PROFILES_PATH:  "/tmp/.mount_kdenlijbscbH/usr/share/mlt-7/profiles/"
meltPath from KdenliveSetting::meltPath:  "/tmp/.mount_kdenlijbscbH/usr/bin/melt"
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: "autotrack_rectangle"
plugin not available: "avfilter.atadenoise"
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.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.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.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "movit.unsharp_mask"
plugin not available: "region"
plugin not available: "timewarp"
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.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
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"
plugin not available: "region"
plugin not available: "region"
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.service.sycoca: Service type not found: "application/x-bzip2"
kf.service.sycoca: Service type not found: "application/yaml"
kf.service.sycoca: Service type not found: "audio/vnd.wave"
kf.service.sycoca: Service type not found: "application/vnd.efi.img"
kf.service.sycoca: Service type not found: "video/vnd.avi"
kf.service.sycoca: Service type not found: "application/fits"
kf.service.sycoca: Service type not found: "application/x-bat"
kf.service.sycoca: Service type not found: "application/vnd.efi.iso"
kf.service.sycoca: Service type not found: "text/javascript"
kf.service.sycoca: Service type not found: "application/java-archive"
kf.service.sycoca: Service type not found: "application/vnd.dbf"
kf.service.sycoca: Service type not found: "application/vnd.apple.keynote"
kf.service.sycoca: Service type not found: "application/vnd.apple.numbers"
kf.service.sycoca: Service type not found: "application/vnd.apple.pages"
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 6: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.config.core: "KConfigIni: In file /usr/share/applications/electrum.desktop, line 21: " "Invalid escape sequence \"\\\"\"."
kf.service.sycoca: Service type not found: "application/x-bzip2"
kf.service.sycoca: Service type not found: "application/yaml"
kf.service.sycoca: Service type not found: "audio/vnd.wave"
kf.service.sycoca: Service type not found: "application/vnd.efi.img"
kf.service.sycoca: Service type not found: "video/vnd.avi"
kf.service.sycoca: Service type not found: "application/fits"
kf.service.sycoca: Service type not found: "application/x-bat"
kf.service.sycoca: Service type not found: "application/vnd.efi.iso"
kf.service.sycoca: Service type not found: "text/javascript"
kf.service.sycoca: Service type not found: "application/java-archive"
kf.service.sycoca: Service type not found: "application/vnd.dbf"
kf.service.sycoca: Service type not found: "application/vnd.apple.keynote"
kf.service.sycoca: Service type not found: "application/vnd.apple.numbers"
kf.service.sycoca: Service type not found: "application/vnd.apple.pages"
Could not open sycoca database, you must run kbuildsycoca first!
kf.service.sycoca: No ksycoca database available! Tried running kbuildsycoca5 ?
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
shared memfd open() failed: Invalid argument
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
ALSA lib pcm_usb_stream.c:508:(_snd_pcm_usb_stream_open) Unknown field hint
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
:::: NOT FOUND DOCUMENT GUIDES !!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qrc:/qml/timeline.qml:502: ReferenceError: proxy is not defined
qrc:/qml/timeline.qml:482: ReferenceError: proxy is not defined
==== NO PREVIOUS TIMELINE
::::::::::: connecting timeline:  QUuid("{9c2e50cb-1da9-4cd3-bd0b-7626714b5af3}") , DUR:  0
shared memfd open() failed: Invalid argument
root context get sub model new function
HHHHHHHHHHHH
INVALID BIN PLAYLIST...
=== OPENING FILE WITH TRACKS:  5
shared memfd open() failed: Invalid argument
inotify_add_watch(/home/user/.cache/ksycoca5_ca_oMUU609ZD4TApGwfbxbv3J_J7Os=) failed: (Permission denied)
:::: 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!!!
inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied)
:::: 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!!!
===== ACTIVATING DOCUMENT:  QUuid("{9c2e50cb-1da9-4cd3-bd0b-7626714b5af3}") 
::::::::::::::::::::::
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
kf.kio.widgets: Failed to check which JobView API is supported "The name org.kde.kuiserver was not provided by any .service files"
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
org.kde.multimedia.kdenlive: //////  ERROR writing to file:  "/home/user/MyProject2.kdenlive"
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
shared memfd open() failed: Invalid argument
shared memfd open() failed: Invalid argument
==== NO PREVIOUS TIMELINE
==== ABORTING NO TIMELINE AVAILABLE
::::::==

CLOSING TIMELINE MODEL

::::::::
========== READY FOR TASK DISCARD ON:  3
===== REMOVING MASTER PRODUCER; CURRENT COUNT:  1 
:::::::::::::::::::::::::::
QPaintDevice: Cannot destroy paint device that is being painted

$ ls -l  "/home/user/MyProject2.kdenlive"
---------- 1 user user 12258 18 febr. 22:27 /home/user/MyProject2.kdenlive
Comment 6 Narcis Garcia 2024-06-11 09:37:10 UTC
I can't test it with newer Kdenlive versions due to be using Debian GNU/Linux 11:
https://discuss.kde.org/t/kdenlive-24-02-0-a-x86-64-appimage-doesnt-work-on-porteus-5-01-slackware-15-based-distr/12302
Comment 7 Narcis Garcia 2025-01-31 07:16:18 UTC
Upgraded this computer to Debian GNU/Linux 12 (bookworm).
Then upgraded Kdenlive to v24.12.1
Same behaviour: A new project can be created and edited but: When saving it to .kdenlive file, this file is created with no (u/g/o) permissions and Kdenlive does not complete saving any data.

Exact message I read from Kdenlive GUI: "Cannot create backup copy: ...(file path)"
The only way to not lose project is:
Just when I read this dialog and without closing it: chmod +rw MyFile.kdenlive
then I can press [Ok] and project saving completes.
Comment 8 Narcis Garcia 2025-01-31 07:39:37 UTC
Oh also when trying to render, console says:
Failed to open file "/tmp/kdenlive-XghdIU-1.mlt" for reading

(that file also has no permissions)
Comment 9 emohr 2025-01-31 07:55:44 UTC
Do you run Kdenlive either with the AppImage or the flatpak from the download page https://kdenlive.org/en/download/?

If not and you installed Kdenlive direct from the distributor then it's an upstream issue Kdenlive cannot solve. You have to reach out to the distributor to fix the packaging.
Comment 10 Narcis Garcia 2025-01-31 09:34:35 UTC
kdenlive-24.12.1-x86_64.AppImage
Comment 11 Narcis Garcia 2025-08-30 06:12:41 UTC
Reproduced with Debian 12 (Bookworm) production system.
Kdenlive installed as:
/opt/kdenlive/kdenlive-25.08.0-x86_64.AppImage

$ ls -l /opt/kdenlive/kdenlive-25.08.0-x86_64.AppImage
-rwxr-xr-x 1 user user 195045880 Aug 29 15:38 /opt/kdenlive/kdenlive-25.08.0-x86_64.AppImage
$ umask
0022

ON "RENDER TO FILE" action:
Failed to open file /tmp/kdenlive-PBvfgg-1.mlt
$ ls -l /tmp/kdenlive-PBvfgg-1.mlt
---------- 1 user user 21071 Aug 30 08:09 /tmp/kdenlive-PBvfgg-1.mlt
Comment 12 Narcis Garcia 2025-08-30 06:26:14 UTC
ON "RENDER TO FILE" action it says to console:

* CREATED JOB WITH ARGS:  QList("delivery", "/tmp/.mount_kdenlijCHciE/usr/bin/melt", "/tmp/kdenlive-mxtmPr-1.mlt", "--pid", "2044265")
starting kdenlive_render process using:  "/tmp/.mount_kdenlijCHciE/usr/bin/kdenlive_render"
org.kde.kdenlive.render: Failed to open file "/tmp/kdenlive-mxtmPr-1.mlt" for reading
Comment 13 emohr 2025-08-30 07:47:42 UTC
This looks like a drive/file access issues to the mounted drives where the file “kdenlive-mxtmPr-1.mlt” is stored.
As a workaround: Copy the files “kdenlive-mxtmPr-1.mlt” to the desktop and try to open it from the desktop.
Comment 15 Vincent PINON 2025-08-30 13:12:44 UTC
Can you try creating a new user on your system with default config?
If it works, then retry after copying your ~/.bashrc and restarting the test session, then copying ~/.config/… to identify which config creates the problem
Comment 16 Narcis Garcia 2025-08-31 10:20:55 UTC
emohr: I have no problem with temporary path; Every file by Kdenlive is created with zero permissions, anywhere is created.

Vincent PINON: Great idea to find a difference; I've created a new user in same computer, logged in, and launched /usr/local/bin/kdenlive (it's a link to /opt/kdenlive/kdenlive-25.08.0-x86_64.AppImage *) with empty project.
Then I added a clip to project, and saved it.
No error message, "test1.kdenlive" is created with 24,872 bytes of XML content BUT WITH NO PERMISSIONS:
$ ls -l test1.kdenlive
----------  1 testuser testuser    24872 Aug 31 12:09  test1.kdenlive
Next time I try to save project, application complains it can't create a backup and it complains that cannot save project (of course, it can't neither read nor overwrite a file with zero permissions set).

My conclusion is Kdenlive doesn't like something of OS environment.

(*) behaviour does not change by AppImage location, even in ~/Movies
Comment 17 Narcis Garcia 2025-08-31 17:26:24 UTC
I've found the point that makes Kdenlive, although having umask 0022, to write files with no permissions:
Environment variable set:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
(needed to use a camera, and applied from /etc/profile.d/video4linux1.sh)

If kdenlive is launched with LD_PRELOAD unset, it writes files normally; either project files or temporary .mlt for rendering (and render works this way)

Why LD_PRELOAD environment variable or v4l1compat.so interferes in Kdenlive behaviour??
Comment 18 Bug Janitor Service 2025-09-02 13:03:47 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kdenlive/-/merge_requests/724
Comment 19 Jean-Baptiste Mardelle 2025-09-02 16:47:58 UTC
Thanks for investigating this very uncommon issue. In fact, the V4l dependency is a thing from the past, not used anymore.
I created an AppImage that drops the use of V4l stuff.

Could you please download it and check if this solves your problem ?
https://invent.kde.org/multimedia/kdenlive/-/jobs/3313597/artifacts/browse/kde-ci-packages/

(The Appimage will only be available for 2 days)
Thanks in advance!
Comment 20 Narcis Garcia 2025-09-06 05:58:47 UTC
> Could you please download it and check if this solves your problem ?
> https://invent.kde.org/multimedia/kdenlive/-/jobs/3313597/artifacts/browse/
> kde-ci-packages/
> 
> (The Appimage will only be available for 2 days)
> Thanks in advance!

Sorry; I did read your reply 4 days after, and link does not work today.
Comment 21 Jean-Baptiste Mardelle 2025-09-06 11:41:44 UTC
I just rebuilds an AppImage (again valid for 2 days)
https://invent.kde.org/multimedia/kdenlive/-/jobs/3328531/artifacts/browse/kde-ci-packages/
Comment 22 Narcis Garcia 2025-09-07 18:04:35 UTC
It crashes me in any circumstance about LD_PRELOAD:

./kdenlive-work_drop-v4l-10999-linux-gcc-x86_64.AppImage
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
kf.notifications: Failed to play sound with canberra: No such driver
profilePath from $MLT_PROFILES_PATH:  "/tmp/.mount_kdenliaDpEpC/usr/share/mlt-7/profiles/"
meltPath from KdenliveSetting::meltPath:  "/tmp/.mount_kdenliaDpEpC/usr/bin/melt"
Starting render server
ZZZZZZZZZZZZZZZZZZZZZZZ

STARTING TASKMANAGER CLOSURE, ACTIVE THREADS:  0 
EXCEPTIONS:  QList() 

ZZZZZZZZZZZZZZZZZZZZZZZ
plugin not available: "region"
plugin not available: "region"
Illegal instruction
Comment 23 Jean-Baptiste Mardelle 2025-09-08 17:26:59 UTC
Git commit 5eff29d25c55798c06338186f3a1db86af7456ab by Jean-Baptiste Mardelle.
Committed on 08/09/2025 at 17:26.
Pushed by mardelle into branch 'master'.

Drop unused v4l dependency

v4l dependency was used when we implemented a webcam capture feature. This feature has been dropped for some time and is not working anymore.
So there is no point in keeping the dependency. If we one day decide to reimplement it, we should probably try to do it through QtMultimedia, not through v4l.

M  +0    -13   src/CMakeLists.txt
M  +0    -6    src/capture/CMakeLists.txt
M  +2    -197  src/dialogs/settings/kdenlivesettingsdialog.cpp
M  +0    -6    src/dialogs/settings/kdenlivesettingsdialog.h
M  +0    -50   src/kdenlivesettings.kcfg
M  +0    -11   src/mainwindow.cpp
M  +0    -92   src/monitor/recmanager.cpp
M  +0    -2    src/monitor/recmanager.h
M  +9    -212  src/ui/configcapture_ui.ui

https://invent.kde.org/multimedia/kdenlive/-/commit/5eff29d25c55798c06338186f3a1db86af7456ab
Comment 24 Bug Janitor Service 2025-09-23 03:46:58 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 25 Narcis Garcia 2025-09-24 08:24:26 UTC
When a fixed AppImage is shared, I'll be able to test it.
Comment 26 emohr 2025-09-24 14:49:49 UTC
You can test it with the latest nightly AppImage. https://cdn.kde.org/ci-builds/multimedia/kdenlive/master/linux/