GNOME Bugzilla – Bug 784173
evince-thumbnailer hangs when postscript loop
Last modified: 2018-05-22 17:11:30 UTC
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.
Could you please provide a public testcase if possible?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/792.