pdf is slow to load while processing images

Bug #565592 reported by Hao Wen
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Poppler
Confirmed
Medium
poppler (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: evince

When using the mouse to navigate through PDFs, it works great. But PgUp and PgDn sometimes doesn't work at all for some PDFs.

The PDF causing the problem was attached.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evince 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Sat Apr 17 16:39:49 2010
ExecutablePath: /usr/bin/evince
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evince

Revision history for this message
Hao Wen (wenhao) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

seems to be a memory leak on poppler which is causing the issue, will attach a valgrind log shortly.

affects: evince (Ubuntu) → poppler (Ubuntu)
Revision history for this message
In , Pedro Villavicencio (pedro) wrote :

this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/poppler/+bug/565592

"When using the mouse to navigate through PDFs, it works great. But PgUp and PgDn sometimes doesn't work at all for some PDFs"

pdf is:

http://launchpadlibrarian.net/44626731/Barton2007.pdf

attached is the valgrind log

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

I don't see any valgrind log

Revision history for this message
In , Pedro Villavicencio (pedro) wrote :

Created an attachment (id=36345)
valgrind log

attaching it again, sorry.

summary: - PgUp and PgDn key doesn't respond quickly
+ pdf is slow to load while processing images
Changed in poppler (Ubuntu):
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
 https://bugs.freedesktop.org/show_bug.cgi?id=28591

Changed in poppler (Ubuntu):
status: New → Triaged
Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

I'm not sure I understand what the problem is, but the document works perfectly for me.

Revision history for this message
In , Pedro Villavicencio (pedro) wrote :

The document is really slow to render on poppler 0.12.4 , is easy to reproduce if you scroll trough the pages and wait for those to be rendered. Thanks!.

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

Ok, I tried with evince and didn't notice the slowness thanks to the evince page cache :-P The problem is not cairo backend specific, since most of the time is spent in GfxCalRGBColorSpace::getRGB(). With commit 65c14073a3b1035ca5fe3bd6667abd315272841e I've reduced the time to render page 4 from more than 5 seconds to around 3 seconds, so it's still a bit slow.

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

I've added a new optimization that axed the time from 1200ms to 600ms on my machine

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

With current master page 4 takes 1,8 secs for me :-)

Changed in poppler:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
Revision history for this message
madbiologist (me-again) wrote :

Is this still an issue with Ubuntu 11.04 "Natty Narwhal"? What about with the Ubuntu 11.10 "Oneiric Ocelot" alpha 3 LiveCD updated to the latest versions of poppler (0.16.7-2ubuntu2) and evince (3.1.2-0ubuntu4)?

madbiologist (me-again)
Changed in poppler (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Gemini (wangjianking1990) wrote :

how to resolve cpu loading high(almost 98%) when render a pdf page at platform am3354 by poppler

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.