Kdenlive won't launch; segfaults?

I am on the current updated version of Ubuntu Mate 17.04. I installed Kdenlive from the Software boutique and cannot get it to launch from the menu. Launching it from a terminal yields:

Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Faba/symbolic/mimetypes/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Faba/symbolic/mimetypes/"

(kdenlive:24393): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'

(kdenlive:24393): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(kdenlive:24393): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(kdenlive:24393): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(kdenlive:24393): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(kdenlive:24393): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(kdenlive:24393): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(kdenlive:24393): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplay'

(kdenlive:24393): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(kdenlive:24393): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(kdenlive:24393): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(kdenlive:24393): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault (core dumped)

Can anyone shed some light on this and how to fix it?

Hello.
I cannot reproduce this in my VM.
Can you please confirm the version of kdenlive you’re using?

ouroumov@ouroumov-VirtualBox:~$ apt-cache policy kdenlive
kdenlive:
  Installed: 4:16.12.3-0ubuntu1
  Candidate: 4:16.12.3-0ubuntu1
1 Like

IIRC delete ~/.config/kdenliverc then start kdenlive again. That should fix it. This is also fixed in 17.10 but it is an issue that doesn’t present on every system.

1 Like

Terminal output is:

dave@dave-M17x:~$ apt-cache policy kdenlive
kdenlive:
Installed: 4:17.04.3+git201707101839~ubuntu17.04.1
Candidate: 4:17.04.3+git201707101839~ubuntu17.04.1
Version table:
*** 4:17.04.3+git201707101839~ubuntu17.04.1 500
500 Index of /kdenlive/kdenlive-stable/ubuntu zesty/main amd64 Packages
100 /var/lib/dpkg/status
4:16.12.3-0ubuntu1 500
500 Index of /ubuntu zesty/universe amd64 Packages

But my problem started before adding the PPA. I thought it might clear things up going to a newer version.

Per Martin's directions, deleting ~/.config/kdenliverc fixed my issues and a few more that I thought were just the result of a KDE/QT app on a GTK desktop.

Thanks for the help!

1 Like