evince-thumbnailer hangs when postscript loop
Submitted by duesee
Link to original bug (#784173)
Description
I experimented with some files and downloaded a PostScript running an infinite loop
%!
/Font /Helvetica-Bold findfont def
/FontSize 12 def
Font FontSize scalefont setfont
{newpath 0 0 moveto (Hello, World!) show showpage} loop
After experimenting, I deleted the file, but noticed that evince-thumbnailer tried to create a thumbnail out of the trash folder. This lead to high CPU load. My suggestion would be to implement a timeout when rendering previews.
Version: 3.24.x