I believe this is caused by the snippets plugin. When I disable it, I no longer get a crash on exit. Unfortunately, it looks like the snippets plugin was removed in later versions.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/2060613 Title: Gedit sometimes crashes by segmentation fault at closure Status in gedit package in Ubuntu: Confirmed Bug description: When I do not wait until the document is fully saved (or I only wait a short interval) gedit crashes with segmentation fault after a few seconds. It has not lead to data loss yet, but it is truly unpleasant, let alone if we include that otherwise it floods the terminal with critical GTK errors... (bug #2055010) ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: gedit 46.2-1build1 ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1 Uname: Linux 6.8.0-22-generic x86_64 ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Tue Apr 9 07:16:42 2024 InstallationDate: Installed on 2023-07-05 (279 days ago) InstallationMedia: Ubuntu 20.04.6 LTS "Focal Fossa" - Release amd64 (20230316) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> SourcePackage: gedit UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.init.d.apport: [modified] mtime.conffile..etc.init.d.apport: 2024-02-22T15:20:00 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/2060613/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp