Browsing a directory with a large png file can cause the system to almost hang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Files |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I browse through a folder containing a very large png file (92340x22572) pantheon-files tries to render a thumbnail of this file, causing a very large spike in ram usage and, if I have something like chrome opened with a few tabs, slows the system down to a point where it is almost frozen. (mouse moves once every few seconds)
In this case libgdk pixbuf crashes after a few seconds with the following message in dmesg:
segfault at 7fb36b8a560c ip 00007fb579dbbce0 sp 00007fb5733a3838 error 4 in libgdk_
If the system hasn't enough free ram (<6gb free) it takes much longer to recover and, untill libgdk pixbuf crashes, will barely respond to the user.
I guess this isn't a coding flaw in pantheon-files it self, but that does not matter to the user...
Perhaps it is a good idea to modify pantheon-files to ignore pictures (only for thumbnailing, of course) if the amount of pixels exceeds a certain limit?
Changed in pantheon-files: | |
status: | New → Confirmed |
tags: | added: image slow thumbnail |