Bug 1147619 - evince search leaks memory
Summary: evince search leaks memory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: evince
Version: 20
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 15:19 UTC by Jason Merrill
Modified: 2014-11-26 02:43 UTC (History)
1 user (show)

Fixed In Version: evince-3.10.3-2.fc20
Clone Of:
Environment:
Last Closed: 2014-11-25 15:29:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jason Merrill 2014-09-29 15:19:16 UTC
Description of problem:

Doing a search in evince increases its memory footprint significantly.  Performing another search does not release the memory for the previous search, so evince just keeps growing and growing until closed.

Version-Release number of selected component (if applicable):

evince-3.10.3-1.fc20.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Open some large PDF (I noticed this looking at the C++ standard)
2. ps u | grep evince
3. In evince, search for a word that occurs frequently
4. ps u | grep evince
5. Notice that evince is using much more memory
6. In evince, search for a word that never occcurs
7. ps u | grep evince
8. Notice that evince is using slightly more memory
9. In evince, search for the first word again
10. ps u | grep evince

Actual results:

The evince process grows with each search.

Expected results:

The process should not grow after the first search, since the subsequent searches are no larger.

Additional info:

Comment 1 Marek Kašík 2014-11-19 14:41:35 UTC
Hi,

I've backported a patch which fixes the leak. Thank you for reporting this.

Regards

Marek

Comment 2 Fedora Update System 2014-11-19 14:42:35 UTC
evince-3.10.3-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/evince-3.10.3-2.fc20

Comment 3 Fedora Update System 2014-11-20 23:00:52 UTC
Package evince-3.10.3-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing evince-3.10.3-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15454/evince-3.10.3-2.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-11-25 15:29:34 UTC
evince-3.10.3-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Jason Merrill 2014-11-26 02:43:02 UTC
Much better, thanks!


Note You need to log in before you can comment on or make changes to this bug.