Gitg crashes when manipulating some repositories
gitg crashes with:
GtkSourceView:ERROR:../gtksourceview/gtksourcecontextengine.c:5555:update_syntax: assertion failed: (g_slist_length (ce->priv->invalid) <= 1)
Bail out! GtkSourceView:ERROR:../gtksourceview/gtksourcecontextengine.c:5555:update_syntax: assertion failed: (g_slist_length (ce->priv->invalid) <= 1)
while opening or working with some repositories.
A similar issue #179 (closed) was reported and solved by !75 (merged) but it looks like it has resurfaced again.
I am using gitg with flatpak from flathub stable.
$ flatpak info org.gnome.gitg
gitg - Graphical user interface for git
ID: org.gnome.gitg
Ref: app/org.gnome.gitg/x86_64/stable
Arch: x86_64
Branch: stable
Version: 44
License: GPL-2.0+
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 37,3 MB
Runtime: org.gnome.Platform/x86_64/45
Sdk: org.gnome.Sdk/x86_64/45
Commit: 384e443fe5ab00b216c98a7d3ef7aea01cff33f081acd30ecf2f19e1be9d01c3
Parent: b8d178ddefc4003b2fa3b43ab57a28b2309db249abb97a2dea6ccbfa0c2af4c5
Subject: Update 2 modules (a7f5c72c)
Date: 2023-11-21 08:08:48 +0000