After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 784173 - evince-thumbnailer hangs when postscript loop
evince-thumbnailer hangs when postscript loop
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: PS
3.24.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-24 17:51 UTC by duesee
Modified: 2018-05-22 17:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description duesee 2017-06-24 17:51:25 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.
Comment 1 André Klapper 2017-06-25 17:21:31 UTC
Could you please provide a public testcase if possible?
Comment 2 GNOME Infrastructure Team 2018-05-22 17:11:30 UTC
-- 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.