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 735496 - High (100%) CPU usage / freeze when viewing malformed PDF
High (100%) CPU usage / freeze when viewing malformed PDF
Status: RESOLVED INCOMPLETE
Product: evince
Classification: Core
Component: PDF
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-27 06:17 UTC by Ignas V
Modified: 2018-02-23 07:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The culprit file (1.53 MB, application/pdf)
2014-08-27 06:17 UTC, Ignas V
Details

Description Ignas V 2014-08-27 06:17:01 UTC
Created attachment 284579 [details]
The culprit file

When I open the attached PDF[1], top shows evince consuming 100% of 2-3 CPU cores.

I believe the PDF is malformed somehow and therefore triggers this behaviour.

Some meta information about the pdf:

----
[~/Downloads]λ pdfinfo daniele-gorla.pdf 
Keywords:       
Creator:        PowerPoint
Producer:       Mac OS X 10.9.3 Quartz PDFContext
CreationDate:   Wed Jun 18 16:44:10 2014
ModDate:        Wed Jun 18 16:44:10 2014
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          21
Encrypted:      no
Page size:      720 x 540 pts
Page rot:       0
File size:      1606565 bytes
Optimized:      no
PDF version:    1.3
[~/Downloads]λ gs -o /dev/null -sDEVICE=nullpage daniele-gorla.pdf 
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
   **** Warning: considering '0000000000 XXXXX n' as a free entry.
   **** Warning: considering '0000000000 XXXXX n' as a free entry.
   **** Warning: considering '0000000000 XXXXX n' as a free entry.
<snip, nothing useful afterwards>
----




[1]: Can also be found at http://opct2014.cs.vu.nl/?post_type=document&p=279
Comment 1 Ignas V 2014-08-27 06:19:46 UTC
Sorry, forgot to include my system info:

----
[~/Downloads]λ evince --version
GNOME Document Viewer 3.12.1

[~/Downloads]λ dpkg --status evince
Package: evince
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 1145
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Architecture: amd64
Version: 3.12.1-1
Provides: djvu-viewer, pdf-viewer, postscript-viewer
Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.4), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.10.0), libevdocument3-4 (= 3.12.1-1), libevview3-3 (= 3.12.1-1), libgail-3-0 (>= 3.0.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.8.0), libnautilus-extension1a (>= 2.91), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libsecret-1-0 (>= 0.7), libxml2 (>= 2.6.27), zlib1g (>= 1:1.1.4), evince-common (>= 3.12), evince-common (<< 3.13), gnome-icon-theme-symbolic (>= 2.17.1), shared-mime-info

[~/Downloads]λ uname -a
Linux zebra 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux
----
Comment 2 Jose Manuel 2015-01-07 13:03:43 UTC
This issue might be related to what happens in both okular and evince with https://launchpadlibrarian.net/193465596/HotMobile12-final72.pdf (as discussed in https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1404393).

Bug https://bugzilla.gnome.org/show_bug.cgi?id=645796 could also be related.
Comment 3 Tobias Mueller 2017-08-17 11:16:57 UTC
Hm. I could view the file without any problems.  Do I have to do anything in particular to trigger the bug?
Comment 4 Jason Crain 2018-02-23 07:21:36 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!