Invalid Preview

Bug #1629362 reported by David Finder on 2016-09-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Undecided
Unassigned

Bug Description

Malformed png files can make nautilus try to eat all my memory when it tries to preview them.

the png is here: http://www.filehosting.org/file/details/605623/xkcd1608.png

Version of Nautilus: 1:3.18.4.is.3.14.3-0ubuntu5
Version of Ubuntu : Ubuntu 16.04.1 LTS

What I expected to happen: When I open Nautilus, some sort of preview or a generic icon appears for the image.

What happens: Nautilus will take over more and more ram and swap until the entire system crashes, or nautilus is closed from the shell.

Note this behavior doesn't occur when the downloads folder is opened in any file dialog.

Additionally, similar behavior occurs when I try to open the file in GIMP, but GIMP has the dignity of crashing before consuming too much ram. Other ways of opening the file, like Firefox, simply report it as having malformed content.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers