Thanks, valgrind tend to avoid the segfault but does collect the errors still, your log has one
==18294== Invalid free() / delete / delete[] / realloc() ==18294== at 0x483897B: free (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==18294== by 0x4891CEF: ??? (in /usr/lib/x86_64-linux-gnu/gedit/ That's missing debug symbols though, could you install those debug packages and try again? https://launchpad.net/ubuntu/+source/gtk+3.0/3.24.5-1ubuntu1/+build/16354960/+files/libgtk-3-0-dbgsym_3.24.5-1ubuntu1_amd64.ddeb https://launchpad.net/ubuntu/+source/glib2.0/2.59.2-2/+build/16381172/+files/libglib2.0-0-dbgsym_2.59.2-2_amd64.ddeb https://launchpad.net/ubuntu/+source/gedit/3.31.90-1build1/+build/16354854/+files/gedit-dbgsym_3.31.90-1build1_amd64.ddeb -- 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/1817459 Title: gedit assert failure: corrupted size vs. prev_size Status in gedit package in Ubuntu: Incomplete Bug description: Third failure of this type. Occurs when editing one or more files and using the window close "X" to terminate. ProblemType: Crash DistroRelease: Ubuntu 19.04 Package: gedit 3.31.90-1build1 ProcVersionSignature: Ubuntu 4.19.0-13.14-generic 4.19.20 Uname: Linux 4.19.0-13-generic x86_64 ApportVersion: 2.20.10-0ubuntu21 Architecture: amd64 AssertionMessage: corrupted size vs. prev_size CurrentDesktop: ubuntu:GNOME Date: Sun Feb 24 07:13:25 2019 ExecutablePath: /usr/bin/gedit InstallationDate: Installed on 2019-02-06 (17 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190203) ProcCmdline: /usr/bin/gedit --gapplication-service ProcEnviron: SHELL=/bin/bash XDG_RUNTIME_DIR=<set> PATH=(custom, no user) LANG=en_US.UTF-8 Signal: 6 SourcePackage: gedit StacktraceTop: __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f34c797ec00 "%s\n") at ../sysdeps/posix/libc_fatal.c:181 malloc_printerr (str=str@entry=0x7f34c797cc9a "corrupted size vs. prev_size") at malloc.c:5336 malloc_consolidate (av=av@entry=0x7f34c79b5c40 <main_arena>) at malloc.c:4442 _int_free (av=av@entry=0x7f34c79b5c40 <main_arena>, p=0x5641963c0fd0, have_lock=have_lock@entry=1) at malloc.c:4348 _int_realloc (av=av@entry=0x7f34c79b5c40 <main_arena>, oldp=oldp@entry=0x5641963bcfc0, oldsize=oldsize@entry=32784, nb=nb@entry=16400) at malloc.c:4636 Title: gedit assert failure: corrupted size vs. prev_size UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo separator: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1817459/+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