FS#67282 - [gdk-pixbuf2] Memory leak in GIF loader with upstream fix

Attached to Project: Arch Linux
Opened by Cebtenzzre (cebtenzzre) - Tuesday, 14 July 2020, 21:11 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 14 July 2020, 22:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Upstream commit dd3aa9ed6 ("GIF: Plug animation data and iterator leak") fixes a bug in gdk-pixbuf2's GIF loader that can cause gthumb to leak gigabytes of memory. This commit is not yet part of a release, but the leak is bad enough that I tracked down the bug with massif and gdb and wrote a fix before discovering that the exact patch that I wrote is already applied upstream.

Additional info:
* Package version: gdk-pixbuf2 2.40.0-2
* Upstream commit: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/dd3aa9ed64a0a370c8150f98e849ffc6e73da827

Steps to reproduce:
1. Use gthumb to view a directory full of GIF files, with a clean thumbnail cache for maximum leakage
2. Watch memory usage climb, optionally profile with massif
   massif.png (343.8 KiB)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 14 July 2020, 22:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  gdk-pixbuf2 2.40.0+6

Loading...