This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kdenlive crashes when opening file on Debian

Tags: None
(comma "," separated)
ricardolaitano
Registered Member
Posts
9
Karma
0
I was editing my video, using Kdenlive yesterday, when it suddenly crashed. Since then, I'm unable to reopen my file. I can open other files with no problems, but whenever I try to open this file, Kdenlive crashes.

I had this problem with Debian Stable (Stretch), and today I've updated to Debian Testing to see if it was a bug that could be solved with a newer version.

I tried both with the repository app as with the AppImage version.

The kdenlive.log file shows as follows:
Code: Select all
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Loading effects from  "/usr/share/kdenlive/effects"
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 705, resource id: 39845910, major code: 151 (Unknown), minor code: 11
org.kde.multimedia.kdenlive:  ///////// WARNING, FOUND UNKNOWN PRODUDER:  "producer0"  ----------------
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")


When I run it from command line, I get as follows:
Code: Select all
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Loading effects from  "/usr/share/kdenlive/effects"
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 705, resource id: 52428822, major code: 151 (Unknown), minor code: 11
org.kde.multimedia.kdenlive:  ///////// WARNING, FOUND UNKNOWN PRODUDER:  "producer0"  ----------------
pa_write() failed while trying to wake up the mainloop: Descritor de arquivo inválido
pa_write() failed while trying to wake up the mainloop: Descritor de arquivo inválido
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 7327
KCrash: Arguments: /usr/bin/kdenlive
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Parado                  kdenlive


Any ideas? Please help, I can't lose this project. Thanks!
Merlimau
Registered Member
Posts
986
Karma
8
You should run Kdenlive on a stable platform only. My suggestion:
- Use AppImage 18.08.3. Run the Appimage from the terminal (press CTRL + ALT + T). Move to the AppImage folder and run the .AppImage: ./Kdenlive*.AppImage.
- Try the following page https://thediveo.github.io/kdenlive-pro ... lyzer.html (more info here: https://github.com/TheDiveO/kdenlive-project-analyzer) to try to repair the kdenlive file.
ricardolaitano
Registered Member
Posts
9
Karma
0
Thanks for your response!

I've tried the AppImage you've sugested. It was in fact the same I've been trying before. Same results.

This is the output I get when I run the AppImage:
Code: Select all
xxxx@debian:~/Programas$ ./kdenlive-18.08.3-x86_64.AppImage
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Loading effects from  "/tmp/.mount_uWlXxC/usr/share/kdenlive/effects"
++++++++
Switching audio backend to:  "sdl2_audio"
++++++++++
trying to load "/tmp/.mount_uWlXxC/usr/lib/qt5/plugins/kf5/kio/file.so" from "/tmp/.mount_uWlXxC/usr/lib/qt5/plugins/kf5/kio/file.so"
qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 731, resource id: 54525974, major code: 151 (Unknown), minor code: 11
org.kde.multimedia.kdenlive:  ///////// WARNING, FOUND UNKNOWN PRODUDER:  "producer0"  ----------------
/tmp/.mount_uWlXxC/AppRun, linha 57: 11568 Falha de segmentação  kdenlive --config kdenlive-appimagerc $@


I've analyzed my project on the link you've sugested and got some warnings:

Video 3 missing video compositor
hidden built-in "Black" track missing video compositor
Video 2 ("transition25", B/A: 5/0, type: movit.overlay) (needless "transition26", B/A: 5/0, type: movit.overlay)
Com som ("transition24", B/A: 4/0, type: movit.overlay)
Com som 2 unneeded video compositor ("transition23", B/A: 3/0, type: movit.overlay)


Warning: not enough internally-added audio mix transitions found; there are more tracks (7) than audio mixers (6) in project – this project need its internally added mix transitions rebuilt, as audio mixing is currently incorrect.

Warning: 6 internally added mix transitions (for 7+1 tracks):

Video 3 missing audio mixer
hidden built-in "Black" track missing audio mixer
Video 2 ("transition5", B/A: 5/0) ( needless "transition13", B/A: 5/0)


How do I repair the file?
ricardolaitano
Registered Member
Posts
9
Karma
0
I've managed to repair the transitions' errors. Now the only warnings are the following:

Warning: not enough internally-added audio mix transitions found; there are more tracks (7) than audio mixers (5) in project – this project need its internally added mix transitions rebuilt, as audio mixing is currently incorrect.

Warning: 5 internally added mix transitions (for 7+1 tracks):

Video 3 missing audio mixer
hidden built-in "Black" track missing audio mixer


This I have no idea how to fix, I appreciate any suggestions.
Merlimau
Registered Member
Posts
986
Karma
8
You can try: Restart your system (switch off, switch on). Then update Linux. There are some parts missing.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

You have worked with GPU switched on (MOVIT). Please switch off GPU acceleration as Movit is not stable. Try to get Kdenlive running as AppImage. Maybe Kdenlive can recover the file. Anyway: make a copy of your Kdenlive-file before you do any test. If Kdenlive cannot load the file I’m a bit lost. I saw on the Bugtracker someone who had a similar problem.
ricardolaitano
Registered Member
Posts
9
Karma
0
Hi Merlimau!

Thanks for answering. The system is already up-to-date. What packages do you think are missing? So I can look for them.

GPU processing is not only disabled, it is greyed out, I cannot even activate it.
Merlimau
Registered Member
Posts
986
Karma
8
I’m not a Linux specialist. Found 2 similar issues with Wayland: viewtopic.php?f=215&t=153901&p=404217#p404217 solved with nVidia driver and https://github.com/flathub/org.kde.kdenlive/issues/18 solved with a terminal start-up.

The file problem seems that you have a 7 channel audio on the track selected but only 5 channels on the audio itselve (or vice versa).
ricardolaitano
Registered Member
Posts
9
Karma
0
I've solved it!
I've edited the .kdenlive file and found this:

Code: Select all
<tractor id="maintractor" title="Anonymous Submission" global_feed="1" out="7525" in="0">
  <track producer="black_track"/>
  <track producer="playlist1" hide="video"/>
  <track producer="playlist2" hide="video"/>
  <track producer="playlist0"/>
  <track producer="playlist3"/>
  <track producer="playlist4" hide="audio"/>
  <track producer="overlay_track" hide="audio"/>


So I thought this might refer to the 7 channels to only five mixers. So I removed the last line:

<track producer="overlay_track" hide="audio"/>

And that did the trick!

:D

Thanks for the help!
Merlimau
Registered Member
Posts
986
Karma
8
Glad to hear.
Do you get Kednlive on Debian running?
If all is OK please mark as solved.
ricardolaitano
Registered Member
Posts
9
Karma
0
For some reason now the title clips in the timeline do not have transparent background, covering the video in the background in black. If I open the editor an choose "Show background" the image behind appears, but not in the timeline.

Maybe this has something to do with the track I deleted?
ricardolaitano
Registered Member
Posts
9
Karma
0
If I apply the "dissolve" filter, the video shows in the background, but then I get the "fade" effect, which I don't want.
ricardolaitano
Registered Member
Posts
9
Karma
0
If I add the "screen" transition (which I don't know what it does), it works.

:/

But before this whole crashing and editing the .kdenlive issue it was working without this weird workaround.
Merlimau
Registered Member
Posts
986
Karma
8
ricardolaitano
Registered Member
Posts
9
Karma
0
It's not really the same issue. The title for me appears in the project monitor. The problem is with the background, that is always black, not showing the video on the track below it, even with the oppacity in zero. The oppacity appears though if I add any transition effect, so I'm using that as a workaround.

I didn't have this issue before I deleted that line from the .kdenlive file.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]