PiTiVi freezes and crashes regularly since the update to Ubuntu 22.04
Since my update to Ubuntu 22.04, PiTiVi doesn't work properly anymore:
- It has trouble reading the video (it takes a few seconds to start, and sometimes freezes, and can't be restarted) In the terminal I get the following error message:
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/timeline/previewers.py", line 1292, in do_draw
rate = (duration - inpoint) / clip.get_timeline_time_from_internal_time(self.ges_elem, duration)
gi.repository.GLib.GError: GES_ERROR: The internal time 0:00:05.816390000 of child "audiourisource12" would correspond to a negative start of -0:03:38.117389009 for the clip "uriclip57" (5)
When launching PiTiVi it says that Gsound can't be found on my system. I checked that gsound-tools is installed, otherwise it's a pretty standard installation of Ubuntu.
- It crashes when I try to render a video. I included the final lines of the terminal output (before there were essentially loads of the GStreamer-CRITICAL error message).
(pitivi:35156): Gtk-WARNING **: 22:41:01.283: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
(pitivi:35156): GStreamer-CRITICAL **: 22:41:01.283: gst_poll_read_control: assertion 'set != NULL' failed
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Erreur lors de l’ouverture du fichier /usr/share/icons/Yaru/16x16/status/image-missing.png : Trop de fichiers ouverts (g-io-error-quark, 31)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Erreur lors de l’ouverture du fichier /usr/share/icons/Yaru/16x16/status/image-missing.png : Trop de fichiers ouverts (g-io-error-quark, 31)
(pitivi:35156): GStreamer-CRITICAL **: 22:41:01.283: gst_poll_read_control: assertion 'set != NULL' failed
(pitivi:35156): GStreamer-CRITICAL **: 22:41:01.283: gst_poll_read_control: assertion 'set != NULL' failed
(pitivi:35156): GStreamer-CRITICAL **: 22:41:01.283: gst_poll_read_control: assertion 'set != NULL' failed
Abandon (core dumped)
I hope this is enough for figuring what might be happening. It's my first time reporting a bug so I apologize if it's not clear enough.