[Bug 1828720] Re: eog (Ubuntu image viewer) consumes all memory when opening a tiff file

2019-05-12 Thread Ben Weiner
OK well with more resources in use the behaviour I am getting is that Image Viewer boots, shows a blank window, and then exits. So that's a little bit like my comment #4. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to eog in Ubuntu. h

[Bug 1828720] Re: eog (Ubuntu image viewer) consumes all memory when opening a tiff file

2019-05-12 Thread Ben Weiner
This file is identical in pixel dimensions to one that caused the bug earlier. It is 1-bit with a size of 10332px x 4148px. It is LZW compressed and contains an entirely white image. *Opening this file with Image Viewer (eog) doesn't trigger the bug* with the resources available on my system now,

[Bug 1828720] Re: eog (Ubuntu image viewer) consumes all memory when opening a tiff file

2019-05-12 Thread Ben Weiner
OK the original trigger file is OK now and uses a similar amount of memory to load. I guess it would be more appropriate to say that there's nothing to stop eog loading a file that's impracticably large, and a refinement would be to do a rough calculation of the memory requirement and ask the user

[Bug 1828720] [NEW] eog (Ubuntu image viewer) consumes all memory when opening a tiff file

2019-05-12 Thread Ben Weiner
Public bug reported: The ImageViewer app (/usr/bin/eog) will go into a loop if a TIFF files are opened. Any TIFF file can cause a loop even if less than 1MB in size, so it seems that the program is encountering an internal issue with the TIFF format. The loop quickly consumes all free memory and