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 649987 - Evince hangs on certain PDFs after a couple of seconds
Evince hangs on certain PDFs after a couple of seconds
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: general
2.32.x
Other Linux
: Normal critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-11 19:04 UTC by Marcel Stimberg
Modified: 2012-09-15 06:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdb log of the hang (65.03 KB, text/plain)
2011-05-11 19:04 UTC, Marcel Stimberg
Details

Description Marcel Stimberg 2011-05-11 19:04:17 UTC
Created attachment 187656 [details]
gdb log of the hang

This has been reported in the Ubuntu bug tracker by jjinco33:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/780869

"When opening some PDF files Document Viewer hangs. When attempting to print some PDF files Document Viewer shows the status bar for printing progress but never completes."

I can confirm the issue (evince 2.32.0, Ubuntu 11.04) for the document the OP provided in the bug report:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/780869/+attachment/2123687/+files/A9RO0YZJd6.pdf

Attached you find a gdb log when attached to the hanging evince process. pdfinfo does not report anything special about the document:
pdfinfo A9RO0YZJd6.pdf 
Title:          A9RO0YZJd6
Producer:       pdftopdf
CreationDate:   Mon Apr 25 08:47:00 2011
ModDate:        Mon Apr 25 08:47:00 2011
Tagged:         no
Pages:          2
Encrypted:      no
Page size:      612 x 792 pts (letter)
File size:      359412 bytes
Optimized:      no
PDF version:    1.3
Comment 1 Carlos Garcia Campos 2011-05-23 15:34:46 UTC
I can't reproduce it.
Comment 2 José Aliste 2011-05-23 16:00:00 UTC
the deadlock seems to be in cairo, but I can't reproduce it anymore in evince 3.0. I could reproduce it some days ago... probably an update on my system. I can't reproduce with evince built from git.
Comment 3 Germán Poo-Caamaño 2012-09-15 05:50:36 UTC
I can reproduce it with evince 3.4.0 and poppler/cairo 0.18.4 on Ubuntu.

What I did was:
- Open the file
- Print to File (I chose PDF)

The progress almost reaches the end, but it gets frozen.
Comment 4 Germán Poo-Caamaño 2012-09-15 06:18:05 UTC
Closing it as NOTGNOME.  It seems a bug in poppler.  I filed the bug in Free Desktop with an updated backtrace (poppler-glib-demo from git master):
https://bugs.freedesktop.org/show_bug.cgi?id=54950