Certain PDFs caused huge memory usage

Bug #70428 reported by Jan
4
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
poppler (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Opening certain PDFs with evince causes evince to allocate very much memory such that my system becomes nearly non-responding because it allocates the whole swap partition. System: Ubuntu Edgy. Please mail me if you want to get the problematic PDF. Probably similar to bug #51538 but evince is not crashing for me.

Revision history for this message
Pierre-Charles David (pcdavid) wrote :

I don't know if this is the same problem, but I have a similar issue with one particular PDF. Everything seems fine when viewing the first few pages, but arriving around page 20 evince suddenly allocates *all* my physical memory (1Gb) and cotinues to allocates more on the swap (albeit at a limited rate given the speed of the disk), making it difficult to stop it (the UI is unresponsive).

The particular PDF which causes the problem for me is available at http://citeseer.ist.psu.edu/21578.html (click on "PDF" in the list of cached versions of the document on the upper right corner of the page). The PDF itself seems harmless enough: about 750k, not many figures, and Acrobat Reader has no problem reading it.

This is under Edgy x86 (on a Core Duo), evince-0.6.1-0ubuntu1.

Revision history for this message
In , Sebastien Bacher (seb128) wrote :

That bug has been opened on
https://launchpad.net/distros/ubuntu/+source/evince/+bug/70428

"Opening certain PDFs with evince causes evince to allocate very much memory
such that my system becomes nearly non-responding because it allocates the whole
swap partition. System: Ubuntu Edgy. Please mail me if you want to get the
problematic PDF. Probably similar to bug #51538 but evince is not crashing for me.

I don't know if this is the same problem, but I have a similar issue with one
particular PDF. Everything seems fine when viewing the first few pages, but
arriving around page 20 evince suddenly allocates *all* my physical memory (1Gb)
and cotinues to allocates more on the swap (albeit at a limited rate given the
speed of the disk), making it difficult to stop it (the UI is unresponsive).

The particular PDF which causes the problem for me is available at
http://citeseer.ist.psu.edu/21578.html (click on "PDF" in the list of cached
versions of the document on the upper right corner of the page). The PDF itself
seems harmless enough: about 750k, not many figures, and Acrobat Reader has no
problem reading it.

This is under Edgy x86 (on a Core Duo), evince-0.6.1-0ubuntu1."

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. I've forwarded it upstream:https://bugs.freedesktop.org/show_bug.cgi?id=9443

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
Jan (jan23) wrote :

For me the bug does not happen anymore with Feisty but also with one of the latest Edgy updates.

Changed in poppler:
status: Confirmed → Fix Released
Revision history for this message
In , Sebastien Bacher (seb128) wrote :

another example triggering the bug on https://bugs.launchpad.net/bugs/111275

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

Can't reproduce closing as fixed, if you still can reproduce with a new poppler please reopen the bug.

Changed in poppler:
status: Confirmed → Fix Released
Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
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.