Memory leak and hanging on empty commit message.
Submitted by Rohitt Vashishtha
Link to original bug (#796234)
Description
gitg memory usage jumped to circa 2 gb on a 3.7 gb laptop and then the application seemingly hung, but responded to SIGTERM.
When: While browsing a large repository, clicking on a commit with empty commit message.
Console log:
$ gitg
(gitg:25202): GLib-GIO-CRITICAL **: 15:40:54.252: g_converter_convert: assertion 'outbuf_size > 0' failed
** (gitg:25202): WARNING **: 15:40:54.253: gitg-resource.vala:33: Error while loading resource: style-unix.css:1:0Failed to import: The resource at “/org/gnome/gitg/ui/style-unix.css” failed to decompress
(gitg:25202): Gtk-CRITICAL **: 15:40:56.235: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(gitg:25202): Gtk-CRITICAL **: 15:40:56.374: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
ERROR: failed to create pixbuf: Error displaying image
ERROR: failed to create pixbuf: Error displaying image
ERROR: failed to create pixbuf: Error displaying image
ERROR: failed to create pixbuf: Error displaying image
^C
Version: 3.26.x